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

2 ビュー (過去 30 日間)
Arnold Ju
Arnold Ju 2011 年 1 月 26 日
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.

回答 (1 件)

Walter Roberson
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.)

カテゴリ

Help Center および File ExchangeCall C++ from MATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by