Compiling mex-files from Visual Studio - cannot open input

조회 수: 2(최근 30일)
Hi Folks
I am trying to compile a mex file from VS2008, and then get the following error:
Error 1 fatal error LNK1181: cannot open input file 'libmx.lib;libmex.lib' LINK
I have followed this example and am pretty sure everything is the same. I am really not sure why this would happen but I have had this problem on two different machines. Is there a working example with the source files available?
Any help would be appreciated.
  댓글 수: 1
Kaustubha Govind
Kaustubha Govind 2013년 7월 10일
I'm not much of a Visual Studio user, but it looks like you have not configured the Linker -> Input -> Additional Dependencies properly. Do you need the semicolon between the two file names?

댓글을 달려면 로그인하십시오.



Find more on MATLAB Compiler in Help Center and File Exchange


Community Treasure Hunt

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

Start Hunting!

Translated by