From: Furui on
Hi, i was trying to build the xpc target model and it always gives the following error messages:

"
Creating library xpctest.lib and object xpctest.exp
xpctest.dll : fatal error LNK1169: one or more multiply defined symbols found
NMAKE : fatal error U1077: '"c:\program files\microsoft visual studio 9.0\VC\BIN\link.EXE"' : return code '0x491'
Stop.

C:\Users\CJ\Documents\MATLAB\xpctestxpcrtw>echo The make command returned an error of 2
The make command returned an error of 2

C:\Users\CJ\Documents\MATLAB\xpctestxpcrtw>Anerroroccurredduringthecalltomake
'Anerroroccurredduringthecalltomake' is not recognized as an internal or external command, operable program or batch file.

"
Could any body help on this? Thanks very much!
From: Anish Anthony on
Hi,

Which version of MATLAB are you using? Have you checked the is MSVC 9.0 is supported with the version of MATLAB you are using.

Also, try a different compiler, Open Watcom could be an option.

Anish Anthony
The MathWorks, Inc.

"Furui" <freewang1982(a)gmail.com> wrote in message <h9e9a5$stj$1(a)fred.mathworks.com>...
> Hi, i was trying to build the xpc target model and it always gives the following error messages:
>
> "
> Creating library xpctest.lib and object xpctest.exp
> xpctest.dll : fatal error LNK1169: one or more multiply defined symbols found
> NMAKE : fatal error U1077: '"c:\program files\microsoft visual studio 9.0\VC\BIN\link.EXE"' : return code '0x491'
> Stop.
>
> C:\Users\CJ\Documents\MATLAB\xpctestxpcrtw>echo The make command returned an error of 2
> The make command returned an error of 2
>
> C:\Users\CJ\Documents\MATLAB\xpctestxpcrtw>Anerroroccurredduringthecalltomake
> 'Anerroroccurredduringthecalltomake' is not recognized as an internal or external command, operable program or batch file.
>
> "
> Could any body help on this? Thanks very much!