Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Undefined symbols for architecture x86_64 ,While using c and c++ code in my Project

I tried to implement the Face landmark detection code,I added the all dependency header files for my Project.When i build the project it shows the errors as:

Undefined symbols for architecture x86_64: "flandmark_free(model_struct)", referenced from: _main in lmd.o "flandmark_init(char const)", referenced from: _main in lmd.o "flandmark_detect(_IplImage, int, model_struct, double, int)", referenced from: detectFaceInImage(_IplImage, _IplImage, CvHaarClassifierCascade, model_struct, int, double) in lmd.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: [dist/Debug/GNU-MacOSX/landmarkdetection] Error 1 make[1]: [.build-conf] Error 2 make: ** [.build-impl] Error 2](http://)

Any one can give ideas to resolve the issue?

Undefined symbols for architecture x86_64 ,While using c and c++ code in my Project

I tried to implement the Face landmark detection code,I added the all dependency header files for my Project.When i build the project it shows the errors as:

Undefined symbols for architecture x86_64: "flandmark_free(model_struct)", referenced from: _main in lmd.o "flandmark_init(char const)", referenced from: _main in lmd.o "flandmark_detect(_IplImage, int, model_struct, double, int)", referenced from: detectFaceInImage(_IplImage, _IplImage, CvHaarClassifierCascade, model_struct, int, double) in lmd.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: [dist/Debug/GNU-MacOSX/landmarkdetection] Error 1 make[1]: [.build-conf] Error 2 make: ** [.build-impl] Error 2](http://)

Any one can give ideas to resolve the issue?