View Single Post
  #1   Spotlight this post!  
Unread 01-13-2016, 06:56 PM
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