- 积分
- 1
- 精华
- 阅读权限
- 10
- 注册时间
- 2011-2-25
- 最后登录
- 1970-1-1
|
发表于 2011-2-25 11:07:07
|Error|
显示全部楼层
我用amesim与matlab做联合仿真的时候运行amesim中的例子,到编译的时候提示出现错误,我在仿真之前设置了:1amesim的环境变量,2matlab的环境变量,3两个软件的编译器用的是vc++,4工作目录也设置了,请问那位高手知道怎么回事,错误提示如下:Setting environment for using Microsoft Visual C++ tools.
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
cl.exe -c -DWIN32 -DAMESIMULINK -IC:\Program Files\MATLAB/extern/include -IC:\Program Files\MATLAB/simulink/include -IC:\AMESim\v800/interfaces/simulink -nologo -DWIN32 -MT -W3 -Od -D "_MBCS" -GX -Zm1500 -o AMESimulinkStandardInterface_.obj AMESimulinkStandardInterface_.c
Command line warning D4024 : unrecognized source file type 'Files\MATLAB/extern/include', object file assumed
Command line warning D4027 : source file 'Files\MATLAB/extern/include' ignored
Command line warning D4024 : unrecognized source file type 'Files\MATLAB/simulink/include', object file assumed
Command line warning D4027 : source file 'Files\MATLAB/simulink/include' ignored
AMESimulinkStandardInterface_.c
NMAKE : fatal error U1077: 'cl.exe' : return code '0x2'
Stop.
AMESimulinkStandardInterface_.c(868) : warning C4101: 'rdummy' : unreferenced local variable
AMESimulinkStandardInterface_.c(1026) : warning C4101: 'n' : unreferenced local variable
AMESimulinkStandardInterface_.c(1102) : warning C4101: 'i' : unreferenced local variable
AMESimulinkStandardInterface_.c(1433) : fatal error C1083: Cannot open include file: 'simstruc.h': No such file or directory
- For free edition of Microsoft Developer Studio, you may need to set the MSSDK environment variable to the installation directory of your MS Windows SDK
System build error! |
|