- 积分
- 76
- 注册时间
- 2012-10-18
- 最后登录
- 1970-1-1
- 打卡等级:无名新人
- 打卡总天数:3
- 打卡总奖励:24
|
如题 WIN764位系统 用AMESimR11+Matlab2012b+Visual Studio2010联仿的时候,出现问题:
32位MATLAB的时候,报错如下:
*************************************************
Executing C:\MATLAB\R2012b\bin\mex.bat AMESimulinkStandardInterface_.obj @AMESimulinkStandardInterface_.make.link_args @objfilelist.txt
AMESimulinkStandardInterface_.obj : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86'
C:\MATLAB\R2012B\BIN\MEX.PL: Error: Link of 'AMESimulinkStandardInterface_.mexw32' failed.
NMAKE : fatal error U1077: 'C:\AMESim\v1100\interfaces\simulink\win32\amemex.EXE' : return code '0x2'
Stop.
System build error!
64位MATLAB的时候,报错如下:
AMESimulinkStandardInterface_.mexw64 : fatal error LNK1169: one or more multiply defined symbols found
C:\MATLAB\R2012B\BIN\MEX.PL: Error: Link of 'AMESimulinkStandardInterface_.mexw64' failed.
NMAKE : fatal error U1077: 'C:\AMESim\v1100\interfaces\simulink\win32\amemex.EXE' : return code '0x2'
Stop.
System build error!
已经按照论坛里讲的,把amesim首选项编译器选择win64,复制vcvarsamd64.bat到amesim安装目录,可是依然还是不好使。
很着急的说!!!{:9_221:}有没有神一样的大神!谢谢啦
|
|