搜索
查看: 5936|回复: 3

求助:AMEsim仿真进行不下去

[复制链接]
  • 打卡等级:无名新人
  • 打卡总天数:17
  • 打卡总奖励:48
发表于 2017-3-18 21:42:35 | 显示全部楼层 |阅读模式
求助大侠:
AMESim进行到最后一步,点击“Simulation mode”时,跳出如下错误窗口,怎么解决?十分感谢!

C:\Program Files (x86)\LMS\LMS Imagine.Lab\v1500\Amesim\AMEcompile.bat initiates a 32 bit compilation
Setting environment for using Microsoft Visual Studio 2005 x86 tools.


Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
Copyright (C) Microsoft Corporation.  All rights reserved.


        "C:\Program Files (x86)\LMS\LMS Imagine.Lab\v1500\Amesim\interfaces\user_cosim\win32\ame_user_cosim_dyncompile" cl.exe -c -DAMEUSERCOSIM -DSTANDALONESIMULATOR -I"C:\Program Files (x86)\LMS\LMS Imagine.Lab\v1500\Amesim\interfaces\user_cosim" -I"C:\Program Files (x86)\LMS\LMS Imagine.Lab\v1500\Amesim\interfaces\standalonesimulator" -I"C:\Program Files (x86)\LMS\LMS Imagine.Lab\v1500\Amesim\interfaces" -I"C:\Program Files (x86)\LMS\LMS Imagine.Lab\v1500\Amesim\lib" -nologo -DWIN32 -MT -W3 -Od -D "_MBCS" -EHsc -wd4996 -bigobj -o hydraulic_test_01_.obj hydraulic_test_01_.c

cl : Command line warning D9035 : option 'o' has been deprecated and will be removed in a future release

hydraulic_test_01_.c

hydraulic_test_01_.c(40) : fatal error C1083: Cannot open include file: 'assert.h': No such file or directory

Executing cl.exe "-c" "-DAMEUSERCOSIM" "-DSTANDALONESIMULATOR" "-IC:\Program Files (x86)\LMS\LMS Imagine.Lab\v1500\Amesim\interfaces\user_cosim" "-IC:\Program Files (x86)\LMS\LMS Imagine.Lab\v1500\Amesim\interfaces\standalonesimulator" "-IC:\Program Files (x86)\LMS\LMS Imagine.Lab\v1500\Amesim\interfaces" "-IC:\Program Files (x86)\LMS\LMS Imagine.Lab\v1500\Amesim\lib" "-nologo" "-DWIN32" "-MT" "-W3" "-Od" "-D" "_MBCS" "-EHsc" "-wd4996" "-bigobj" "-o" "hydraulic_test_01_.obj" "hydraulic_test_01_.c"

NMAKE : fatal error U1077: '"C:\Program Files (x86)\LMS\LMS Imagine.Lab\v1500\Amesim\interfaces\user_cosim\win32\ame_user_cosim_dyncompile.EXE"' : return code '0x2'
Stop.

\LMS\LMS was unexpected at this time.


test.rar

61.23 KB, 下载次数: 6

售价: 5 金钱  [记录]  [购买]

求助:AMEsim仿真进行不下去

  • 打卡等级:无名新人
  • 打卡总天数:17
  • 打卡总奖励:48
 楼主| 发表于 2017-3-18 21:43:45 | 显示全部楼层
附件的格式是AMESim R15版本
回复 支持 反对

使用道具 举报

  • 打卡等级:无名新人
  • 打卡总天数:17
  • 打卡总奖励:48
 楼主| 发表于 2017-3-18 23:08:08 | 显示全部楼层
谢谢各位了,已经自己解决了,把模拟编译器改成GNU GCC就可以了。
回复 支持 反对

使用道具 举报

发表于 2017-3-19 18:10:04 | 显示全部楼层
这么诡异的问题,我一直用默认的编译器。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则