Could not pass the compiling in VC++ 2010 with the mex made by R2010b

1 view (last 30 days)
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.

Answers (1)

Walter Roberson
Walter Roberson on 26 Jan 2011
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.)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!