Error Compiling PC

I have not made any changes to the code so far, but when I went to double check that it would compile before I started adding to it, I got the following error:

avr-g++: error: CreateProcess: No such file or directory

I am using Ardupilot-Arduino-1.0.3-windows-gcc.4.7.2 as is suggested here dev.ardupilot.com/wiki/building- … o-windows/

Any suggestions on how I can get it to compile?

By upgrading to the newer version of ardupilot-arduino (went from 4.7.2 to 4.8.2, I was able to get the code to compile. However, now when I try to upload it, I get the error:

System wide configuration file is "C:\ArduPilot-Arduino-1.0.3-windows - 4.8.2\hardware/tools/avr/etc/avrdude.conf"
avrdude: error at C:\ArduPilot-Arduino-1.0.3-windows - 4.8.2\hardware/tools/avr/etc/avrdude.conf:332: programmer type must be written as “id_type”

Has anyone else run into this?

I have the same problem.
Has anyone have a solution?

After two days of searching, I found the solution on a Russian rc website.
You need to replace the avrdude.conf file with this one:

forum.rcdesign.ru/attachment.php … 1402866604

You can find the explanation here: forum.rcdesign.ru/f123/thread232641-211.html

If needed I can give more detailed steps of overall install process. I am planning to use arduino IDE for my students lab sessions in two weeks.

Greetz,

Jon

2 Likes