g++ not found in PATH

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

g++ not found in PATH

1,386 次查看
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 项奖励
回复
3 回复数

1,341 次查看
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 项奖励
回复

1,341 次查看
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 项奖励
回复

1,341 次查看
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 项奖励
回复