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
MathWorks Support Team 2009년 6월 27일
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