MATLAB >> ML Compiler: "cannot open input file mclmcrrt.lib

by matteo.dt » Tue, 13 Jun 2006 18:35:21 GMT

I'm using the last ML version (7.2, 2006a release) with the last
Compiler release (4.4).

When I build with mcc or mbuild my ML derived exe files, the
compilation fails with the following error message:
- Cannot open input file mclmcrrt.lib
The strange thing is that if I restart ML the compilation goes ok. But
after a little work with ML if I try to compile it gives off hat error.

On the Mathworks suopport site I haven't found anything, any help?

Thank you,

MATLAB >> ML Compiler: "cannot open input file mclmcrrt.lib

by Francesca Perino » Wed, 14 Jun 2006 04:57:40 GMT

Hello Matteo
what are your operating system and the C/C++ compiler that you're using?


MATLAB >> ML Compiler: "cannot open input file mclmcrrt.lib

by matteo.dt » Wed, 14 Jun 2006 17:39:07 GMT

I'm on a PC with winXP and I'm using Microsoft Visual C/C++ version 7.1
(Visual Studio .NET 2003)

MATLAB >> ML Compiler: "cannot open input file mclmcrrt.lib

by Francesca Perino » Fri, 16 Jun 2006 17:58:06 GMT

Hello Matteo
could you try to compile using the lcc compiler that comes with MATLAB ?

Let me know

MATLAB >> ML Compiler: "cannot open input file mclmcrrt.lib

by matteo.dt » Wed, 21 Jun 2006 16:49:43 GMT

Yes, I've tried but lcc gives off an error compiling the header jni.h:

Error \sorgenti\ML7.2\dll\JNI_ML_Bridge.c:
c:\Programmi\Java\jdk1.5.0_06\include\jni.h: 1927 unrecognized
Error \sorgenti\ML7.2\dll\JNI_ML_Bridge.c:
c:\Programmi\Java\jdk1.5.0_06\include\jni.h: 1930 unrecognized
Error \sorgenti\ML7.2\dll\JNI_ML_Bridge.c:
c:\Programmi\Java\jdk1.5.0_06\include\jni.h: 1933 unrecognized

I need jni.h because I'm compiling a java - matlab bridge dll, as
explained in the MatLab site.

Ciao, sei italiana anche tu, vero?

MATLAB >> ML Compiler: "cannot open input file mclmcrrt.lib

by matteo.dt » Wed, 21 Jun 2006 18:26:17 GMT

I have used also "Microsoft Visual C/C++ version 6.0 compiler" and it
gives me the same error.

Similar Threads

1. regarding mclmcrrt.lib - MATLAB

2. linking mclmcrrt.lib 32/64 bit incompatibilities?

I have a linking problem with using mclmcrrt in Visual Studio 2008.  I have a 64-bit version of Matlab (R2009a), and am creating a c++ program that will call compiled .m files (using mcc). 

As far as I can tell, Matlab comes _only_ the 64 bit version of mclmcrrt.lib (...../Matlab/R2009a/extern/lib/win64/microsoft)

I am compiling a 32-bit c++ program that needs to use mclmcrrt.  However, I am getting linking errors for any Matlab functions that I try to call in this form:

error LNK2001: unresolved external symbol _mclInitializeApplication_proxy

Is this because my .lib file is 64-bit but I am compiling to a 32-bit application? is there some other cause problem?  Thanks! 

3. fatal error C1083: Cannot open include file: 'complex.h' - MATLAB

4. cannot open saved .fig file

When I try to open an saved .fig file by dragging it into matlab workspace, I got the following error:

Error using ===> open

Output argument "valid" (and maybe others) not assigned during call to "C:\Program Files\MATLAB71\toolbox\matlab\datatypes\isprop.m (isprop)".

Anybody has any idea?


5. Cannot open fig files - MATLAB

6. cannot open/read .mat file

I have received a .mat file that I am trying to open using the 'load'
command. I have made several attempts and I keep getting this error

Number of columns on line 2 of ASCII file myfile
must be the same as previous lines.

Is there a way to get around this?

7. Error: cannot open shared object file: - MATLAB

8. Cannot open R14 file on R13


I have been using the Matlab R14 beta for a while and I have just
found a pretty big problem with it.

I made GUI with Matlab 6 and later I modified it with Matlab 7 and
now I can't open it anymore on Matlab 6. I really need to be able to
open it with Matlab 6 as it is part of a compiled program and I
cannot compile with Matlab beta.

I have found after researching on the Mathworks forum that R14
compresses MAT files by default when saving them. The error I get on
Matlab 6 is the following:

Error in ==> C:\MATLAB6p5p1\toolbox\matlab\iofun\hgload.m
On line 45 ==> fileVars = load(filename,'-mat');

So it is tryting to open a MAT file. This makes me thing that my
problem is related to that. I know that you can force Matlab 7 to not
compress when saving but I don't know how to force GUIDE to do this.

So, is there some way to "recover" my mofidied .fig file on Matlab 6?

Thank you in advance!