MATLAB Answers

Compiling mex-files from Visual Studio - cannot open input

1 view (last 30 days)
Etienne  Coetzee
Etienne Coetzee on 8 Jul 2013
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 Comment

Kaustubha Govind
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?

Sign in to comment.

Answers (0)


Translated by