TadasBaltrusaitis / OpenFace

OpenFace – a state-of-the art tool intended for facial landmark detection, head pose estimation, facial action unit recognition, and eye-gaze estimation.
Other
6.71k stars 1.82k forks source link

MacOS Monterrey Bug on 'make' step-- versioning with OpenCV? #1033

Open jacobbrawer opened 1 year ago

jacobbrawer commented 1 year ago

Hi! I'm getting an error on the 'make' step of the instruction. I have a 2019 MacBook Pro running MacOS Monterrey 12.6.1

In file included from /usr/local/include/dlib/image_processing/../matrix/matrix_la.h:9: /usr/local/include/dlib/image_processing/../geometry/../matrix/../optimization/optimization_line_search.h:218:31: error: expected unqualified-id if (temp == 0 || std::fpclassify(temp) == FP_SUBNORMAL) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/math.h:127:5: note: expanded from macro 'fpclassify' ( sizeof(x) == sizeof(float) ? __fpclassifyf((float)(x)) \ ^ 1 error generated.

I get the above error after running the cmake step. I've tried different variation of the cmake step, and have gotten the same error no matter what I try.

The issue seems to be the same one as this thread: https://github.com/TadasBaltrusaitis/OpenFace/issues/607

607

Although this thread was from 2018, and so I'm unsure if there are compatibility issues that are exisitng in the current version. Any help in troubleshooting would be much appreciated.