It looks like the problem is in fact the path. Add the directory of wind river that contains the file ccppc.exe to PATH (google it if you don’t know how) and it should work.
HELP!!! I’m having the exact same error on WindRiver 2014 3.3. When we try to compile, we get:
Build Started in Project ‘SimpleTemplate’: 2014-01-11 15:28:39
Generation of makefiles started.
Generation of makefiles finished (Elapsed Time: 00:00).
Platform: Wind River VxWorks 6.3
Command: make --no-print-directory BUILD_SPEC=PPC603gnu DEBUG_MODE=1 TRACE=1
Working Directory: C:/WindRiver/workspace/SimpleTemplate/PPC603gnu
if ! -d “dirname "SimpleTemplate_partialImage/Debug/Objects/SimpleTemplate/MyRobot.o"” ]; then mkdir -p “dirname "SimpleTemplate_partialImage/Debug/Objects/SimpleTemplate/MyRobot.o"”; fi;echo “building SimpleTemplate_partialImage/Debug/Objects/SimpleTemplate/MyRobot.o”; ccppc -g -mcpu=603 -mstrict-align -mno-implicit-fp -mlongcall -ansi -Wall -MD -MP -mlongcall -IC:/WindRiver/vxworks-6.3/target/h -IC:/WindRiver/vxworks-6.3/target/h/WPILib -IC:/WindRiver/vxworks-6.3/target/h/wrn/coreip -DCPU=PPC603 -DTOOL_FAMILY=gnu -DTOOL=gnu -D_WRS_KERNEL -o “SimpleTemplate_partialImage/Debug/Objects/SimpleTemplate/MyRobot.o” -c “C:/WindRiver/workspace/SimpleTemplate/MyRobot.cpp”
building SimpleTemplate_partialImage/Debug/Objects/SimpleTemplate/MyRobot.o
(null) tried to spawn get_feature but failed: The system cannot find the file specified.
C:\WindRiver\vxworks-6.3\host\x86-win32\bin\make.exe: *** [SimpleTemplate_partialImage/Debug/Objects/SimpleTemplate/MyRobot.o] Error 1
Build Failed in Project ‘SimpleTemplate’ (Process Exit Value was 2): 2014-01-11 15:28:39 (Elapsed Time: 00:00)
We’ve tried adding the make to the PATH and cleaning and rebuilding. Does anyone else have any advice? This is the first time we’ve tried running WindRiver on this computer also, so could it be the installation process went wrong somehow? And yes we installed both discs.
WindRiver is quirky like that; that’s why I usually use makefiles manually. For the time being though, try re-installing WindRiver and running its demos.
It might be worth trying UCPP: https://github.com/nikitakit/ucpp - It automagically creates makefiles for you to build projects with.