请教大家Qt调用Matlab生成的dll的问题
我按照网上的写法把这些都添加进去了INCLUDEPATH+=D:/ProgramFiles/MATLAB/R2010b/extern/includeINCLUDEPATH...
我按照网上的写法把这些都添加进去了
INCLUDEPATH += D:/Program Files/MATLAB/R2010b/extern/include
INCLUDEPATH += D:/Program Files/MATLAB/R2010b/extern/lib/win64/microsoft
LIBS += -L D:/Program Files/MATLAB/R2010b/extern/lib/win64/microsoft -llibmat
LIBS += -L D:/Program Files/MATLAB/R2010b/extern/lib/win64/microsoft -llibeng
LIBS += -L D:/Program Files/MATLAB/R2010b/extern/lib/win64/microsoft -llibmx
LIBS += -L D:/Program Files/MATLAB/R2010b/extern/lib/win64/microsoft -lmclmcr
LIBS += -L D:/Program Files/MATLAB/R2010b/extern/lib/win64/microsoft -lmclmcrrt
然后生成的lib cpp h dll 文件都添加进去了,为啥还会出现这些错误:mclmcrrt.h: No such file or directory
呢?路径什么的前面都包含进去了啊。 展开
INCLUDEPATH += D:/Program Files/MATLAB/R2010b/extern/include
INCLUDEPATH += D:/Program Files/MATLAB/R2010b/extern/lib/win64/microsoft
LIBS += -L D:/Program Files/MATLAB/R2010b/extern/lib/win64/microsoft -llibmat
LIBS += -L D:/Program Files/MATLAB/R2010b/extern/lib/win64/microsoft -llibeng
LIBS += -L D:/Program Files/MATLAB/R2010b/extern/lib/win64/microsoft -llibmx
LIBS += -L D:/Program Files/MATLAB/R2010b/extern/lib/win64/microsoft -lmclmcr
LIBS += -L D:/Program Files/MATLAB/R2010b/extern/lib/win64/microsoft -lmclmcrrt
然后生成的lib cpp h dll 文件都添加进去了,为啥还会出现这些错误:mclmcrrt.h: No such file or directory
呢?路径什么的前面都包含进去了啊。 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询