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 http://www.mathworks.co.uk/support/solutions/en/data/1-4EO2YE/index.html?product=SL&solution=1-4EO2YE 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.
Regards
Etienne
1 个评论
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?
回答(0 个)
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!