Using MEX with another library (PCL)

1 次查看(过去 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 个)

类别

Help CenterFile Exchange 中查找有关 Write C Functions Callable from MATLAB (MEX Files) 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by