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
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 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!