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!