LINK : fatal error LNK1104: cannot open file

  • Follow


Matlab 2010b crashed on me when I was trying to compile a mex file using Visual C++ 2010 Express edition.  Now when I try to compile I get the above error unless I move the code to a local directory from a network location on my machine which has no spaces in the path (I used C:\temp).  Searching on the web all I came up with was this:
http://www.mathworks.com/support/solutions/en/data/1-9DJ5R3/index.html?product=ML&solution=1-9DJ5R3
I work in a large institution and I don't think our computer support people want me to mess around with the TEMP and TMP enviromental variables (although I don't know what it would hurt).  Does anyone know what the underlying problem is, because the code all compiles and runs perfectly well on another machine, just not my own.  Thanks in advance for any advice.
0
Reply David 1/11/2011 7:10:22 PM

"David Hansen" wrote in message <igi9uu$fbv$1@fred.mathworks.com>...
> Matlab 2010b crashed on me when I was trying to compile a mex file using Visual C++ 2010 Express edition.  Now when I try to compile I get the above error unless I move the code to a local directory from a network location on my machine which has no spaces in the path (I used C:\temp).  Searching on the web all I came up with was this:
> http://www.mathworks.com/support/solutions/en/data/1-9DJ5R3/index.html?product=ML&solution=1-9DJ5R3
> I work in a large institution and I don't think our computer support people want me to mess around with the TEMP and TMP enviromental variables (although I don't know what it would hurt).  Does anyone know what the underlying problem is, because the code all compiles and runs perfectly well on another machine, just not my own.  Thanks in advance for any advice.

I had similar problem, but I've solved it by running the MATLAB as an administrator user. Now, space in the path is no problem. So, I am not sure what it is but it seems to me that it's more like an access-policy issue. 
0
Reply Babak 1/21/2011 10:42:04 AM


1 Replies
855 Views

(page loaded in 0.048 seconds)

Similiar Articles:













7/21/2012 5:34:53 PM


Reply: