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

cmake -D CMAKE_BUILD_TYPE=RELEASE .. Error #1051

Open mohit2b opened 11 months ago

mohit2b commented 11 months ago

Describe the bug I am trying to build in Mac OS using the following commands mkdir build cd build but it throwing an error at this command cmake -D CMAKE_BUILD_TYPE=RELEASE ..

Following error came

CMake Warning at /opt/homebrew/Cellar/cmake/3.26.3/share/cmake/Modules/Platform/Darwin-Initialize.cmake:303 (message): Ignoring CMAKE_OSX_SYSROOT value:

/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk

because the directory does not exist. Call Stack (most recent call first): /opt/homebrew/Cellar/cmake/3.26.3/share/cmake/Modules/CMakeSystemSpecificInitialize.cmake:21 (include) CMakeLists.txt:4 (project)

-- Could not find OpenBLAS include, defaulting to using OpenFace vended ones -- Could not find OpenBLAS lib. Turning OpenBLAS_FOUND off CMake Error at cmake/modules/FindOpenBLAS.cmake:103 (MESSAGE): Could not find OpenBLAS Call Stack (most recent call first): CMakeLists.txt:16 (find_package)

ThemisEfth commented 6 months ago

Hi, did you find a solution?

I think it is because Homebrew moved installations from /usr/localto to /opt/homebrew...

mohit2b commented 6 months ago

@ThemisEfth I was unable to install OpenFace by above method, so I shifted to OpenFace with Docker.

ThemisEfth commented 6 months ago

Thanks for letting me know!

mohit2b commented 6 months ago

Thanks for letting me know!

@ThemisEfth In my reply "I was unable to install OpenFace by above method, so I shifted to OpenFace with Docker.", by "above method" I mean the method which I posted on Jul 29 (see top most post in this issue https://github.com/TadasBaltrusaitis/OpenFace/issues/1051#issue-1826965393) and not the one that you suggested.