Go Down

Topic: Official plugin for Netbenas and Ecclipse (Read 1 time) previous topic - next topic

Aiacos

will be possible to have an official plugin that supports Arduino to 100% of NetBeans and Eclipse? would be a great help to all developers

PaulS

Quote
would be a great help to all developers

No, it wouldn't. I'd never use it.

Robin2

How would it be better than Gedit and the Arduino IDE?

...R

jaques

#3
Oct 07, 2013, 05:05 am Last Edit: Oct 07, 2013, 05:35 am by jaques Reason: 1
Hello!

This NetBeans plugin is working very well for my projects: http://plugins.netbeans.org/plugin/46054/arduino

For the plugin work properly, the original IDE must placed in a path without spaces, like c:\arduino-1.0.5.

I'm currently maintaining this opensource project. Help or troubles, please contact me.

Att,
Jaques

westfw

Quote
possible to have an official plugin that supports Arduino to 100% of NetBeans and Eclipse?

Official from whom?  It seems unlikely that the Arduino team would do this.  If you want the netbeans or Eclipse people to support Arduino, you're probably asking in the wrong place.

jfri


Hello!

This NetBeans plugin is working very well for my projects: http://plugins.netbeans.org/plugin/46054/arduino

For the plugin work properly, the original IDE must placed in a path without spaces, like c:\arduino-1.0.5.

I'm currently maintaining this opensource project. Help or troubles, please contact me.

Att,
Jaques


I'm trying to use precisely that plugin. I have followed the instructions in
http://arduino-netbeans.googlecode.com/files/Install.pdf
After that when I try to build a simple test sketch I get this message

avr-ar rcs lib/core/arduinocore.a 
avr-ar: lib/core/arduinocore.a: No such file or directory
make: *** [lib/core/arduinocore.a] Error 1


BUILD FAILED (exit value 2, total time: 250ms)


core

For Windows the Makefile seems a bit fragile.  I saw the same issue as jfri.  Eventually, I fixed the problem by making sure:
  • both my NetBeans project and the Arduino install was on the same Windows Drive (same drive letter)
  • there was no drive letter nor absolute path in the Makefile (e.g. used ../../arduino-1.5.2/restOfPath).  Changed so project Makefile referred to the Arduino install path as a relative path.  It would probably be best to always place it in parallel with your project directory

wlfbck

#7
Today at 12:42 am Last Edit: Today at 07:37 pm by wlfbck Reason: solved my question and got a new one
Hey, how did you acquire the arduinocore.a and arduinolibs.a for the netbeans plugin? I already tried compiling the core into a static library (successfully), but i can't get the libs to work. They throw a lot of errors, including some i'm unsure of. So, yeah, any advice on how to get those two libraries is appreciated :)

edit: Nevermind that. The plugin generates those for you. yay! :)

So all that isn't working except being in accordance to all guides is the "make upload" on hitting "run", but i'll figure that one out eventually. For some reason it tries this lol:
Code: [Select]
Cannot run program "make" (in directory "C:\Users\Wolff\Documents\NetBeansProjects\ArduinoTest"): CreateProcess error=2, The system cannot find the file specified



Which obviously doesn't work, i have no idea why it's trying to use a make in there, i specified this make in the build chain:
Code: [Select]
C:\Arduino\hardware\tools\avr\utils\bin\make.exe

Go Up