Orlando
Offline
Newbie
Karma: 0
Posts: 9
|
 |
« on: March 15, 2011, 03:21:10 pm » |
When I try to compile a program, including an empty shell, I get the following error:
avr-g++: CreateProcess: No such file or directory
I've looked in other threads but none of the fixes I've found seem to apply.
I'm using Arduino-0022 on Windows 7 x64 The most common fix I found in the other threads was removing GCC_EXEC_PREFIX from the environment variables, but it is not there.
Any help is appreciated.
|
|
|
|
|
Logged
|
Where's my coffee?
|
|
|
|
Global Moderator
Dallas
Offline
Shannon Member
Karma: 117
Posts: 10144
|
 |
« Reply #1 on: March 15, 2011, 04:39:09 pm » |
Does this directory exist...
{YourArduinoRoot}\arduino-0022\hardware\tools\avr\bin
Are there a bunch of EXEs in that directory?
|
|
|
|
|
Logged
|
|
|
|
|
Orlando
Offline
Newbie
Karma: 0
Posts: 9
|
 |
« Reply #2 on: March 15, 2011, 06:00:44 pm » |
Yes. The folder exists and avr-g++.exe is there.
|
|
|
|
|
Logged
|
Where's my coffee?
|
|
|
|
Global Moderator
Dallas
Offline
Shannon Member
Karma: 117
Posts: 10144
|
 |
« Reply #3 on: March 15, 2011, 06:33:26 pm » |
Any GNU software listed on your PATH environment variable?
|
|
|
|
|
Logged
|
|
|
|
|
Orlando
Offline
Newbie
Karma: 0
Posts: 9
|
 |
« Reply #4 on: March 15, 2011, 06:43:10 pm » |
The PATH variable value reads as follows.
C:\Program Files (x86)\Microchip\mplabc30\v3.25\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files\MATLAB\R2010a\runtime\win64;C:\Program Files\MATLAB\R2010a\bin;C:\Program Files (x86)\Microchip\MPLAB C32 Suite\bin
|
|
|
|
|
Logged
|
Where's my coffee?
|
|
|
|
Global Moderator
Dallas
Offline
Shannon Member
Karma: 117
Posts: 10144
|
 |
« Reply #5 on: March 15, 2011, 07:50:58 pm » |
No matter how hard I stare at my screen, I just can't seem to see what's in those directories. Until my remote reading skills improve, you will have to make an effort.
|
|
|
|
|
Logged
|
|
|
|
|
Orlando
Offline
Newbie
Karma: 0
Posts: 9
|
 |
« Reply #6 on: March 15, 2011, 07:52:23 pm » |
Ok. The short answer is no.
|
|
|
|
|
Logged
|
Where's my coffee?
|
|
|
|
Orlando
Offline
Newbie
Karma: 0
Posts: 9
|
 |
« Reply #7 on: March 15, 2011, 07:54:42 pm » |
Only paths for matlab, mplab, and a few I don't recognize beginning with %SystemRoot%
|
|
|
|
|
Logged
|
Where's my coffee?
|
|
|
|
Global Moderator
Dallas
Offline
Shannon Member
Karma: 117
Posts: 10144
|
 |
« Reply #8 on: March 15, 2011, 08:13:19 pm » |
Does your Arduino root directory contain spaces or special characters?
|
|
|
|
|
Logged
|
|
|
|
|
Orlando
Offline
Newbie
Karma: 0
Posts: 9
|
 |
« Reply #9 on: March 15, 2011, 08:23:32 pm » |
Nope. That was the first thing I checked for.
|
|
|
|
|
Logged
|
Where's my coffee?
|
|
|
|
Global Moderator
Dallas
Offline
Shannon Member
Karma: 117
Posts: 10144
|
 |
« Reply #10 on: March 15, 2011, 10:10:29 pm » |
Try this... - Open a command-shell - Navigate to "{YourArduinoRoot}\arduino-0022\hardware\tools\avr\bin" - Run "avr-g++.exe"
On my computer the output is... "avr-g++.exe: no input files"
|
|
|
|
|
Logged
|
|
|
|
|
Orlando
Offline
Newbie
Karma: 0
Posts: 9
|
 |
« Reply #11 on: March 16, 2011, 06:15:15 am » |
Does the same on mine. avr-g++: no input files
|
|
|
|
|
Logged
|
Where's my coffee?
|
|
|
|
Orlando
Offline
Newbie
Karma: 0
Posts: 9
|
 |
« Reply #12 on: March 16, 2011, 08:58:17 am » |
Well, I don't know what the problem was, but it was corrected by re-downloading the IDE.
|
|
|
|
|
Logged
|
Where's my coffee?
|
|
|
|
Global Moderator
Dallas
Offline
Shannon Member
Karma: 117
Posts: 10144
|
 |
« Reply #13 on: March 16, 2011, 11:36:31 am » |
I'm glad to know you have it working and thank you for the follow-up.
|
|
|
|
|
Logged
|
|
|
|
|
|