Using MEX with another library (PCL)
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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.
1 comentario
Respuestas (0)
Ver también
Categorías
Más información sobre Write C Functions Callable from MATLAB (MEX Files) en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!