Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

MCR on Windows 7 64bit - help!

416 views
Skip to first unread message

Craig Hamilton

unread,
Oct 28, 2011, 5:09:32 PM10/28/11
to
I've compiled my program in Matlab 2011a Windows 64-bit:

mcc -C -m myprogram.m

It produced the exe and the ctf files just fine.

I have run the MCRinstaller.exe for this version of Matlab on the target machine.

When I try to run myprogram.exe on the target machine, I get the following error:

"Could not find version 7.15 of the MCR. Attenmpting to load mclmcrrt7_15.dll."

I have verified that this dll exists and it is in the location specified in the system path.

What is the trick to getting this to work? I've done all this on 32bit machines and it works fine.

Thanks for any help!

Craig Hamilton

ImageAnalyst

unread,
Oct 28, 2011, 6:18:12 PM10/28/11
to
Craig Hamilton:
Your target computer has not installed the MCR that you used to build
your app. Have them run MCRInstaller.exe. You said you did but
apparently you didn't, or at least not the right version of it. It
installs under the c:\Program Files\MATLAB folder. Look for a folder
that says something about the compiler.

Note: If your target computer is a 32 bit Win7 computer, then you'll
have to install 32 bit MATLAB and compile from there. You can have
both the 32 bit and the 64 bit version of MATLAB on your computer. I
do. You have to compile and deploy with the one that matches your
target computer. You said you had it work right on the 32 bit
computers so that leads me to think you have 32 bit MATLAB on your
computer, not the 64 bit version, unless you just didn't mention
that. Are you sure you didn't run 32 bit MATLAB on your 64 bit
computer and try to deploy that to a 64 bit computer? It think it
might be okay though, as long as you install the 32 bit compiler to c:
\Program Files (x86) folder instead of the c:\program Files folder.
ImageAnalyst

kinor

unread,
Jul 17, 2012, 12:50:22 PM7/17/12
to
Hi,

nothing more than an interesting note:
I just did the error: i compiled an app on 64 Bit and it started in the 32 bit mcr with surprising changes in the menues and other behaviour.


Best
Kinor

Yusef Jacobs Kuri

unread,
Oct 1, 2015, 7:41:16 PM10/1/15
to
Hi,

I am trying to run a program that was compiled with the 7.11 MCR version on a win 32 bit MATLAB. I have downloaded the 7.11 MCR on my 64 bit computer but the MATLAB I have installed on my computer is also 64 bit. Do I have to install a 32 bit MATLAB to run this program? Will it run even though I have a 64 bit computer?

Thank you,

Yusef Jacobs

adam.v....@gmail.com

unread,
Nov 3, 2015, 6:59:31 AM11/3/15
to
@ImageAnalyst:

> "Note: If your target computer is a 32 bit Win7 computer, then you'll
> have to install 32 bit MATLAB and compile from there."

- Not exactly correct. I have a 64-bit Windows computer and had same issue. Solved it by installing the 32-bit in Programs(x86). So I gather, if the app is build on a 32-bit Windows computer you have to use the 32-bit MRC.
0 new messages