Why am I unable to recompile the boot code for the Embedded Coder for Motorola MPC555?

2 次查看(过去 30 天)
Why am I unable to recompile the boot code for the Embedded Coder for Motorola MPC555?
When I try to compile my boot code, I see the errors:
MATLAB\bin\win32\mbuild.bat @mbuild.rsp MATLAB\toolbox\rtw\targets\mpc555dk\common\canlib\can_common
\general\canlibCCP.c MATLAB\toolbox\rtw\targets\mpc555dk\common\canlib\can_common\general\ccp_data.e
xports
canlibCCP.c
MATLAB\extern\include\tmwtypes.h(35) : fatal error C1001: INTERNAL COMPILER ERROR
(compiler file 'msc1.cpp', line 1794)
Please choose the Technical Support command on the Visual C++
Help menu, or open the Technical Support help file for more information
MBUILD.BAT: Error: Compile of 'MATLAB\toolbox\rtw\targets\mpc555dk\common\canlib\can_common\genera
l\canlibCCP.c' failed.

采纳的回答

MathWorks Support Team
These errors are caused by using a different version of Microsoft Visual C than mpc555dk expects.
You can set up an enviroment variable MSVCDir which points to the MSVC directory.
For example, set:
MSVCDir=D:\Applications\Microsoft Visual Studio\VC98.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Code Generation 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by