Compiling mex-files from Visual Studio - cannot open input
1 view (last 30 days)
Show older comments
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 Comment
Kaustubha Govind
on 10 Jul 2013
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?
Answers (0)
See Also
Categories
Find more on MATLAB Compiler in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!