From: Emma_Linnéa Jansson on
Hi!

I'm trying to create an exe file from my GUI, so that the GUI can be run on computers not having MATLAB. I'm using MATLAB 7.9.0(R2009b) and the Compiler version is 4.11(R2009b).

I receive the following error message when I have written "mcc -v -m emma_gui":

-------------------------------------------------------------------
/Applications/MATLAB/MATLAB_R2009b.app/bin/mbuild: line 1749: gcc-4.0: command not found

mbuild: compile of ' "emma_gui_main.c"' failed.

Error: An error occurred while shelling out to mbuild (error code = 1).
Unable to build executable.
??? Error using ==> mcc
Error executing mcc, return status = 1 (0x1).
----------------------------------------------------------------------

Can anyone please help me?

Thanks in advance!
/Emma
From: Steven Lord on

"Emma_Linnéa Jansson" <emma.l.jansson(a)gmail.com> wrote in message
news:hmfrp3$k2j$1(a)fred.mathworks.com...
> Hi!
>
> I'm trying to create an exe file from my GUI, so that the GUI can be run
> on computers not having MATLAB. I'm using MATLAB 7.9.0(R2009b) and the
> Compiler version is 4.11(R2009b).
>
> I receive the following error message when I have written "mcc -v -m
> emma_gui":
>
> -------------------------------------------------------------------
> /Applications/MATLAB/MATLAB_R2009b.app/bin/mbuild: line 1749: gcc-4.0:
> command not found
>
> mbuild: compile of ' "emma_gui_main.c"' failed.
>
> Error: An error occurred while shelling out to mbuild (error code = 1).
> Unable to build executable.
> ??? Error using ==> mcc
> Error executing mcc, return status = 1 (0x1).
> ----------------------------------------------------------------------
>
> Can anyone please help me?

If this document doesn't solve the problem, contact Technical Support.

http://www.mathworks.com/support/solutions/en/data/1-BH89KJ/?solution=1-BH89KJ

--
Steve Lord
slord(a)mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ


From: us on
"Emma_Linnéa Jansson" <emma.l.jansson(a)gmail.com> wrote in message <hmfrp3$k2j$1(a)fred.mathworks.com>...
> Hi!
>
> I'm trying to create an exe file from my GUI, so that the GUI can be run on computers not having MATLAB. I'm using MATLAB 7.9.0(R2009b) and the Compiler version is 4.11(R2009b).
>
> I receive the following error message when I have written "mcc -v -m emma_gui":
>
> -------------------------------------------------------------------
> /Applications/MATLAB/MATLAB_R2009b.app/bin/mbuild: line 1749: gcc-4.0: command not found
>
> mbuild: compile of ' "emma_gui_main.c"' failed.
>
> Error: An error occurred while shelling out to mbuild (error code = 1).
> Unable to build executable.
> ??? Error using ==> mcc
> Error executing mcc, return status = 1 (0x1).
> ----------------------------------------------------------------------
>
> Can anyone please help me?
>
> Thanks in advance!
> /Emma

a hint:

http://www.mathworks.com/support/solutions/en/data/1-BH89KJ/?solution=1-BH89KJ

us