Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.
|
|
|
|
I have a ploblem on compiling my work. HELP ME!
Posted:
Jan 11, 2009 8:37 PM
|
|
When I run the deployment for compiling, a error is occured.
I don't know why it is happened. Anybody help me please...
This is a error message.(below)
==================================================== Build output( 2009-01-12 10:18:58).
mcc -F 'C:\Documents and Settings\petro330\My Documents\MATLAB\MyFirst.prj'
Compiler version: 4.9 (R2008b) Warning: Duplicate directory name: C:\Documents and Settings\petro330\My Documents\MATLAB. mcc -o 'MyFirst' -W 'WinMain:MyFirst' -d 'C:\MATLAB\MyFirst\src' -T 'link:exe' -v 'C:\Documents and Settings\petro330\My Documents\MATLAB\Project_1.m' Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2008b\toolbox\compiler\patch. Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2008b\toolbox\compiler\patch. Processing C:\Program Files\MATLAB\R2008b\toolbox\matlab\mcc.enc Processing C:\Program Files\MATLAB\R2008b\toolbox\fuzzy\mcc.enc Processing C:\Documents and Settings\petro330\My Documents\MATLAB\Project_1.fig Processing C:\Program Files\MATLAB\R2008b\toolbox\matlab\guide\guideopts.fig Processing C:\Program Files\MATLAB\R2008b\toolbox\matlab\winfun\actxcontrolselect.fig Processing C:\Program Files\MATLAB\R2008b\toolbox\matlab\winfun\actxcontrolcreateproperty.fig Processing include files... 2 item(s) added. Processing directories installed with MCR... The file C:\MATLAB\MyFirst\src\mccExcludedFiles.log contains a list of functions excluded from the CTF archive. 2 item(s) added. Generating MATLAB path for the compiled application... Created 40 path items. Begin validation of MEX files: Mon Jan 12 10:19:34 2009 End validation of MEX files: Mon Jan 12 10:19:34 2009 Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2008b\toolbox\compiler\patch. Deleting 0 temporary MEX authorization files. Parsing file "C:\Documents and Settings\petro330\My Documents\MATLAB\Project_1.m" (Referenced from: "Compiler Command Line"). Parsing file "C:\Program Files\MATLAB\R2008b\toolbox\compiler\deploy\deployprint.m" (Referenced from: "Compiler Command Line"). Parsing file "C:\Program Files\MATLAB\R2008b\toolbox\compiler\deploy\printdlg.m" (Referenced from: "Compiler Command Line"). Generating file "C:\MATLAB\MyFirst\src\MyFirst_main.c". Generating file "C:\MATLAB\MyFirst\src\MyFirst_delay_load.c". Generating file "C:\MATLAB\MyFirst\src\readme.txt". Generating file "C:\MATLAB\MyFirst\src\MyFirst_mcc_component_data.c". Executing command: mbuild -O -v -output "MyFirst" -I"C:\MATLAB\MyFirst\src" "C:\MATLAB\MyFirst\src\MyFirst_main.c" "C:\MATLAB\MyFirst\src\MyFirst_delay_load.c" "C:\MATLAB\MyFirst\src\MyFirst_mcc_component_data.c" -link exe -env MCR_DELAYLOAD=/delayload:mclmcrrt79.dll -env MCR_DELAYLIB=delayimp.lib -outdir "C:\MATLAB\MyFirst\src" This is mbuild Copyright 1984-2006 The MathWorks, Inc. -> Default options filename found in C:\Documents and Settings\petro330\Application Data\MathWorks\MATLAB\R2008b ---------------------------------------------------------------- -> Options file = C:\Documents and Settings\petro330\Application Data\MathWorks\MATLAB\R2008b\compopts.bat -> COMPILER = cl -> Compiler flags: COMPFLAGS = -c -Zp8 -G5 -W3 -nologo OPTIMFLAGS = -O2 -DNDEBUG DEBUGFLAGS = -Z7 arguments = -IC:\MATLAB\MYFIRST\SRC Name switch = /Fo -> Pre-linking commands = -> LINKER = link -> Link directives: LINKFLAGS = kernel32.lib user32.lib gdi32.lib advapi32.lib oleaut32.lib ole32.lib /LIBPATH:"C:\PROGRA~1\MATLAB\R2008b\extern\lib\win32\microsoft" /nologo mclmcrrt.lib delayimp.lib /delayload:mclmcrrt79.dll LINKFLAGSPOST = Name directive = "/out:C:\MATLAB\MYFIRST\SRC\MyFirst.exe" File link directive = Lib. link directive = Rsp file indicator = @ -> Resource Compiler = rc /fo "C:\MATLAB\MYFIRST\SRC\.res" -> Resource Linker = ---------------------------------------------------------------- --> cl -IC:\MATLAB\MYFIRST\SRC -c -Zp8 -G5 -W3 -nologo /Fo"C:\DOCUME~1\PETRO330\LOCAL SETTINGS\TEMP\MBUILD_RKZUUA\MyFirst_main.obj" -IC:\PROGRA~1\MATLAB\R2008b\extern\include -O2 -DNDEBUG C:\MATLAB\MYFIRST\SRC\MyFirst_main.c MyFirst_main.c --> cl -IC:\MATLAB\MYFIRST\SRC -c -Zp8 -G5 -W3 -nologo /Fo"C:\DOCUME~1\PETRO330\LOCAL SETTINGS\TEMP\MBUILD_RKZUUA\MyFirst_delay_load.obj" -IC:\PROGRA~1\MATLAB\R2008b\extern\include -O2 -DNDEBUG C:\MATLAB\MYFIRST\SRC\MyFirst_delay_load.c MyFirst_delay_load.c --> cl -IC:\MATLAB\MYFIRST\SRC -c -Zp8 -G5 -W3 -nologo /Fo"C:\DOCUME~1\PETRO330\LOCAL SETTINGS\TEMP\MBUILD_RKZUUA\MyFirst_mcc_component_data.obj" -IC:\PROGRA~1\MATLAB\R2008b\extern\include -O2 -DNDEBUG C:\MATLAB\MYFIRST\SRC\MyFirst_mcc_component_data.c MyFirst_mcc_component_data.c Contents of C:\DOCUME~1\PETRO330\LOCAL SETTINGS\TEMP\MBUILD_RKZUUA\mbuild_tmp.rsp: "C:\DOCUME~1\PETRO330\LOCAL SETTINGS\TEMP\MBUILD_RKZUUA\MyFirst_main.obj" "C:\DOCUME~1\PETRO330\LOCAL SETTINGS\TEMP\MBUILD_RKZUUA\MyFirst_delay_load.obj" "C:\DOCUME~1\PETRO330\LOCAL SETTINGS\TEMP\MBUILD_RKZUUA\MyFirst_mcc_component_data.obj" --> link "/out:C:\MATLAB\MYFIRST\SRC\MyFirst.exe" kernel32.lib user32.lib gdi32.lib advapi32.lib oleaut32.lib ole32.lib /LIBPATH:"C:\PROGRA~1\MATLAB\R2008b\extern\lib\win32\microsoft" /nologo mclmcrrt.lib delayimp.lib /delayload:mclmcrrt79.dll @C:\DOCUME~1\PETRO330\LOCAL SETTINGS\TEMP\MBUILD_RKZUUA\MBUILD_TMP.RSP Microsoft (R) Incremental Linker Version 7.10.3077 Copyright (C) Microsoft Corporation. All rights reserved. LINK : fatal error LNK1104: 'C:\DOCUME~1\PETRO330\LOCAL' ?????? ?? ?? ???????. C:\PROGRA~1\MATLAB\R2008B\BIN\MEX.PL: Error: Link of 'C:\MATLAB\MYFIRST\SRC\MyFirst.exe' failed. Error: An error occurred while shelling out to mbuild (error code = 2). Unable to build executable. ??? Error using ==> mcc Error executing mcc, return status = 1.
There were errors during compilation process. ====================================================
|
|
|
|