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.92k stars 1.85k forks source link

CMake Error on Mac OS #782

Open Mariog75 opened 5 years ago

Mariog75 commented 5 years ago

I am trying to run the cmake -D CMAKE_BUILD_TYPE=RELEASE .. command but get the following error:

CMake Error in lib/local/LandmarkDetector/CMakeLists.txt: Imported target "dlib::dlib" includes non-existent path

"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include"

in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:

CMake Error in lib/local/LandmarkDetector/CMakeLists.txt: Imported target "dlib::dlib" includes non-existent path

"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include"

in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:

CMake Error in lib/local/LandmarkDetector/CMakeLists.txt: Imported target "dlib::dlib" includes non-existent path

"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include"

in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:

CMake Error in lib/local/FaceAnalyser/CMakeLists.txt: Imported target "dlib::dlib" includes non-existent path

"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include"

in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:

CMake Error in lib/local/FaceAnalyser/CMakeLists.txt: Imported target "dlib::dlib" includes non-existent path

"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include"

in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:

CMake Error in lib/local/FaceAnalyser/CMakeLists.txt: Imported target "dlib::dlib" includes non-existent path

"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include"

in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:

CMake Error in lib/local/GazeAnalyser/CMakeLists.txt: Imported target "dlib::dlib" includes non-existent path

"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include"

in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:

CMake Error in lib/local/GazeAnalyser/CMakeLists.txt: Imported target "dlib::dlib" includes non-existent path

"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include"

in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:

CMake Error in lib/local/GazeAnalyser/CMakeLists.txt: Imported target "dlib::dlib" includes non-existent path

"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include"

in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:

CMake Error in lib/local/Utilities/CMakeLists.txt: Imported target "dlib::dlib" includes non-existent path

"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include"

in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:

CMake Error in lib/local/Utilities/CMakeLists.txt: Imported target "dlib::dlib" includes non-existent path

"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include"

in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:

CMake Error in lib/local/Utilities/CMakeLists.txt: Imported target "dlib::dlib" includes non-existent path

"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include"

in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:

Generating done

I only have the paths "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include"

and

"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include"

TadasBaltrusaitis commented 5 years ago

Someone else seems to have had this issue before - https://github.com/TadasBaltrusaitis/OpenFace/issues/634

I'm not sure if they managed to resolve it though.

One super hacky way to resolve this (at least for debugging purposes) would be to create the missing paths temporarily.