如何在Windows 10上编译mex?

时间:2019-01-27 12:01:41

标签: c++ matlab

我正在尝试使用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']);

0 个答案:

没有答案