I am having a problem with the Eclipse and the Arduino, I can not configure the Arduino IDE in Eclipse. I have done everithyng available on the web, with no success.
When I go to preferences in eclipse and open Arduino and select /Applications/Arduino.app for the location of the IDE, it gives me Arduino folder is not correct!.
This is the info of my machine:
ECLIPSE:
MAC OS X Yosemite
Version 10.10.5
Eclipse for PHP Developers
Version: Luna Service Release 2 (4.4.2)
Build id: 20150219-0600
Yes, that is the website and tutorial that I used. There is a specific error when you are trying to adjust the preferences under Arduino.
I am using:
MAC OS El Capitan
Arduino 1.6.5
Eclipse IDE for C/C++ Developers
Version: Mars.1 Release (4.5.1)
Build id: 20150924-1200
Java 8 update 65
The problem is that when I go to select where the Arduino IDE is located ( /Applications/Arduino-1.6.5)
in the Eclipse Preferences (Eclipese -> Prefernces-> Arduino), the Arduino path IDE will not recognize the path. I get the error "Arduino folder is not correct!". Several other people have also had this problem on the Arduino Forum.
I think you are using the latest stable and missed this
"In the 1.5 series there has been a change in the folder structure on mac from arduino IDE 1.5.7 onwards. See this issue for more detail. "
in the mac part of this page Sloeber- Pre Requisites
I've just tried this with the latest nightly build for Mac and the most recent Arduino 1.6.5 and the latest Teensyduino ( only needed if you use Teesny boards, obviously).
Works perfectly fine!
The link to the Arduino Eclipse IDE leads to the page with the nightly builds, not to the stable builds.
Perhaps I should point it out I in the text for people that are not inclined to follow the links
In general the instructions on the Arduino Eclipse IDE website advise to use the nightly builds in more than one place.
My solution to this annoying problem is to first drop the stable Arduino plugin and install the nightly build plug in. Just point eclipse's Help > Install New Software to This is not the way to install the plugin
The first thing it will tell you is that anything higher than Arduino 1.6.5 is not supported by the plugin.
So throw out Arduino 1.6.6+ and get v 1.6.5 from
and install it in your Applications folder.
Restart Eclipse and check Preferences > Arduino. /Applications/Arduino.app is correct location for Arduino IDE path.
The next error you may get is a complaint about not having Make. Check /usr/bin - make should be in there. That's what the plugin is looking for. Now - if make is there and you are still getting this new error, in a terminal window do
ls -l /usr/bin/make
If you get something like
-rwxr-xr-x 1 root wheel 14160 Sep 29 2014 make
then the problem is that eclipse does not have permission to use make. Double check which group user has access to eclipse
But for me it was staff.
cd into /usr/bin and run
sudo chgrp staff make
This may cause problems with other programs, as wheel is not the group user of make. So remember what you did here
Restart eclipse - check Preferences > Arduino and you should be good to go.