|
I am using Simulink and RTW to build and download a model to
the xPC. I am using R2007a. Occasionally, I will get this
error when I try to build the model:
Creating library globalcountersimulator.lib and object
globalcountersimulator.exp
globalcountersimulator.obj : error LNK2001: unresolved
external symbol _rt_InitInfAndNaN
xpctarget.obj : error LNK2001: unresolved external symbol
_rt_InitInfAndNaN
rt_logging.obj : error LNK2001: unresolved external symbol
_rtInf
globalcountersimulator.dll : fatal error LNK1120: 2
unresolved externals
NMAKE : fatal error U1077: 'link' : return code '0x460'
Stop.
C:\Documents and Settings\user\My
Documents\MATLAB\globalcountersimulator\globalcountersimulator_xpc_rtw>echo
The make command returned an
error of 2
The make command returned an error of 2
C:\Documents and Settings\uer\My
Documents\MATLAB\globalcountersimulator\globalcountersimulator_xpc_rtw>An_error_occurred_during_the_call_to
_make
'An_error_occurred_during_the_call_to_make' is not
recognized as an internal or external command,
operable program or batch file.
But if I hit 'build' again, without changing any files, it
will work. I don't understand why this is happening.
|