Could not pass the compiling in VC++ 2010 with the mex made by R2010b
2 次查看(过去 30 天)
显示 更早的评论
I made my function m file into dll with the compiler: [2] Microsoft Visual C++ 2010 in C:\Program Files\Microsoft Visual Studio 10.0
Then make a console app project with VC++ 2010. Try to run the code, but got the error before finishing the compiling. LINK : fatal error LNK1104: cannot open file 'libmyadd2.lib mclmcrrt.lib mclmcr.lib'
Any ideas? I did add the additional linking path, include mclmcrrt.lib mclmcr.lib under the properties->link->input. It works well with VS 2008.
0 个评论
回答(1 个)
Walter Roberson
2011-1-26
It looks to me as if it thinks that is all one file name. Perhaps you need to add the files one-by-one to the project, or use some separator between them.
(I am not familiar with building projects with that software, sorry.)
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Call C++ from MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!