From: Yan Zhang on 3 May 2010 10:31 "Kanthaswamy" <kanthaswamyg(a)example.com> wrote in message <gng9nm$a4s$1(a)fred.mathworks.com>... > I tried using a eval. copy of codewarrior compiler for MPC5XX and used the demo model available "mpc555_Led.mdl" with the mpc555_demo library. > > I had set the MPC target preference to codewarrior compiler. > When I build the subsystem for the model using RTW it throws follwing error > > Error using ==> genMakefileAndBuild at 1138 > It appears that the build process was unable to locate some utility (e.g. make, > compiler, linker, etc.). Please verify your path and tool environment variables > are correct. You should be able to execute the make command: > .\Target_LED.bat > at an MS DOS Command Prompt in the directory: > C:\Program Files\MATLAB\R2008a\work\Target_LED_mpc555rt > Currently, this generates the following error: > > C:\Program Files\MATLAB\R2008a\work\Target_LED_mpc555rt>set MATLAB=C:/Program Files/MATLAB/R2008a > > C:\Program Files\MATLAB\R2008a\work\Target_LED_mpc555rt>"C:/Program Files/MATLAB/R2008a\bin\win32\gmake.exe" -f Target_LED.mk GENERATE_REPORT=0 PORTABLE_WORDSIZES=0 GENERATE_ASAP2=0 TMW_EXTMODE_TESTING=0 MPC555_OPTIMIZATION_SWITCH="speed" EXECUTION_PROFILING_ENABLED=0 EXECUTION_PROFILING_NUM_SAMPLES=500 RELATIVE_PATH_TO_ANCHOR=.. > C:/PROGRA~1/MATLAB/R2008a/sys/perl/win32/bin/perl.exe -IC:/PROGRA~1/MATLAB/R2008a/toolbox/rtw/targets/mpc555dk/bin/win32/perl/lib C:/PROGRA~1/MATLAB/R2008a/toolbox/rtw/targets/mpc555dk/drivers/make_plugins/utility_rules/mkdir.pl bin/CODE_WARRIOR/565 > mkdir.pl : Creating Directory 565 > C:/PROGRA~1/MATLAB/R2008a/sys/perl/win32/bin/perl.exe -IC:/PROGRA~1/MATLAB/R2008a/toolbox/rtw/targets/mpc555dk/bin/win32/perl/lib C:/PROGRA~1/MATLAB/R2008a/toolbox/rtw/targets/mpc555dk/drivers/make_plugins/utility_rules/mkdir.pl /CODE_WARRIOR/565 > --------------------------------------------------------------------------- > -- Y Compiling ASM : exceptions.s --- > --------------------------------------------------------------------------- > --------------------------------------------------------------------------- > -- Y Compiling ASM : exceptions.s --- > --------------------------------------------------------------------------- > C:/PROGRA~1/MATLAB/R2008a/sys/perl/win32/bin/perl.exe C:/PROGRA~1/MATLAB/R2008a/toolbox/rtw/targets/common/tgtcommon/makedepend.pl -I. -I.. -IC:/PROGRA~1/MATLAB/R2008a/rtw/c/ert -IC:/PROGRA~1/MATLAB/R2008a/extern/include -IC:/PROGRA~1/MATLAB/R2008a/simulink/include -IC:/PROGRA~1/MATLAB/R2008a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2008a/toolbox/rtw/targets/common/profile/execution -IC:/PROGRA~1/MATLAB/R2008a/work/Target_LED_mpc555rt -IC:/PROGRA~1/MATLAB/R2008a/work -IC:/PROGRA~1/MATLAB/R2008a/rtw/c/libsrc -I.. -IC:/PROGRA~1/MATLAB/R2008a/toolbox/rtw/targets/mpc555dk/drivers/make_plugins/mpc5xx_registers -I. -IC:/PROGRA~1/MATLAB/R2008a/toolbox/rtw/targets/mpc555dk/drivers/src/libsrc/standard/include -IC:/PROGRA~1/MATLAB/R2008a/toolbox/rtw/targets/mpc555dk/drivers/src/libsrc/extensions/cmf_flash -IC:/PROGRA~1/MATLAB/R2008a/rtw/c/src/ext_mode/serial > -IC:/PROGRA~1/MATLAB/R2008a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2008a/toolbox/rtw/targets/common/can/datatypes -IC:/PROGRA~1/MATLAB/R2008a/extern/include -IC:/PROGRA~1/MATLAB/R2008a/toolbox/rtw/targets/mpc555dk/drivers/make_plugins/initialization exceptions.s bin/CODE_WARRIOR/565/exceptions.o > Merging dependencies into existing dependency file dependencies.mk > --- LM_LICENSE_FILE="C:\Program Files\Freescale\CodeWarrior EPPC 5xx V8.7\license.dat" --- > C:/PROGRA~1/FREESC~1/CODEWA~1.7/bin/PowerPC_EABI_Tools/Command_Line_Tools/mwasmeppc -DMPC565_VARIANT -DCODE_WARRIOR -big -proc 56X -I. -I.. -IC:/PROGRA~1/MATLAB/R2008a/rtw/c/ert -IC:/PROGRA~1/MATLAB/R2008a/extern/include -IC:/PROGRA~1/MATLAB/R2008a/simulink/include -IC:/PROGRA~1/MATLAB/R2008a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2008a/toolbox/rtw/targets/common/profile/execution -IC:/PROGRA~1/MATLAB/R2008a/work/Target_LED_mpc555rt -IC:/PROGRA~1/MATLAB/R2008a/work -IC:/PROGRA~1/MATLAB/R2008a/rtw/c/libsrc -I.. -IC:/PROGRA~1/MATLAB/R2008a/toolbox/rtw/targets/mpc555dk/drivers/make_plugins/mpc5xx_registers -I. -IC:/PROGRA~1/MATLAB/R2008a/toolbox/rtw/targets/mpc555dk/drivers/src/libsrc/standard/include > /PROGRA~1/MATLAB/R2008a/toolbox/rtw/targets/mpc555dk/drivers/make_plugins/mpc5xx_registers -I. -IC:/PROGRA~1/MATLAB/R2008a/toolbox/rtw/targets/mpc555dk/drivers/src/libsrc/standard/include -IC:/PROGRA~1/MATLAB/R2008a/toolbox/rtw/targets/mpc555dk/drivers/src/libsrc/extensions/cmf_flash -IC:/PROGRA~1/MATLAB/R2008a/rtw/c/src/ext_mode/serial -IC:/PROGRA~1/MATLAB/R2008a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2008a/toolbox/rtw/targets/common/can/datatypes -IC:/PROGRA~1/MATLAB/R2008a/extern/include -IC:/PROGRA~1/MATLAB/R2008a/toolbox/rtw/targets/mpc555dk/drivers/make_plugins/initialization exceptions.s -o bin/CODE_WARRIOR/565/exceptions.o > process_begin: CreateProcess(NULL, C:/PROGRA~1/FREESC~1/CODEWA~1.7/bin/PowerPC_EABI_Tools/Command_Line_Tools/mwasmeppc -DMPC565_VARIANT -DCODE_WARRIOR -big -proc 56X -I. -I.. -IC:/PROGRA~1/MATLAB/R2008a/rtw/c/ert -IC:/PROGRA~1/MATLAB/R2008a/extern/include -IC:/PROGRA~1/MATLAB/R2008a/simulink/include -IC:/PROGRA~1/MATLAB/R2008a/rtw/c/src -IC:/PROGRA~1/MATLAB/R2008a/toolbox/rtw/targets/common/profile/execution -IC:/PROGRA~1/MATLAB/R2008a/work/Target_LED_mpc555rt -IC:/PROGRA~1/MATLAB/R2008a/work -IC:/PROGRA~1/MATLAB/R2008a/rtw/c/libsrc -I.. -IC:/PROGRA~1/MATLAB/R2008a/toolbox/rtw/targets/mpc555dk/drivers/make_plugins/mpc5xx_registers -I. -IC:/PROGRA~1/MATLAB/R2008a/toolbox/rtw/targets/mpc555dk/drivers/src/libsrc/standard/include -IC:/PROGRA~1/MATLAB/R2008a/toolbox/rtw/targets/mpc555dk/drivers/src/libsrc/extensions/cmf_flash -IC:/PROGRA~1/MATLAB/R2008a/rtw/c/src/ext_mode/serial > -IC:/PROGRA~1/MATLAB/R2008a/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2008a/toolbox/rtw/targets/common/can/datatypes -IC:/PROGRA~1/MATLAB/R2008a/extern/include -IC:/PROGRA~1/MATLAB/R2008a/toolbox/rtw/targets/mpc555dk/drivers/make_plugins/initialization exceptions.s -o bin/CODE_WARRIOR/565/exceptions.o, ...) failed. > make (e=3): The system cannot find the path specified. > R2008a\bin\win32\gmake.exe: *** [bin/CODE_WARRIOR/565/exceptions.o] Error 3 Hi Kanthaswamy, I am now facing exactly the same problem and I couldn't solve it. So would you please share your experience if you already conquered this problem?
|
Pages: 1 Prev: Fortran mex setup with Matlab R2009a Next: symbolic integration issue |