查看单个帖子
旧 2010-01-23, 14:50   #1
ldtigerhill
初级会员
 
注册日期: 2010-01-23
帖子: 2
声望力: 0
ldtigerhill 正向着好的方向发展
微笑 求助 MATLAB Biuder EX 运行错误帮助

mcc -F 'C:\Users\hp1\Documents\MATLAB\Untitled9.prj'

Warning: Duplicate directory name: C:\Users\hp1\Documents\MATLAB.
mcc -W 'excel:Untitled9,Untitled9,1.0' -d 'C:\Users\hp1\Documents\MATLAB\Untitled9\src' -T 'link:lib' -b -v 'class{Untitled9:C:\Users\hp1\Documents\MATLAB\createfigure.m}'
Compiler version: 4.10 (R2009a)
Processing include files...
2 item(s) added.
Processing directories installed with MCR...
The file C:\Users\hp1\Documents\MATLAB\Untitled9\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: Sat Jan 23 13:39:23 2010
End validation of MEX files: Sat Jan 23 13:39:23 2010
Parsing file "C:\Users\hp1\Documents\MATLAB\createfigure.m"
(Referenced from: "Compiler Command Line").
Parsing file "C:\Program Files\MATLAB\R2009a\toolbox\compiler\deploy\deployprint.m"
(Referenced from: "Compiler Command Line").
Parsing file "C:\Program Files\MATLAB\R2009a\toolbox\compiler\deploy\printdlg.m"
(Referenced from: "Compiler Command Line").
Deleting 0 temporary MEX authorization files.
Generating file "C:\Users\hp1\Documents\MATLAB\Untitled9\src\Untitled9_idl.idl".
Generating file "C:\Users\hp1\Documents\MATLAB\Untitled9\src\Untitled9_com.hpp".
Generating file "C:\Users\hp1\Documents\MATLAB\Untitled9\src\Untitled9_com.cpp".
Generating file "C:\Users\hp1\Documents\MATLAB\Untitled9\src\Untitled9_dll.cpp".
Generating file "C:\Users\hp1\Documents\MATLAB\Untitled9\src\Untitled9.def".
Generating file "C:\Users\hp1\Documents\MATLAB\Untitled9\src\Untitled9.rc".
Generating file "C:\Users\hp1\Documents\MATLAB\Untitled9\src\Untitled9.bas".
Generating file "C:\Users\hp1\Documents\MATLAB\Untitled9\src\readme.txt".
Generating file "C:\Users\hp1\Documents\MATLAB\Untitled9\src\Untitled9_mcc_component_data.c".
Contents of temporary response file 'C:\Users\hp1\AppData\Local\Temp\mathworks_tmp_2976_10936':
......................
' -O -v -output "Untitled9_1_0" -I"C:\Users\hp1\Documents\MATLAB\Untitled9\src" "mwcomtypes.idl" "C:\Users\hp1\Documents\MATLAB\Untitled9\src\Untitled9_idl.idl" "mwcomtypes.idl" "mwcomtypes.idl" "mclxlmain.lib" "C:\Users\hp1\Documents\MATLAB\Untitled9\src\Untitled9_com.cpp" "mwcomtypes.idl" "C:\Users\hp1\Documents\MATLAB\Untitled9\src\Untitled9_dll.cpp" "mwcomtypes.idl" "C:\Users\hp1\Documents\MATLAB\Untitled9\src\Untitled9.def" "mwcomtypes.idl" "C:\Users\hp1\Documents\MATLAB\Untitled9\src\Untitled9.rc" "C:\Users\hp1\Documents\MATLAB\Untitled9\src\Untitled9_mcc_component_data.c" -link dll -outdir "C:\Users\hp1\Documents\MATLAB\Untitled9\src" -regsvr'
......................
Executing command: mbuild "@C:\Users\hp1\AppData\Local\Temp\mathworks_tmp_2976_10936"
This is mbuild Copyright 1984-2006 The MathWorks, Inc.

-> Default options filename found in C:\Users\hp1\AppData\Roaming\MathWorks\MATLAB\R2009a
----------------------------------------------------------------
-> Options file = C:\Users\hp1\AppData\Roaming\MathWorks\MATLAB\R2009a\compopts.bat
-> COMPILER = lcc
-> Compiler flags:
COMPFLAGS = -c -Zp8 -I"C:\PROGRA~1\MATLAB\R2009a\sys\lcc\include" -noregistrylookup
OPTIMFLAGS = -DNDEBUG
DEBUGFLAGS = -g4
arguments = -IC:\USERS\HP1\DOCUME~1\MATLAB\UN1BC9~1\SRC
Name switch = -Fo
-> Pre-linking commands =
-> LINKER = lcclnk
-> Link directives:
LINKFLAGS = -dll "C:\USERS\HP1\APPDATA\LOCAL\TEMP\MBUILD~1\templib.def" -tmpdir "C:\USERS\HP1\DOCUME~1\MATLAB\UN1BC9~1\SRC\." -L"C:\PROGRA~1\MATLAB\R2009a\sys\lcc\lib" -libpath "C:\PROGRA~1\MATLAB\R2009a\extern\lib\win32\lcc" C:\USERS\HP1\APPDATA\LOCAL\TEMP\MBUILD~1\templib_stub.obj
LINKFLAGSPOST = mclmcrrt.lib
Name directive = -o "C:\USERS\HP1\DOCUME~1\MATLAB\UN1BC9~1\SRC\Untitled9_1_0.dll"
File link directive =
Lib. link directive =
Rsp file indicator = @
-> Resource Compiler =
-> Resource Linker =
----------------------------------------------------------------


C:\PROGRA~1\MATLAB\R2009A\BIN\MEX.PL: Error: The chosen compiler does not support building COM objects.
Please see the MATLAB Builder documentation for the latest list of supported compilers.

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



There were errors during compilation process.
ldtigerhill 当前离线   回复时引用此帖