- 积分
- 6
- 注册时间
- 2006-5-10
- 仿真币
-
- 最后登录
- 1970-1-1
|
刚刚做了一个简单的界面,试验GUI编译功能,界面用GUIDE做出来,只加了一个AXES控件,编译后产生如下信息,无法通过编译。请问各位牛人,这里的问题出在哪里呢?谢谢。
Build output( 2007-12-27 13:52:16).
mcc -F 'D:\MATLAB\R2007a\work\Untitled3.prj'
Compiler version: 4.7 (R2007b)
mcc -o 'Untitled3' -W 'WinMain:Untitled3' -d 'D:\MATLAB\R2007a\work\Untitled3\src' -T 'link:exe' -v 'D:\MATLAB\R2007a\work\untitled.m'
Processing D:\MATLAB\R2007b\toolbox\matlab\mcc.enc
Processing D:\MATLAB\R2007a\work\untitled.fig
Processing D:\MATLAB\R2007b\toolbox\matlab\guide\guideopts.fig
Processing D:\MATLAB\R2007b\toolbox\matlab\winfun\actxcontrolselect.fig
Processing D:\MATLAB\R2007b\toolbox\matlab\winfun\actxcontrolcreateproperty.fig
Processing include files...
2 item(s) added.
Processing directories installed with MCR...
The file D:\MATLAB\R2007a\work\Untitled3\src\mccExcludedFiles.log contains a list of functions excluded from the CTF archive.
1 item(s) added.
Generating MATLAB path for the compiled application...
Created 35 path items.
Begin validation of MEX files: Thu Dec 27 13:53:48 2007
Validating 'D:\MATLAB\R2007b\toolbox\compiler\deploy\deploywhich.mexw32'.
No conflicting M-file found.
Validating 'D:\MATLAB\R2007b\toolbox\compiler\deploy\readline.mexw32'.
No conflicting M-file found.
End validation of MEX files: Thu Dec 27 13:53:48 2007
Deleting 2 temporary MEX authorization files.
Removing: 'C:\DOCUME~1\Yetao\LOCALS~1\Temp\mathworks_tmp_0_4768.auth'.
Removing: 'C:\DOCUME~1\Yetao\LOCALS~1\Temp\mathworks_tmp_2224_4768.auth'.
Parsing file "D:\MATLAB\R2007a\work\untitled.m"
(Referenced from: "Compiler Command Line").
Parsing file "D:\MATLAB\R2007b\toolbox\compiler\deploy\deployprint.m"
(Referenced from: "Compiler Command Line").
Parsing file "D:\MATLAB\R2007b\toolbox\compiler\deploy\printdlg.m"
(Referenced from: "Compiler Command Line").
Generating file "D:\MATLAB\R2007a\work\Untitled3\src\Untitled3_main.c".
Generating file "D:\MATLAB\R2007a\work\Untitled3\src\readme.txt".
Generating file "D:\MATLAB\R2007a\work\Untitled3\src\Untitled3_mcc_component_data.c".
Executing command: mbuild -O -v -output "Untitled3" -I"D:\MATLAB\R2007a\work\Untitled3\src" "D:\MATLAB\R2007a\work\Untitled3\src\Untitled3_main.c" "D:\MATLAB\R2007a\work\Untitled3\src\Untitled3_mcc_component_data.c" -link exe -outdir "D:\MATLAB\R2007a\work\Untitled3\src"
This is mbuild Copyright 1984-2006 The MathWorks, Inc.
-> Default options filename found in C:\Documents and Settings\Yetao\Application Data\MathWorks\MATLAB\R2007b
----------------------------------------------------------------
-> Options file = C:\Documents and Settings\Yetao\Application Data\MathWorks\MATLAB\R2007b\compopts.bat
-> COMPILER = cl
-> Compiler flags:
COMPFLAGS = -c -Zp8 -G5 -W3 -nologo
OPTIMFLAGS = -O2 -DNDEBUG
DEBUGFLAGS = -Zi -Fd"D:\MATLAB\R2007a\work\Untitled3\src\Untitled3.pdb"
arguments = -ID:\MATLAB\R2007a\work\Untitled3\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:"D:\MATLAB\R2007b\extern\lib\win32\microsoft" /nologo mclmcrrt.lib
LINKFLAGSPOST =
Name directive = "/out:D:\MATLAB\R2007a\work\Untitled3\src\Untitled3.exe"
File link directive =
Lib. link directive =
Rsp file indicator = @
-> Resource Compiler = rc /fo "D:\MATLAB\R2007a\work\Untitled3\src\.res"
-> Resource Linker =
----------------------------------------------------------------
--> "cl -ID:\MATLAB\R2007a\work\Untitled3\src -c -Zp8 -G5 -W3 -nologo /FoC:\DOCUME~1\Yetao\LOCALS~1\Temp\mbuild_8E5F8A58-0362-4E81-02AF-0DC2BDC96BFA\Untitled3_main.obj -ID:\MATLAB\R2007b\extern\include -ID:\MATLAB\R2007b\simulink\include -O2 -DNDEBUG D:\MATLAB\R2007a\work\Untitled3\src\Untitled3_main.c"
Untitled3_main.c
--> "cl -ID:\MATLAB\R2007a\work\Untitled3\src -c -Zp8 -G5 -W3 -nologo /FoC:\DOCUME~1\Yetao\LOCALS~1\Temp\mbuild_8E5F8A58-0362-4E81-02AF-0DC2BDC96BFA\Untitled3_mcc_component_data.obj -ID:\MATLAB\R2007b\extern\include -ID:\MATLAB\R2007b\simulink\include -O2 -DNDEBUG D:\MATLAB\R2007a\work\Untitled3\src\Untitled3_mcc_component_data.c"
Untitled3_mcc_component_data.c
Contents of C:\DOCUME~1\Yetao\LOCALS~1\Temp\mbuild_8E5F8A58-0362-4E81-02AF-0DC2BDC96BFA\mbuild_tmp.rsp:
C:\DOCUME~1\Yetao\LOCALS~1\Temp\mbuild_8E5F8A58-0362-4E81-02AF-0DC2BDC96BFA\Untitled3_main.obj C:\DOCUME~1\Yetao\LOCALS~1\Temp\mbuild_8E5F8A58-0362-4E81-02AF-0DC2BDC96BFA\Untitled3_mcc_component_data.obj
--> "link "/out:D:\MATLAB\R2007a\work\Untitled3\src\Untitled3.exe" kernel32.lib user32.lib gdi32.lib advapi32.lib oleaut32.lib ole32.lib /LIBPATH:"D:\MATLAB\R2007b\extern\lib\win32\microsoft" /nologo mclmcrrt.lib @C:\DOCUME~1\Yetao\LOCALS~1\Temp\mbuild_8E5F8A58-0362-4E81-02AF-0DC2BDC96BFA\mbuild_tmp.rsp "
--> "if exist C:\DOCUME~1\Yetao\LOCALS~1\Temp\mbuild_8E5F8A58-0362-4E81-02AF-0DC2BDC96BFA\templib.def del C:\DOCUME~1\Yetao\LOCALS~1\Temp\mbuild_8E5F8A58-0362-4E81-02AF-0DC2BDC96BFA\templib.def"
'cmd' 2?ê??ú2??òía2??üá?£?ò22?ê??é??DDμ?3ìDò
?ò?ú′|àí???t?£
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. |
|