123aaa 发表于 2014-3-16 00:50:29

amesim与simulink联合仿真编译时出现错误

AMEcompile120.bat does a 64 bit setup
Setting environment for using Microsoft Visual Studio 2010 x64 tools.
Setting environment for using Microsoft Visual Studio 2010 x64 cross tools.
Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.
cl.exe -c -DWIN32 -DAMESIMULINK -I"D:\MATLAB\R2012a/extern/include" -I"D:\MATLAB\R2012a/simulink/include" -I"d:\AMESim\v1200/interfaces/simulink" -I"d:\AMESim\v1200/interfaces" -I"d:\AMESim\v1200\lib" -nologo -DWIN32 -MT -W3 -Od -D "_MBCS" -EHsc -wd4996 -o AMESimulinkCosimulation_.obj AMESimulinkCosimulation_.c
cl : Command line warning D9035 : option 'o' has been deprecated and will be removed in a future release
AMESimulinkCosimulation_.c
AMESimulinkCosimulation_.c(1692) : warning C4101: 'i' : unreferenced local variable
AMESimulinkCosimulation_.c(1829) : warning C4101: 'i' : unreferenced local variable
AMESimulinkCosimulation_.c(1854) : warning C4101: 'i' : unreferenced local variable
d:\AMESim\v1200/interfaces/simulink\ame_simulink_cosim.c(78) : fatal error C1083: Cannot open include file: 'simstruc.h': No such file or directory
NMAKE : fatal error U1077: '"d:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\x86_amd64\cl.exe"' : return code '0x2'
Stop.
System build error!
我的电脑win7 64位,软件amesim r12,matlab2012b,不知道是什么原因,希望大家一起商量一下。

zoujiuli 发表于 2014-3-22 09:55:30

兄弟,我用的是amesim12.0,matlab2011a,vs2010,电脑是64位win7旗舰版,也遇到这个问题,你的解决了吗?
AMEcompile120.bat does a 32 bit setup
Setting environment for using Microsoft Visual Studio 2010 x86 tools.
Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.
cl.exe -c -DWIN32 -DAMESIMULINK -I"D:\Program Files\MATLAB\2011a/extern/include" -I"D:\Program Files\MATLAB\2011a/simulink/include" -I"d:\AMESim\v1200/interfaces/simulink" -I"d:\AMESim\v1200/interfaces" -I"d:\AMESim\v1200\lib" -nologo -DWIN32 -MT -W3 -Od -D "_MBCS" -EHsc -wd4996 -o AMESimulinkStandardInterface_.obj AMESimulinkStandardInterface_.c
cl : Command line warning D9035 : option 'o' has been deprecated and will be removed in a future release
AMESimulinkStandardInterface_.c
AMESimulinkStandardInterface_.c(822) : fatal error C1083: Cannot open include file: 'simstruc.h': No such file or directory
NMAKE : fatal error U1077: '"d:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\cl.exe"' : return code '0x2'
Stop.
System build error!

zoujiuli 发表于 2014-3-22 09:57:27

Path D:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT;D:\Program Files (x86)\Microsoft Visual Studio\Common\MSDev98\Bin;D:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools;D:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin;D:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\1033;D:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\Deployment;D:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\ProjectComponents;D:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\Templates;D:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\VDT
系统变量:Path D:\Program Files (x86)\Microsoft Visual Studio 10.0;D:\AMESim\v1200;D:\AMESim\v1200\win32;D:\AMESim\v1200\sys\mingw32\bin;D:\AMESim\v1200\sys\mpich\mpd\bin;D:\AMESim\v1200\sys\cgns;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;D:\Program Files\MATLAB\R2011a\bin\win64;C:\WINDOWS\system32;C:\WINNT

风云无泪 发表于 2014-5-15 20:42:17

zoujiuli 发表于 2014-3-22 09:57
Path D:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT;D:\Program Files (x86)\Microsoft Vi ...

同样是编译出现了错误,64win7系统,之前有听人说AMEsim和matlab联合仿真不能在win7 64位系统实现,不知道是不是真的,网上的教程说的都是XP系统的,希望有大神来解说一下win7系统的联合仿真

aicunjin 发表于 2014-5-22 02:08:46

可能是软件版本不符合,我也是这个问题!

zjw139 发表于 2015-1-8 21:32:25

我的是这个样子,有什么好办法没有?

AMEcompile110.bat does a 32 bit setup
'nmake' ²»ÊÇÄÚ²¿»òÍⲿÃüÁҲ²»ÊÇ¿ÉÔËÐеijÌÐò
»òÅú´¦ÀíÎļþ¡£
System build error!

zjw139 发表于 2015-1-8 22:23:52

zjw139 发表于 2015-1-8 21:32
我的是这个样子,有什么好办法没有?

AMEcompile110.bat does a 32 bit setup


已解决 将VC++换为GNU GCC 就可以了

lgz2868 发表于 2015-1-9 20:20:50

AMESim-MATLAB联合仿真详细设置https://www.iyeya.cn/forum.php?mod=viewthread&tid=23501&extra=

hu1874966 发表于 2015-5-19 14:50:22

c++你看看是不是有问题没有

zjf_1103 发表于 2015-9-24 21:47:56

风云无泪 发表于 2014-5-15 20:42
同样是编译出现了错误,64win7系统,之前有听人说AMEsim和matlab联合仿真不能在win7 64位系统实现,不知 ...

win7 64位系统完全可以联合仿真的,我的就是win7 64位系统,能正常仿真
页: [1] 2
查看完整版本: amesim与simulink联合仿真编译时出现错误