Can not configure Eclipse Arduino IDE folder

Dear Friends:

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

ARDUINO IDE
Ver 1.6.5

Thanks for any help.

Hi,

I have the same problem now, I am running on MAC OS X EL Capitan, and I am using Eclipse MARS for C/C++ developers.

When I am trying to give the paths to the IDE and the libraries I constantly get the error telling me that the path is not correct.

Could you find the source of this issue?

BR,
Giovanni

I to am having this issue. I cannot select the folder of my IDE. MAC OS El Capitan. Arduino 1.6.5. Eclipse Mars for C/C++.

Try this:

http://www.baeyens.it/eclipse/

Cheers!

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 that information was missing. Anyway, have you looked here? Windows/Linux/Mac Eclipse plugin to compile and upload arduino sketches - #745 by rmerriam - Libraries - Arduino Forum. And then you can ask @Jantje.

My guess is that Eclipse does not find the board tools (e.g. AVR GCC toolchain). What board(s) are you using? I.e. what tool chain do you need?

Cheers!

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

In general the latest stable is really old (July 2014 = Arduino IDE 1.5.6 Beta). See Stable version 2.3 is unusable as it · Issue #304 · Sloeber/arduino-eclipse-plugin · GitHub for more details.

We are working on a new release but it goes slow. If you feel it should go faster: step forward and help out.
Jantje

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 :confused:

In general the instructions on the Arduino Eclipse IDE website advise to use the nightly builds in more than one place.

Okay,

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 :slight_smile:

Restart eclipse - check Preferences > Arduino and you should be good to go.