Tags: build, compile, fails, gettingstarted, guide, matlab, message, model, programming, run, target, triying, wich, xpc

Xpc compile

On Programmer » Matlab

4,094 words with 1 Comments; publish: Mon, 28 Apr 2008 02:32:00 GMT; (20093.02, « »)

hi i'm triying to run the model wich is in the getting

started guide of Xpc target, but when i build it, it fails,

this is the message in the simulation diagnostic

Error using ==> RTW.makertw.make_rtw

Error using ==> rtw_c

### Unable to find build success string: "### Created" in

build log.

and in the main window of matlab appears:

### Creating prueba1xpc.mk from

C:\MATLAB7\toolbox\rtw\targets\xpc\xpc\x

pc_vc.tmf

### Building prueba1xpc: .\prueba1xpc.bat

C:\MATLAB7\work\prueba1xpc_xpc_rtw>set MATLAB=C:\MATLAB7

C:\MATLAB7\work\prueba1xpc_xpc_rtw>set MSVCDir=c:\microsoft

visual studio\vc98

C:\MATLAB7\work\prueba1xpc_xpc_rtw>set MSDevDir=c:\microsoft

visual studio\common\msdev98

C:\MATLAB7\work\prueba1xpc_xpc_rtw>C:\MATLAB7\rtw\bin\win32\envcheck

INCLUDE "c:\microsoft visual studio\vc98\include"

C:\MATLAB7\work\prueba1xpc_xpc_rtw>if errorlevel 1 goto

vcvars32

C:\MATLAB7\work\prueba1xpc_xpc_rtw>C:\MATLAB7\rtw\bin\win32\envcheck

PATH "c:\microsoft visual studio\vc98\bin"

C:\MATLAB7\work\prueba1xpc_xpc_rtw>if errorlevel 1 goto

vcvars32

C:\MATLAB7\work\prueba1xpc_xpc_rtw>goto make

C:\MATLAB7\work\prueba1xpc_xpc_rtw>nmake -f prueba1xpc.mk

ADD_MDL_NAME_TO_GLOBALS=1 EXT_MODE=1 VISUAL_VER=6.0

Microsoft (R) Program Maintenance Utility Version 6.00.8168.0

Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

prueba1xpc.mk(101) : fatal error U1052: file

'|>ALT_MATLAB_ROOT<|\rtw\c\tools\vctools.mak' not found

Stop.

does anybody Can help me? please i need it

i'm using Matlab 7(R14), visual studio 6.0 and Xpc target 2.5

All Comments

Leave a comment...

  • 1 Comments
    • well the problem was during the installation of the Visual

      studio, because i didn't register the enviroment variables,

      after to re install the VS and registering the enviroment

      variables it works

      felipe

      "felipe " <felipe.g.matlab.questionfor.info.mathworks.com> wrote in message

      <fbhkpn$2b0$1.matlab.questionfor.info.fred.mathworks.com>...

      > hi i'm triying to run the model wich is in the getting

      > started guide of Xpc target, but when i build it, it fails,

      > this is the message in the simulation diagnostic

      > Error using ==> RTW.makertw.make_rtw

      > Error using ==> rtw_c

      > ### Unable to find build success string: "### Created" in

      > build log.

      > and in the main window of matlab appears:

      > ### Creating prueba1xpc.mk from

      > C:\MATLAB7\toolbox\rtw\targets\xpc\xpc\x

      pc_vc.tmf

      > ### Building prueba1xpc: .\prueba1xpc.bat

      > C:\MATLAB7\work\prueba1xpc_xpc_rtw>set MATLAB=C:\MATLAB7

      > C:\MATLAB7\work\prueba1xpc_xpc_rtw>set MSVCDir=c:\microsoft

      > visual studio\vc98

      > C:\MATLAB7\work\prueba1xpc_xpc_rtw>set MSDevDir=c:\microsoft

      > visual studio\common\msdev98

      >

      C:\MATLAB7\work\prueba1xpc_xpc_rtw> C:\MATLAB7\rtw\bin\win32\envcheck

      > INCLUDE "c:\microsoft visual studio\vc98\include"

      > C:\MATLAB7\work\prueba1xpc_xpc_rtw>if errorlevel 1 goto

      > vcvars32

      >

      C:\MATLAB7\work\prueba1xpc_xpc_rtw> C:\MATLAB7\rtw\bin\win32\envcheck

      > PATH "c:\microsoft visual studio\vc98\bin"

      > C:\MATLAB7\work\prueba1xpc_xpc_rtw>if errorlevel 1 goto

      > vcvars32

      > C:\MATLAB7\work\prueba1xpc_xpc_rtw>goto make

      > C:\MATLAB7\work\prueba1xpc_xpc_rtw>nmake -f prueba1xpc.mk

      > ADD_MDL_NAME_TO_GLOBALS=1 EXT_MODE=1 VISUAL_VER=6.0

      > Microsoft (R) Program Maintenance Utility Version

      6.00.8168.0

      > Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

      > prueba1xpc.mk(101) : fatal error U1052: file

      > '|>ALT_MATLAB_ROOT<|\rtw\c\tools\vctools.mak' not found

      > Stop.

      > does anybody Can help me? please i need it

      > i'm using Matlab 7(R14), visual studio 6.0 and Xpc target 2.5

      #1; Mon, 28 Apr 2008 02:33:00 GMT