I’ve been trying to find work for many years and trying to figure out how to get 32-bit OpenCV that works with OS X Lion, but can just find the 64-bit version.
So, I have the following questions:
OpenCV libraries come in 32-bit or 64-bit architecture, is this true?
How to get 32-bit OpenCV working on Lion? I tried the following methods: - Install OpenCV via MacPorts: no, MacPorts installs the 64-bit version .BI removed OpenCV and MacPorts.
- Install OpenCV 2.4.1 via Homebrew using the following command:
brew install OpenCV --build32
but it looks like they are also 64-bit. Removed OpenCV and Homebrew.
- Install OpenCV 2.4.1 yourself using standard unix makefiles. No, they still look like 64-bit.
I wrote “they look like 64-bit” because I need to replace OpenC with an Xcode project made under OS X Snow Leopard targeting a 32-bit Mac, and I always get a ton of errors, such as:
ld: warning: ignoring file / usr / local / Cellar / opencv / 2.4.1 / lib / libopencv_calib3d.2.4.1.dylib, the file was created for an unsupported file format that is not architecture related (i386)
therefore, I believe that OpenCV stuff is 64-bit. If I make the project work in 64-bit mode, it rubs, but does not work properly and gets stuck.
Is there a standard way to check if my OpenCV libraries are 64-bit or 32-bit?
Where can I get 32-bit OpenCV?
source
share