ci2cv / face-analysis-sdk

Facial detection, landmark tracking and expression transfer library for Windows, Linux and Mac
face.ci2cv.net
Other
416 stars 209 forks source link

OS X support adjustments #1

Open tuscland opened 11 years ago

tuscland commented 11 years ago

Hello,

Here are a couple of adjustments for build the SDK under OS X with OpenCV-2.4.6.1. Note that for OpenCV I had to use the following options:

cmake -G "Unix Makefiles" \
    -DCMAKE_INSTALL_PREFIX=/usr/local/opencv/ \
    -DCMAKE_OSX_ARCHITECTURES=x86_64 \
    -DBUILD_PERF_TESTS=OFF \
      -DBUILD_TESTS=OFF \
      -DBUILD_WITH_DEBUG_INFO=OFF \
      -DBUILD_opencv_nonfree=OFF \
      -DBUILD_opencv_ocl=OFF \
    -DCMAKE_BUILD_TYPE=Release \
      -DENABLE_AVX=ON \
      -DENABLE_FAST_MATH=ON \
      -DENABLE_SSE=ON \
      -DENABLE_SSE2=ON \
      -DENABLE_SSE3=ON \
      -DENABLE_SSE41=ON \
      -DENABLE_SSE42=ON \
      -DENABLE_SSSE3=ON \
      ..

Best, Cam

linas commented 10 years ago

Oh, hey, I asked somewhere else about why you had not made a pull request for your fixes. I now see that you in fact did make one .. sorry for the confusion.

linas commented 8 years ago

I've merged this and various other branches into https://github.com/iCogLabs/face-analysis-sdk/