Using MEX with another library (PCL)
5 views (last 30 days)
Show older comments
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.
Answers (0)
See Also
Categories
Find more on Write C Functions Callable from MATLAB (MEX Files) 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!