Why am I unable to recompile the boot code for the Embedded Coder for Motorola MPC555?
2 views (last 30 days)
Show older comments
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.
Accepted Answer
MathWorks Support Team
on 27 Jun 2009
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 Comments
More Answers (0)
See Also
Categories
Find more on Refinement in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!