Closed shaunharker closed 7 years ago
Thanks for the installation. When I run "g++ -std=c++1y .cpp $(pkg-config --libs opencv lapack openblas) -ldlib", I got "MacdeMacBook-Pro:FaceSwap mac$ g++ -std=c++1y .cpp $(pkg-config --libs opencv lapack openblas) -ldlib In file included from FaceDetectorAndTracker.cpp:1: ./FaceDetectorAndTracker.h:3:10: fatal error: 'opencv2/core/core.hpp' file not found
^
1 error generated. In file included from FaceSwapper.cpp:1: ./FaceSwapper.h:3:10: fatal error: 'opencv2/imgproc/imgproc.hpp' file not found
^
1 error generated. main.cpp:1:10: fatal error: 'opencv2/highgui/highgui.hpp' file not found
^
1 error generated."
What should I do? Can I get any advice? Thanks again.
You should make sure you have OpenCV installed before running that command.
macOS installation
Here was a build on macOS Sierra 10.12.6. Dependencies were installed using the Homebrew package manager.