Re: Error when using mcc command
- From: "Peter Webb" <pwebb@xxxxxxxxxxxxx>
- Date: Wed, 4 Feb 2009 10:45:25 -0500
OK, now try running the mbuild command explicitly, both from within MATLAB
and at a DOS prompt. Note that
In MATLAB:
cd C:\Program Files\WiiLAB\WiiLAB_Matlab\test progs
mbuild -O -v -output test test_main.c test_mcc_component_data.c -link
exe
At DOS prompt:
C:/> cd "C:\Program Files\WiiLAB\WiiLAB_Matlab\test progs"
C:/> mbuild -O -v -output "test" "test_main.c"
"test_mcc_component_data.c" -link exe
I think the problem is that DOS can't find MBUILD on your path. The error
messages generated by the two tests above should help confirm (or disprove)
that.
"Marshall Hudson" <hudsonmc@xxxxxxxxxxxxxxx> wrote in message
news:gma9nq$2ht$1@xxxxxxxxxxxxxxxxxxxxx
Absolutely. Here is the verbose output. Thank you very much for the quick
reply.
Compiler version: 4.8 (R2008a)mcc -mv test
Processing C:\Program Files\MATLAB\R2008a\toolbox\matlab\mcc.enc
Processing include files...
2 item(s) added.
Processing directories installed with MCR...
The file mccExcludedFiles.log contains a list of functions excluded from
the CTF archive.
1 item(s) added.
Generating MATLAB path for the compiled application...
Created 38 path items.
Begin validation of MEX files: Tue Feb 03 15:31:43 2009
Validating 'C:\Program
Files\MATLAB\R2008a\toolbox\compiler\deploy\clc.mexw32'.
Found M-file 'C:\Program
Files\MATLAB\R2008a\toolbox\compiler\deploy\clc.m'.
MEX file
'C:\Program Files\MATLAB\R2008a\toolbox\compiler\deploy\clc.mexw32'
is valid. It contains 'mexFunction.'
Validating 'C:\Program
Files\MATLAB\R2008a\toolbox\compiler\deploy\deploywhich.mexw32'.
No conflicting M-file found.
Validating 'C:\Program
Files\MATLAB\R2008a\toolbox\compiler\deploy\readline.mexw32'.
No conflicting M-file found.
End validation of MEX files: Tue Feb 03 15:31:44 2009
Deleting 3 temporary MEX authorization files.
Removing:
'C:\DOCUME~1\hudsonmc\LOCALS~1\Temp\mathworks_tmp_8768_16372_8768.auth'.
Removing:
'C:\DOCUME~1\hudsonmc\LOCALS~1\Temp\mathworks_tmp_8768_13800_8768.auth'.
Removing:
'C:\DOCUME~1\hudsonmc\LOCALS~1\Temp\mathworks_tmp_8768_9813_8768.auth'.
Parsing file "C:\Program Files\WiiLAB\WiiLAB_Matlab\test progs\test.m"
(Referenced from: "Compiler Command Line").
Parsing file "C:\Program
Files\MATLAB\R2008a\toolbox\compiler\deploy\deployprint.m"
(Referenced from: "Compiler Command Line").
Parsing file "C:\Program
Files\MATLAB\R2008a\toolbox\compiler\deploy\printdlg.m"
(Referenced from: "Compiler Command Line").
Generating file "test_main.c".
Generating file "C:\Program Files\WiiLAB\WiiLAB_Matlab\test
progs\readme.txt".
Generating file "test_mcc_component_data.c".
Executing command: mbuild -O -v -output "test" "test_main.c"
"test_mcc_component_data.c" -link exe
'mbuild' is not recognized as an internal or external command,
operable program or batch file.
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.
.
- Follow-Ups:
- Re: Error when using mcc command
- From: Marshall Hudson
- Re: Error when using mcc command
- References:
- Error when using mcc command
- From: Marshall Hudson
- Re: Error when using mcc command
- From: Peter Webb
- Re: Error when using mcc command
- From: Marshall Hudson
- Error when using mcc command
- Prev by Date: huh... looking for my ANSwer...
- Next by Date: Re: Send keystrokes from matlab
- Previous by thread: Re: Error when using mcc command
- Next by thread: Re: Error when using mcc command
- Index(es):
Relevant Pages
|