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.86k stars 1.84k forks source link

Error with finding package configuration file #975

Closed biancacap closed 3 years ago

biancacap commented 3 years ago

When I run cmake -D CMAKE_BUILD_TYPE=RELEASE . . I get a message saying: CMake Error at CMakeLists.txt:16 (find_package): By not providing "FindOpenBLAS.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "OpenBLAS", but CMake did not find one.

Could not find a package configuration file provided by "OpenBLAS" with any of the following names:

OpenBLASConfig.cmake
openblas-config.cmake

Add the installation prefix of "OpenBLAS" to CMAKE_PREFIX_PATH or set "OpenBLAS_DIR" to a directory containing one of the above files. If "OpenBLAS" provides a separate development package or SDK, be sure it has been installed.

How do I resolve this? Thanks!

murthy95 commented 3 years ago

@biancacap How did you resolve this ?

biancacap commented 3 years ago

@murthy95 From what I remember, it was this: git clone https://url/for/openface.git openface cd openface mkdir build cd build cmake -D… ..

(the url being the url for this code)

Let me know if that helps!

murthy95 commented 3 years ago

@biancacap It worked after I pass the absolute path. Thank you.