Using MEX with another library (PCL)

5 ビュー (過去 30 日間)
matlab user guy
matlab user guy 2012 年 9 月 17 日
編集済み: James Tursa 2016 年 9 月 16 日
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 件のコメント
Mufaddal Jhaveri
Mufaddal Jhaveri 2016 年 9 月 16 日
check mex compiler version.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeWrite 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