Leighton_buaa 发表于 2007-3-5 21:08

求助:mcc编译的问题

我采用命令 mcc -B sglcpp 'main_cloth进行编译时,matlab报错如下:

Warning: File: getline Line: 1 Column: 1
References to "GETLINE_ISCLOSED" will produce a run-time error because it is an undefined function or variable.
Warning: File: getline Line: 1 Column: 1
References to "GETLINE_Y" will produce a run-time error because it is an undefined function or variable.
Warning: File: getline Line: 1 Column: 1
References to "GETLINE_X" will produce a run-time error because it is an undefined function or variable.
Warning: File: getline Line: 1 Column: 1
References to "GETLINE_H2" will produce a run-time error because it is an undefined function or variable.
Warning: File: getline Line: 1 Column: 1
References to "GETLINE_H1" will produce a run-time error because it is an undefined function or variable.
Warning: File: getline Line: 1 Column: 1
References to "GETLINE_AX" will produce a run-time error because it is an undefined function or variable.
Warning: File: getline Line: 1 Column: 1
References to "GETLINE_FIG" will produce a run-time error because it is an undefined function or variable.
main_cloth.cpp
d:\MATLAB6p5p1\extern\include\cpp\stdexcpt.h(20) : fatal error C1083: 无法打开包含文件:“iostream.h”: No such file or directory

MBUILD.BAT: Error: Compile of 'main_cloth.cpp' failed.

??? Error using ==> mbuild
Unable to complete successfully

??? Error: An error occurred while shelling out to mbuild (error code = 1).
Unable to build executable (specify the -v option for more information).

Error in ==> D:\MATLAB6p5p1\toolbox\compiler\mcc.dll

请问d:\MATLAB6p5p1\extern\include\cpp\stdexcpt.h(20) : fatal error C1083: 无法打开包含文件:“iostream.h”: No such file or directory怎么解决阿

eight 发表于 2007-3-6 00:00


??? Error using ==> mbuild
Unable to complete successfully



已经给了你提示了,先把编译环境设置好
页: [1]
查看完整版本: 求助:mcc编译的问题