我正在尝试使用matlab编译c ++,但出现此错误: 使用mex时出错
请问有什么建议吗?
错误:
MEX cannot find library 'gsl' specified with the -l option.
MEX looks for a file with one of the names:
gsl.lib
libgsl.lib
Please specify the path to this library with the -L option.
MatlabCode:
eval(['mex ' GSL_DIR '-O localonly_move.cpp IMG.cpp NormalD.cpp SP.cpp -
lgsl -lgslcblas -lm -lpthread']);