g++ not found in PATH

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

g++ not found in PATH

1,290 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by sravansreeram on Mon Jun 15 03:01:51 MST 2015
Hi all,
Whenever I run a program using LPCxpresso, I get an error message saying,
-> program "g++" not found in PATH
This error comes despite installing g++ in ubuntu.

Can somebody tell me how to rectify this error ??
0 Kudos
Reply
3 Replies

1,245 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Mon Jun 15 05:42:07 MST 2015
So, your makefile is calling g++ then...

You are probably using a default rule which probably uses the macro CXX. Try adding
CXX = arm-none-eabi-c++
to your makefile
0 Kudos
Reply

1,245 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by sravansreeram on Mon Jun 15 04:40:13 MST 2015
I'm working on makefiles and there seems to be a problem in it.
In the list of errors, it is shows:- program" g++" not found in PATH
I installed arm-none-eabi-c++ previously.
0 Kudos
Reply

1,245 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Mon Jun 15 03:06:27 MST 2015
LPCXpresso doesn't use g++. But it does user arm-none-eabi-c++

So, what are you doing, and what is the exact message?
0 Kudos
Reply