seetaface / SeetaFaceEngine

Other
4.6k stars 1.78k forks source link

On Mac I get this Error! #86

Open anthonyyuan opened 8 years ago

anthonyyuan commented 8 years ago

Undefined symbols for architecture x8664: "seeta::FaceAlignment::PointDetectLandmarks(seeta::ImageData, seeta::FaceInfo, seeta::FacialLandmark)", referenced from: _main in test_faceverification.cpp.o "seeta::FaceAlignment::FaceAlignment(char const)", referenced from: _main in test_face_verification.cpp.o "seeta::FaceAlignment::~FaceAlignment()", referenced from: _main in test_face_verification.cpp.o "seeta::FaceDetection::SetWindowStep(int, int)", referenced from: _main in test_face_verification.cpp.o "seeta::FaceDetection::SetMinFaceSize(int)", referenced from: _main in test_face_verification.cpp.o "seeta::FaceDetection::SetScoreThresh(float)", referenced from: _main in test_face_verification.cpp.o "seeta::FaceDetection::SetImagePyramidScaleFactor(float)", referenced from: _main in test_face_verification.cpp.o "seeta::FaceDetection::Detect(seeta::ImageData const&)", referenced from: _main in test_faceverification.cpp.o "seeta::FaceDetection::FaceDetection(char const)", referenced from: _main in test_face_verification.cpp.o "seeta::FaceDetection::~FaceDetection()", referenced from: _main in test_face_verification.cpp.o ld: symbol(s) not found for architecture x8664 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: ** [src/test/./test_face_verification.bin] Error 1 make[1]: * [src/test/CMakeFiles/./test_face_verification.bin.dir/all] Error 2 make: * [all] Error 2

willard-yuan commented 8 years ago

@anthonyyuan For Xcode project of SeetaFaceEngine, you can refer to XcodePro.

humutong commented 7 years ago

helllo anthonyyuan, when i build the FaceIndetification i got the same error with you. have you solved it yet? do you add the two header files named face_detection.h and face_alignment.h into the include directory? @anthonyyuan @jiezhang @seeta-wushuzhe @seetaface