Forum Topic - [WPILIB DEVELOPMENT] Mac Path Variable: (16 Items)
   
[WPILIB DEVELOPMENT] Mac Path Variable  
Tried to compile the default iterative C++ program today on mac and following error was generated.
Error: Program "arm-none-linux-gnueabi-g++" not found in PATH
PATH=[/Users/sdmichelini/wpilib/toolchains/arm-none-linux-gnueabi-4.4.1/bin:/usr/bin:/bin:/usr/sbin:/sbin]

Thanks,
Steve Michelini
Re: [WPILIB DEVELOPMENT] Mac Path Variable  
Did you install the mac toolchain plugin? If so, what is the contents of
this directory
"/Users/sdmichelini/wpilib/toolchains/arm-none-linux-gnueabi-4.4.1/bin"?

Best,
Alex


On Sun, Sep 15, 2013 at 9:56 PM, Michelini, Stephen D
<sdmichelini@wpi.edu>wrote:

> Tried to compile the default iterative C++ program today on mac and
> following error was generated.
> Error: Program "arm-none-linux-gnueabi-g++" not found in PATH
>
> PATH=[/Users/sdmichelini/wpilib/toolchains/arm-none-linux-gnueabi-4.4.1/bin:/usr/bin:/bin:/usr/sbin:/sbin]
>
> Thanks,
> Steve Michelini
>
>
>
>
> _______________________________________________
>
> Development
> https://usfirst.collab.net/sf/go/post1001
> To cancel your subscription to this discussion, please e-mail
> development-wpilib-unsubscribe@usfirst.collab.net
>
Attachment: HTML sf-attachment-mime1004 1.42 KB
Re: [WPILIB DEVELOPMENT] Mac Path Variable  
Alex,

Here are the contents of that folder. I installed the plug-ins via netbeans
Attachment: Image Screen Shot 2013-09-16 at 9.29.25 AM.png 87.93 KB
Re: [WPILIB DEVELOPMENT] Mac Path Variable  
Steve,
It looks like the wrong folder was added to the path.  Try adding /Users/sdmichelini/wpilib/toolchains/bin to your path.
  You should see arm-none-linux-gnueabi-g++, along with all the rest of the GCC tools.  On another note, you are using 
Eclipse, not Netbeans, right?
Re: [WPILIB DEVELOPMENT] Mac Path Variable  
Fred,

Yes, I am using Eclipse and installed the WPIlib via the plug-ins. However, I still get this error even after adding the
 toolchain to my path.
Error: Program "arm-none-linux-gnueabi-g++" not found in PATH
PATH=[/Users/sdmichelini/wpilib/toolchains/arm-none-linux-gnueabi-4.4.1/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/
sdmichelini/wpilib/toolchains/bin]

I noticed that one of the path's  /Users/sdmichelini/wpilib/toolchains/arm-none-linux-gnueabi-4.4.1/bin does not exist 
in my file system. I attached an image of the location.

Thanks,
Steve
Attachment: Image Screen Shot 2013-09-16 at 11.22.04 AM.png 80.68 KB
Re: [WPILIB DEVELOPMENT] Mac Path Variable  
Rename arm-none-linux-gnueabi to arm-none-linux-gnueabi-4.4.1, that should
fix your problem.


On Mon, Sep 16, 2013 at 11:22 AM, Steve <sdmichelini@wpi.edu> wrote:

> Fred,
>
> Yes, I am using Eclipse and installed the WPIlib via the plug-ins.
> However, I still get this error even after adding the toolchain to my path.
> Error: Program "arm-none-linux-gnueabi-g++" not found in PATH
>
> PATH=[/Users/sdmichelini/wpilib/toolchains/arm-none-linux-gnueabi-4.4.1/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/
sdmichelini/wpilib/toolchains/bin]
>
> I noticed that one of the path's
>  /Users/sdmichelini/wpilib/toolchains/arm-none-linux-gnueabi-4.4.1/bin does
> not exist in my file system. I attached an image of the location.
>
> Thanks,
> Steve
>
>
>
> _______________________________________________
>
> Development
> https://usfirst.collab.net/sf/go/post1005
> To cancel your subscription to this discussion, please e-mail
> development-wpilib-unsubscribe@usfirst.collab.net
>
Attachment: HTML sf-attachment-mime1014 1.6 KB
Re: [WPILIB DEVELOPMENT] Mac Path Variable  
I changed the name and the compile error still remains.
I think something is messed up with my wpilib file system. I attached a better image which shows the structure.

-Steve
Attachment: Image Screen Shot 2013-09-16 at 11.38.11 AM.png 134.81 KB
Re: [WPILIB DEVELOPMENT] Mac Path Variable  
It looks like the nested folders are your problem.  Move the stuff in the inner arm-none-etc... to the outer one.  You 
can delete the inner one after that.
-Fredric Silberberg
Re: [WPILIB DEVELOPMENT] Mac Path Variable  
Changed the file system to the attached image.
Still no luck with compiling
Attachment: Image Screen Shot 2013-09-16 at 11.50.46 AM.png 122.59 KB
Re: [WPILIB DEVELOPMENT] Mac Path Variable  
Can you try updating the CDT to the latest version?


On Mon, Sep 16, 2013 at 11:51 AM, Steve <sdmichelini@wpi.edu> wrote:

> Changed the file system to the attached image.
> Still no luck with compiling
>
>
>
> _______________________________________________
>
> Development
> https://usfirst.collab.net/sf/go/post1009
> To cancel your subscription to this discussion, please e-mail
> development-wpilib-unsubscribe@usfirst.collab.net
>
Attachment: HTML sf-attachment-mime1024 1 KB
Re: [WPILIB DEVELOPMENT] Mac Path Variable  
I checked for updates and none were found. Here is my current version.

-Steve
Attachment: Image Screen Shot 2013-09-16 at 12.47.38 PM.png 71.61 KB
Re: [WPILIB DEVELOPMENT] Mac Path Variable  
Steve,

8.2 appears to be the latest and should work. Can you try opening a
terminal and run the following commands:

export PATH=/Users/sdmichelini/wpilib/toolchains/arm-none-linux-gnueabi-4.4.1/bin:/usr/bin:/bin:/usr/sbin:/sbin

echo $PATH

ls -alF /Users/sdmichelini/wpilib/toolchains/arm-none-linux-gnueabi-4.4.1/bin

which arm-none-linux-gnueabi-g++

arm-none-linux-gnueabi-g++

Send the output and I'll see what I can do. We can also arrange some time
to meet in person and get to the bottom of this.

Best,
Alex


On Mon, Sep 16, 2013 at 12:48 PM, Steve <sdmichelini@wpi.edu> wrote:

> I checked for updates and none were found. Here is my current version.
>
> -Steve
>
>
>
> _______________________________________________
>
> Development
> https://usfirst.collab.net/sf/go/post1011
> To cancel your subscription to this discussion, please e-mail
> development-wpilib-unsubscribe@usfirst.collab.net
>
Attachment: HTML sf-attachment-mime1030 1.61 KB
Re: [WPILIB DEVELOPMENT] Mac Path Variable  
Alex,

Here is the terminal output.

Thanks,
Steve Michelini
Attachment: Image Screen Shot 2013-09-18 at 4.57.42 PM.png 104.01 KB
Re: [WPILIB DEVELOPMENT] Mac Path Variable  
Everything listed should be prefixed with:

arm-none-linux-gnueabi-

If you're free tomorrow at 11 I can meet you in brads office. In the
meantime, delete the toolchains directory and then open up eclipse.
This should regenerate the repository. Then rerun the terminal
commands and let me know the results.

Best,
Alex



On Wed, Sep 18, 2013 at 4:58 PM, Steve Michelini(WPI)
<sdmichelini@wpi.edu>wrote:

> Alex,
>
> Here is the terminal output.
>
> Thanks,
> Steve Michelini
>
>
>
> _______________________________________________
>
> Development
> https://usfirst.collab.net/sf/go/post1013
> To cancel your subscription to this discussion, please e-mail
> development-wpilib-unsubscribe@usfirst.collab.net
>
Attachment: HTML sf-attachment-mime1036 1.39 KB
Re: [WPILIB DEVELOPMENT] Mac Path Variable  
Alex,

I'll be able to meet you at 11. I deleted the toolchain directory and re ran the terminal commands. I took a photo of 
the output and also a photo of the way the plugin restructured the file system after i deleted it.

Thanks,
Steve
Attachment: Image Screen Shot 2013-09-19 at 5.25.28 PM.png 46.67 KB Image Screen Shot 2013-09-19 at 5.26.29 PM.png 136.81 KB
Re: [WPILIB DEVELOPMENT] Mac Path Variable  
For future reference, this was caused by installing all three toolchains.
The fix was to uninstall the two unnecessary toolchains, delete the
toolchain folder and restart eclipse.

Best,
Alex


On Thu, Sep 19, 2013 at 5:27 PM, Steve Michelini(WPI)
<sdmichelini@wpi.edu>wrote:

> Alex,
>
> I'll be able to meet you at 11. I deleted the toolchain directory and re
> ran the terminal commands. I took a photo of the output and also a photo of
> the way the plugin restructured the file system after i deleted it.
>
> Thanks,
> Steve
>
>
>
> _______________________________________________
>
> Development
> https://usfirst.collab.net/sf/go/post1015
> To cancel your subscription to this discussion, please e-mail
> development-wpilib-unsubscribe@usfirst.collab.net
>
Attachment: HTML sf-attachment-mime1043 1.31 KB