开发者

Eclipse, the AVR Plugin, and Arduino

I'm attempting to compile Arduino code in the Eclipse IDE using WinAVR and the AVR IDE plugin, and I'm running into one major stumbling block - when I try to compile the code I get the following error:

/usr/bin/sh: g++: command not found make: *** [main.o] Error 127

Yeah, I bet not...I'm using Windows Vista. I have the paths to WinAVR's avr-g++ all set correctly in the preferences tab,开发者_开发百科 does anyone know why it might be doing this?


Did you set your paths like this?

avr preference panel http://img534.imageshack.us/img534/5996/avreclipsepath.png

I followed the instructions on http://www.arduino.cc/playground/Code/Eclipse and everything worked fine on my Vista box with Eclipse 3.5.


The easiest way now to use arduino in eclipse is by using the arduino eclipse plugin. It is build on the same software stack CDT +win AVR but it sets all the options correctly for you. It even comes with a library import functionality. Look at eclipse.baeyens.it for installation instructions an FAQ.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜