I want to find facial feature points using flandmark library. But I get this coimpilation error.
Show older comments
I want to find facial feature points using flandmark library. But I get this coimpilation error.
As instructed i tried to compile flandmark_compilemex.m
After compiling it shows the following error.
Warning: MEX could not find the library "flandmark_static" specified with -l option. MEX looked for a file with one of the names: flandmark_static.lib libflandmark_static.lib MEX looked for the library in the following directories: C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\LIB\amd64 C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\ATLMFC\LIB\amd64 C:\Program Files (x86)\Windows Kits\8.0\lib\win8\um\x64 C:\Program Files\MATLAB\R2013b\extern\lib\win64 C:\Program Files (x86)\Microsoft Visual Studio\VC98\mfc\lib C:\Program Files (x86)\Microsoft Visual Studio\VC98\lib C:\Program Files\MATLAB\R2013b\extern\lib\win64\microsoft ../bin7/libflandmark/Release
Creating library C:\Users\Revathy\AppData\Local\Temp\mex_dVbrg8\templib.x and object C:\Users\Revathy\AppData\Local\Temp\mex_dVbrg8\templib.exp flandmark_detector_mex.obj : error LNK2019: unresolved external symbol "int __cdecl flandmark_detect(struct _IplImage *,int *,struct model_struct *,double *,int *)" (?flandmark_detect@@YAHPEAU_IplImage@@PEAHPEAUmodel_struct@@PEAN1@Z) referenced in function mexFunction C:\OpenCV2.3\build\bin\flandmark-master\flandmark-master\matlab_toolbox\mex\flandmark_detector.mexw64 : fatal error LNK1120: 1 unresolved externals
C:\PROGRA~1\MATLAB\R2013B\BIN\MEX.PL: Error: Link of 'C:\OpenCV2.3\build\bin\flandmark-master\flandmark-master\matlab_toolbox\mex\flandmark_detector.mexw64' failed.
Unable to complete successfully.
Error in flandmark_compilemex (line 79) eval(['mex -O -largeArrayDims ./mex/flandmark_detector_mex.cpp -I../libflandmark/' include libflandmark cvlibs ' -output ../matlab_toolbox/mex/flandmark_detector']);
I don't know how to compile the library files "flandmark_static" in matlab. Anyone please suggest me step by step installation of the library.
Accepted Answer
More Answers (0)
Categories
Find more on Communications Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!