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

2 visualizaciones (últimos 30 días)
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.

Respuestas (1)

Walter Roberson
Walter Roberson el 26 de En. de 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.)

Categorías

Más información sobre Call C++ from MATLAB en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by