声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 1534|回复: 1

[混合编程] 求助:mcc编译的问题

[复制链接]
发表于 2007-3-5 21:08 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?我要加入

x
我采用命令 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怎么解决阿
回复
分享到:

使用道具 举报

发表于 2007-3-6 00:00 | 显示全部楼层

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


已经给了你提示了,先把编译环境设置好
您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

QQ|小黑屋|Archiver|手机版|联系我们|声振论坛

GMT+8, 2024-11-14 06:10 , Processed in 0.060222 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表