G++ not found

While we were attempting to build our practice project with Wind River, we got the following error:

C:\DOCUME~1\Team\LOCALS~1\Temp\make3765.sh: g++: command not found
C:\WindRiver\workbench-3.0\x86-win32\bin\make.exe: *** [Tank_Drive/Debug/Objects/Tank_Drive/drive.o] Error 127
Build Failed in Project ‘Tank_Drive’ (Process Exit Value was 2): 2009-01-31 10:42:56 (Elapsed Time: 00:02)

We downloaded MinGW and Wind River still refuses to find G++. Are there any settings we need to configure to find it? Any help is appreciated.

Make sure g++ is in your PATH environment variable maybe?

learned this the hard way, but xp doesnt update PATH etc until after a reboot. Even if it looks like it was changed. That appears to have been fixed in vista - I was recently needing to let gimp know where ghostscript was through a sys var and I didnt need to reboot :yikes: unfortunately thats not so in xp.

-jonathan

We tried rebooting many times with no luck. I don’t remember if we mentioned this before, but we installed G++ with MinGW. I’m not sure what difference that makes.

I second Abwehr - is the g++ folder in PATH? If you type

echo %PATH%

into cmd you can see whats in it…

-jonathan

Thank you