Go Down

Topic: Windows/Linux/Mac Eclipse plugin to compile and upload arduino sketches (Read 114 times) previous topic - next topic

rinkrides

Jantje, excellent work on the pluggin and compatibility! However, I am having difficulties getting eclipse kepler to play nice with version 2.1.0.4. Eclipse does display the "arduino sketch icons" but at the end of the wizard it gives me an error popup. so it will not let me even generrate a new sketch. Attached is an image of the error. I have watched your video and followed explicitly the instructions within with the exception of using newer versions of the files. I'm not native to Eclipse, and pretty much a noob with eclipse. Can I use Kepler 64bit or do I require Juno 32 bit for compatibility of your latest pluggin?

I'm proficient with Parallax's IDE's (Basic stamp2 & Propeller chip) and comfortable with arduino IDE (except that it is simply horrid and can't view multiple files at the same time)

Windows 7pro 64bit
Eclipse kepler standard/SDK 64bit (primarily setup for Android dev)
Arduino 1.5.2beta(as you suggested in your last page post for compatibility)

I have read about 10 or so pages of this topic (several hours) but i could not read all of it, so if i have missed something, I do apologize for wasting your time. Any help is appreciated, thank you.
Michael
Electronics Engineering student - "E=MC^(OMG x WTF?!)"
Professional Auto Collision/Custom tech

Jantje

Michael
Welcome to the plugin.
I'm sorry to have to inform you that Kepler is currently not yet supported. I have heard it works under Mac OS but the plugin needs a change in Linux flavors.
I can't recall having had feedback on windows 7 but the end of the new sketch wizard is where the problem is in linux.
If you feel adventurous you can download the code from github and compile. I would bet that the linux fix also fixes the windows problem. The github contains the kepler linux fix Michael delivered.

As you are on windows 7 I would advice 32 bit for you. There is a link to my point of view on 32 bit versus 64 bit. http://eclipse.baeyens.it/Arduino%20eclipse%20plugin%20FAQ.html#32or64Bit

Best regards
Jantje

ps:This thread contains a lot of history. You're better of reading on eclipse.baeyens.it
Do not PM me a question unless you are prepared to pay for consultancy.
Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -

rinkrides

#332
Sep 18, 2013, 12:09 am Last Edit: Sep 18, 2013, 01:39 am by rinkrides Reason: 1
Update: All is well! Thank you for making it much easier to code with arduinos!

In my case:(Windows 7Pro 64bit)
I assumed Kepler would be compatable since its newer (built newer code on top of older code). It was not. So on WinBlows the setup that should work best would be:

After installing those, watch this video by Jantje
edit:removed video

Code: [Select]

if(pluggin = v2)
 arduino ver = 1.5.2 ONLY!!
Electronics Engineering student - "E=MC^(OMG x WTF?!)"
Professional Auto Collision/Custom tech

Jantje

Michael
I made the video and it is already on youtube. http://www.youtube.com/watch?v=iKEiwZoH7bE
Can you remove this version.
Thanks
Jantje
Do not PM me a question unless you are prepared to pay for consultancy.
Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -

rinkrides


Michael
I made the video and it is already on youtube.
Can you remove this version.
Thanks
Jantje

Yes, sorry. Was exited to use something other than Arduino IDE. Spent another few hrs trying to figure out how to connect my own libraries into the code. editing on eclipse is marginally different however and not quite as noob friendly. I finally did figure it out with educated guessing though.
In Juno its: File-->Import... then select Arduino folder-->Import Arduino libraries in the current project, scroll down and select the libraries you want from the personal libs and hit finish. Your project should compile ok now.
Electronics Engineering student - "E=MC^(OMG x WTF?!)"
Professional Auto Collision/Custom tech

Jantje

Michael
Thanks for removing the video.
As you are using V2 you can select Arduino from the menu and then add library to the selected project.
If your personal library path is set ok you should see your libraries and the arduino libraries just like in the ide.


Best regards
Jantje
Do not PM me a question unless you are prepared to pay for consultancy.
Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -

Asvaldr

Just to confirm for others -
Eclipse 32bit Juno with the V2 plugin and Arduino beta 1.5.4 works on 64bit Windows 8 (i programmed a DUE).

With Kepler, it won't allow project creation for any board (Error attached). So use juno as Jantje says.

Again thank you Jantje; i hope to be able to do as much for the community as you have done already

rodrigozanatta

Lol.. I did have the SAME problem with the Eclipse Kepler in my Mac Os X. I thought it was because I am using Mac, but maybe, everyone have this problem.



I will try to use a older version of Eclipse

Jantje

How lovely to see mac windows and linux so united :-)
I'll take kepler on board for my next V2 release.
best regards
Jantje
Do not PM me a question unless you are prepared to pay for consultancy.
Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -

Jantje

someone made a video on installing.
He handles all issues you may have in windows.
http://www.youtube.com/watch?v=bmBrGRLOn98
Best regards
Jantje
Do not PM me a question unless you are prepared to pay for consultancy.
Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -

Thorfinn

Great plugin, thanks very much - I run my Eclipse from a framework called MyEclipseIDE and it seems to work fine apart from an error dialog when I start it up?

See attached...

I can ignore it, doesn't seem to be causing a problem but thought you might like to know?

I also have a few warnings in the code about 'undefined references' which may be related to how I have referenced the header file (it wasn't found, so I imported it as a library?)

Regards

Chris

Jantje

@Thorfinn
As this is a non supported environment I propose to download the code and do some debugging.
As I don't know which eclipse version my eclipse is based on and which version of the plugin you are using I can not comment on potential version incompatibilities.
Note: Kepler has similar issues as you mention.
The code is available (with kepler fix) at https://github.com/jantje/arduino-eclipse-plugin

Best regards
jantje
Do not PM me a question unless you are prepared to pay for consultancy.
Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -

Thorfinn

I am using the following version of MyEclipse

MyEclipse Enterprise Workbench

Version: 2013 SR2
Build id: 11.0.2-20130823

which I believe is using Eclipse 3.8.1 (Juno ?)

I got your plugin as a ZIP yesterday?

I did notice a post about the version of the Arduino IDE and went from 1.5.4 to 1.5.2 but still get the same message

If I can do anything to help you please ask?

It is not a big problem, I can install a standalone version of Eclipse to run your plugin but it would be good to resolve any issues?

Regards

Chris

Jantje

Eclipse Indigo (3.7)
Eclipse Juno (4.2)
As you are using Arduino IDE 1.5.2 I assume there is no compatible eclipse plugin.
Best regards
Jantje

Do not PM me a question unless you are prepared to pay for consultancy.
Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -

Jantje

A important question for the user community:

The latest version in github works with JAVA7 only. Are there people who need/prefer java6 support?
If you do please post here and argument why you think JAVA6 suppport is needed.

Best regards
Jantje
Do not PM me a question unless you are prepared to pay for consultancy.
Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -

Go Up