-
Notifications
You must be signed in to change notification settings - Fork 95
Open
Description
In an effort to update OpenCV binaries, I thought we could document the recipe used to build OpenCV per platform and offload later updates to others via pull requests (the actual Cinder shim seems pretty thin and unlikely to require much modification version-to-version).
OS X
After installing CMake via Homebrew, I built for OS X via:
% cd opencv-2.4.8
% mkdir build && cd build
% cmake .. -DCMAKE_INSTALL_PREFIX:PATH=/tmp/purgatorio -DCMAKE_OSX_DEPLOYMENT_TARGET= -DCMAKE_OSX_ARCHITECTURES="i386;x86_64" -DBUILD_SHARED_LIBS=OFF -DWITH_CUDA=OFF -DBUILD_TESTS=OFF -DBUILD_PERF_TESTS=OFF
% make -j8
% make install
The includes, OS X binaries and samples are updated in my fork's opencv-2.4.8 branch. In a quick run of each sample, they all seem to run as expected.
iOS
It isn't entirely clear which settings need to be tweaked to compile targeting the iOS SDKs for arm7, arm7s, arm64 and i386 (for the simulator). Any ideas?
MSW
Not being particularly Windows-savvy, could someone contribute a build recipe and binaries for x64 and x86?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels