Go to Post Scout team, assemble! (preliminarily) - PayneTrain [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 13-01-2016, 18:56
bob.wolff68's Avatar
bob.wolff68 bob.wolff68 is offline
Da' Mentor Man
FRC #1967
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2007
Location: United States
Posts: 152
bob.wolff68 is just really nicebob.wolff68 is just really nicebob.wolff68 is just really nicebob.wolff68 is just really nicebob.wolff68 is just really nice
Mac install issue - not found in PATH

After doing an install via screensteps live, I was unable to get a build to work. I kept getting errors about the gnu cross compiler not being found

Code:
"arm-frc-linux-gnueabi-g++" not found in PATH
Then I realized this was ONLY impacting my OLD projects and not a new sample project...

ADDITIONALLY, I have seen the same issue others surrounding doing a 'clean' and the console says 'rm' was not found.

On my Mac, 'rm' is found in /bin
On my Mac, 'arm-frc-linux-gnueabi-g++' is found in /usr/local/bin

So, here's the solution:
Go to 'preferences' and select C++->Build->Environment :
Click on 'Add...'
Set 'Name' to 'PATH'
Set 'Value' to '/usr/local/bin:/bin'


Restart Eclipse

Now 'Clean' should work and 'Build' should work on old and new projects.
__________________
~~~~~~~~~~~~~~~~~~~
Bob Wolff - Software from the old-school
Mentor / C / C++ guy
Team 1967 - The Janksters - San Jose, CA
Reply With Quote
  #2   Spotlight this post!  
Unread 13-01-2016, 19:06
rsaccone rsaccone is offline
Registered User
FRC #3950
 
Join Date: Feb 2013
Location: Glen Head, NY
Posts: 23
rsaccone is an unknown quantity at this point
Re: Mac install issue - not found in PATH

Hi,

Thanks for the info. Having a similar issues on Windows but as you know Windows doesn't have a built-in rm command to reference. Any idea what should be done on the Windows to rectify?

Regards,
Rob Saccone
Reply With Quote
  #3   Spotlight this post!  
Unread 13-01-2016, 19:27
bob.wolff68's Avatar
bob.wolff68 bob.wolff68 is offline
Da' Mentor Man
FRC #1967
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2007
Location: United States
Posts: 152
bob.wolff68 is just really nicebob.wolff68 is just really nicebob.wolff68 is just really nicebob.wolff68 is just really nicebob.wolff68 is just really nice
Re: Mac install issue - not found in PATH

Specifically for the 'rm' issue I do not know.
With respect to similar 'not found in PATH' issues, it seems there are two categories of trouble:
1) Toolchain was not installed - re-install
2) If the complaint is ONLY about g++/gcc and NOT the arm cross compiler arm-frc-...g++, then this I've heard is a by-product of simulation and not having MinGW installed. The g++/gcc problem is actually NOT a problem from what others have said - it does not prevent your actual compilation from happening. But if you want to get rid of it, install MinGW or change the command and prepend the arm-frc-* portion (see another post for the steps as I'm not doing justice to the detail here)

Good luck!
__________________
~~~~~~~~~~~~~~~~~~~
Bob Wolff - Software from the old-school
Mentor / C / C++ guy
Team 1967 - The Janksters - San Jose, CA
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 03:01.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi