r*******y 发帖数: 290 | 1 现在有一个matlab生成的dll, lib, h, cpp文件
试图在VS里调用,我把lib文件加进了linker的input dependencies
把h文件加入了header list,把dll加入了solution,老是编译报错:
fatal error C1083: Cannot open include file: 'mclmcrrt.h': No such file or
directory
另外当我加入:
#using "xxx.dll"
[DllImport ("xxx.dll")]
void foo(int, mwArray& arr);
也老是报错:
fatal error C1113: #using failed on "xxx.dll"
请教大虾该如何解决,我装了VS2008 express,但没装Matlab2008,dll是外部获得的
多谢!!! |
|