g++ not found in PATH

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

g++ not found in PATH

1,323件の閲覧回数
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,278件の閲覧回数
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,278件の閲覧回数
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,278件の閲覧回数
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 件の賞賛
返信