chipKIT® Development Platform

Inspired by Arduino™

Cannot run program "....Path.....etc": error 2, No such file

Created Tue, 21 Jun 2011 16:55:25 +0000 by pauldf


pauldf

Tue, 21 Jun 2011 16:55:25 +0000

I'm running the Mac version Arduino 0022-chipkit-macosx-20110529 and I can compile BLINK.pde for a standard Uno but when I try to compile for a ChipKIT Uno32 I get the message:

Cannot run program "/users/............etc etc....../pic32-tools/bin/pic32-g++": error 2, No such file or directory.

The path is in the package contents when I "View package Contents" and the pic32-g++ is in the correct place. When I execute the file pic32-g++ it opens the terminal and just shows me the text:

Last login: Tue Jun 21 17:51:38 on ttys000 /Users/paul/Desktop/Arduino/Arduino-PIC.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/pic32-g++ ; exit; MacBook-Air-Paul:~ paul$ /Users/paul/Desktop/Arduino/Arduino-PIC.app/Contents/Resources/Java/hardware/pic32/compiler/pic32-tools/bin/pic32-g++ ; exit; pic32-g++: no input files logout

[Process completed]

..... So what and where is the file being referred to in "error 2, no such file or directory"


Mark

Tue, 21 Jun 2011 22:05:58 +0000

Hold down the shift key and click the far left button, this will give a detailed list of what exact commands it executes.

I would recommend re-downloading and re-installing.

Mark


pauldf

Wed, 22 Jun 2011 10:45:05 +0000

Thanks Mark

I tried the shift+ctrl, got the file list and then the penny dropped !!!!!!

I changed the name of the .app file from mpide.app to Arduino-PIC.app - and that changed the path (so to speak) as the package contents path now differed.

Thanks once again..... I will remember next time