Log in

View Full Version : G++ not found


BrandonD-1528
31-01-2009, 11:31
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.

Jared Russell
02-02-2009, 22:13
Make sure g++ is in your PATH environment variable maybe?

s0crates
03-02-2009, 00:33
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

BrandonD-1528
03-02-2009, 14:59
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.

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.

s0crates
03-02-2009, 15:13
I second Abwehr - is the g++ folder in PATH? If you type
echo %PATH%
into cmd you can see whats in it...

-jonathan

BrandonD-1528
03-02-2009, 15:36
Thank you