lh45586 发表于 2018-2-20 19:02:39

amesim和simulink联合仿真编译出现问题

amesim和simulink联合仿真编译出现问题,代码如下:
D:\LMS\AMESim\v1400\AMEcompile.bat initiates a 64 bit compilation
Error in script usage. The correct usage is:
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\\bin\amd64\vcvars64.bat"
or
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\\bin\amd64\vcvars64.bat" store
Microsoft (R) Program Maintenance Utility Version 14.00.23026.0
Copyright (C) Microsoft Corporation. All rights reserved.
"D:\LMS\Amesim\v1400\interfaces\simulink\win32\amemexcompile" cl.exe -c -DWIN32 -DAMESIMULINK -I"D:\MATLAB\R2016a/extern/include" -I"D:\MATLAB\R2016a/simulink/include" -I"D:\LMS\Amesim\v1400/interfaces/simulink" -I"D:\LMS\Amesim\v1400/interfaces" -I"D:\LMS\Amesim\v1400\lib" -nologo -DWIN32 -MT -W3 -Od -D "_MBCS" -EHsc -wd4996 -bigobj -o AMESimulinkStandardInterface_.obj AMESimulinkStandardInterface_.c
.
Executing cl.exe "-c" "-DWIN32" "-DAMESIMULINK" "-ID:\MATLAB\R2016a/extern/include" "-ID:\MATLAB\R2016a/simulink/include" "-ID:\LMS\Amesim\v1400/interfaces/simulink" "-ID:\LMS\Amesim\v1400/interfaces" "-ID:\LMS\Amesim\v1400\lib" "-nologo" "-DWIN32" "-MT" "-W3" "-Od" "-D" "_MBCS" "-EHsc" "-wd4996" "-bigobj" "-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(47): fatal error C1083: Cannot open include file: 'assert.h': No such file or directory
NMAKE : fatal error U1077: 'D:\LMS\Amesim\v1400\interfaces\simulink\win32\amemexcompile.EXE' : return code '0x2'
Stop.
System build error!

页: [1]
查看完整版本: amesim和simulink联合仿真编译出现问题