Info
This question is closed. Reopen it to edit or answer.
facing a problem with mexfile
1 view (last 30 days)
Show older comments
I am working on object tracking from cluttered backgound using superpixel segmentation. I am working in Matla 2013a and visual studio2010. The segmentation is coded as a cpp file SLIC_mex.cpp inside which another c file is invoked called as SLIC.cpp. Whenever i try to compile SLIC_mex.cpp the following error occurs.
Creating library C:\Users\SREELA~1\AppData\Local\Temp\mex_HoLUo1\templib.x and object C:\Users\SREELA~1\AppData\Local\Temp\mex_HoLUo1\templib.exp
SLIC_mex.obj : error LNK2019: unresolved external symbol "public: virtual __cdecl SLIC::~SLIC(void)" (??1SLIC@@UEAA@XZ) referenced in function mexFunction
SLIC_mex.obj : error LNK2019: unresolved external symbol "public: void __cdecl SLIC::DoSuperpixelSegmentation_ForGivenNumberOfSuperpixels(unsigned int const *,int,int,int * &,int &,int const &,double const &)" (?DoSuperpixelSegmentation_ForGivenNumberOfSuperpixels@SLIC@@QEAAXPEBIHHAEAPEAHAEAHAEBHAEBN@Z) referenced in function mexFunction
SLIC_mex.obj : error LNK2019: unresolved external symbol "public: __cdecl SLIC::SLIC(void)" (??0SLIC@@QEAA@XZ) referenced in function mexFunction
SLIC_mex.mexw64 : fatal error LNK1120: 3 unresolved externals
F:\MATALA~1\BIN\MEX.PL: Error: Link of 'SLIC_mex.mexw64' failed.
Warning: Function C:\Users\sreelakshmipc\Documents\MATLAB\log.m has the same name as a
MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.
> In mex_helper>runCmdInShell at 86
In mex_helper at 53
In mex at 204
Error using mex (line 206)
Unable to complete successfully.
0 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!