error while compiling using mex in matalb
1 回表示 (過去 30 日間)
古いコメントを表示
I am using some instruction provided by code developer to compile the library. However, I am getting the error as shown in the figure. Does anybody has any idea about this? It is my first time to use mex.
mex LDFLAGS="\$LDFLAGS -Wl,-rpath,\." nativeborg.cpp libborg.so
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/162040/image.png)
0 件のコメント
回答 (1 件)
Walter Roberson
2017 年 3 月 23 日
The comma is treated as end of command. Try
mex('LDDFLAGS="$LDFLAGS -Wl,-rpath,."', 'nativeborg.cpp', 'libborg.so')
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で MATLAB Compiler についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!