check mex compiler version.
Using MEX with another library (PCL)
5 次查看(过去 30 天)
显示 更早的评论
I'm trying to use MEX with the point cloud library. I have a lot more -L's than in the following script, but I've just shortened it to show that I have the -L for the path and file that comes up in the error. Here is the script:
mex selectPoints.cpp -I"C:\Program Files\PCL 1.5.1\3rdParty\Eigen\include"...
-I"C:\Program Files\PCL 1.5.1\include\pcl-1.5"...
-I"C:\Program Files\PCL 1.5.1\3rdParty\Boost\include"...
-I"C:\Program Files\PCL 1.5.1\3rdParty\Flann\include"...
-I"C:\Program Files\PCL 1.5.1\3rdParty\Qhull\include"...
-I"C:\Program Files\PCL 1.5.1\3rdParty\VTK\include\vtk-5.8"...
-L"C:\Program Files\PCL 1.5.1\3rdParty\Boost\lib"
The following error comes up:
LINK : fatal error LNK1104: cannot open file 'libboost_thread-vc100-mt-1_47.lib'
C:\PROGRA~1\MATLAB\BIN\MEX.PL: Error: Link of 'selectPoints.mexw64' failed.
Any ideas?
Thank you.
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!