Pages: 1 ... 6 7 [8] 9 10 ... 13   Go Down
Author Topic: Arduino Eclipse Plugin <Update>  (Read 66032 times)
0 Members and 1 Guest are viewing this topic.
Germany
Offline Offline
Jr. Member
**
Karma: 0
Posts: 95
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

What's your operating system? I'm using Kubuntu 11.10 on my notebook and get the same error while trying to install. On the PC with Fedora 16 it's working fine.
Logged

Centurion RSA
Offline Offline
Full Member
***
Karma: 0
Posts: 166
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

@And1D
I am using Windows 7. with Helios Eclipse.
Logged

Rather people think you to be a fool than you open your mouth and confirm it.

Belgium
Offline Offline
Edison Member
*
Karma: 68
Posts: 1917
Arduino rocks; but with my plugin it can fly rocking the world ;-)
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Marius
Indigo is the 2011 release http://www.eclipse.org/indigo/
Helios is the 2010 release http://www.eclipse.org/helios/
It may be that org.eclipse.cdt.managedbuilder.ui 8.0.0 was not part of the 2010 release
Best regards
Jan
Logged

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 -

Germany
Offline Offline
Jr. Member
**
Karma: 0
Posts: 95
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Just solved the problem for me by adding the Eclipse Update-Repo: http://download.eclipse.org/releases/indigo/
I am using Indigo, version 3.7.0 from the Ubuntu Repositories, maybe I missed a package?
These are the available ones, those I installed are bold:

eclipse                eclipse-emf            eclipse-emf-sdk        eclipse-pde            eclipse-platform-data  eclipse-rse            eclipse-xsd-sdk       
eclipse-cdt            eclipse-emf-examples   eclipse-jdt            eclipse-platform       eclipse-rcp            eclipse-xsd

At least from the description, the other packages don't look like they have to be installed:

Code:
andreas@ANDILAPTOP:~$ LANG=en_US apt-cache show eclipse-emf
Package: eclipse-emf
Priority: optional
Section: universe/java
Installed-Size: 5596
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Architecture: all
Version: 2.5.0-1
Depends: default-jre | java5-runtime | java6-runtime, eclipse-platform (>= 3.5.2)
Filename: pool/universe/e/eclipse-emf/eclipse-emf_2.5.0-1_all.deb
Size: 4399242
MD5sum: 8ab2d1d7fd2ee9258552b1d148a1b38e
SHA1: 1e736327a1c6ce26f7684232ad6d6ba320fcf658
SHA256: a01204b9fd8a77d5ef36fc7a806c4712d2db9a1bb666cf321d34be73612cf316
Description-en: Eclipse Modeling Framework (EMF)
 The Eclipse Modeling Framework (EMF) allows developers to build tools and
 other applications based on a structured data model. From a model
 specification described in XMI, EMF provides tools and runtime support to
 produce a set of Java classes for the model, along with a set of adapter
 classes that enable viewing and command-based editing of the model, and a
 basic editor.
Homepage: http://www.eclipse.org/emf
Description-md5: e69740fa93be495e9d51f2e0a423ce03
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu

andreas@ANDILAPTOP:~$ LANG=en_US apt-cache show eclipse-rse
Package: eclipse-rse
Priority: optional
Section: universe/java
Installed-Size: 19048
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian Orbital Alignment Team <pkg-java-maintainers@lists.alioth.debian.org>
Architecture: all
Version: 3.1.2-1
Depends: default-jre | java5-runtime | java6-runtime, eclipse-emf (>= 2.0.8), eclipse-platform (>= 3.5.2)
Filename: pool/universe/e/eclipse-rse/eclipse-rse_3.1.2-1_all.deb
Size: 16353940
MD5sum: 2d1d5c88610e0ec27bd7badec878a0a0
SHA1: ab2acee4e1077f07ad2f3b86cf6eff4c903d06d3
SHA256: ca83f5eba18d637ad088212d83f8b1f66bb1ee95477775a3cf35ed88f59ba871
Description-en: Eclipse Remote System Explorer (RSE)
 Remote System Explorer is a framework and toolkit in Eclipse Workbench
 that allows you to connect and work with a variety of remote systems.
 .
 RSE is a framework and toolkit in Eclipse Workbench, that allows you
 to connect and work with a variety of remote systems, including
 .
    * remote file systems through SSH, FTP or dstore agents,
    * remote shell access (compiling with error navigation),
    * remote process handling through dstore agents,
    * and remote debugging through CDT / gdb.
Homepage: http://www.eclipse.org/dsdp/tm/
Description-md5: 238e55b33a060bc80a8e678f48e67e65
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu

andreas@ANDILAPTOP:~$ LANG=en_US apt-cache show eclipse-rcp
Package: eclipse-rcp
Priority: optional
Section: universe/devel
Installed-Size: 11796
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian Orbital Alignment Team <pkg-java-maintainers@lists.alioth.debian.org>
Architecture: amd64
Source: eclipse
Version: 3.7.0-0ubuntu1
Replaces: eclipse-rcp-gcj, libswt-gtk-3.4-java, libswt-gtk-3.4-jni, libswt-gtk-3.5-jni (<< 3.5.1+repack), libswt3.2-gtk-gcj, libswt3.2-gtk-java, libswt3.2-gtk-jni
Depends: default-jre | java5-runtime | java6-runtime, libequinox-osgi-java (= 3.7.0-0ubuntu1), libicu4j-4.4-java (>= 4.4.2), libatk1.0-0 (>= 1.12.4), libc6 (>= 2.7), libcairo2 (>= 1.2.4), libglib2.0-0 (>= 2.12.0), libgtk2.0-0 (>= 2.8.0), libsoup2.4-1 (>= 2.26.1), libwebkitgtk-1.0-0 (>= 1.3.10), libxtst6
Recommends: libgl1-mesa-glx | libgl1, libgnomeui-0 (>= 2.22.0), libgnomevfs2-0 (>= 1:2.17.90)
Suggests: eclipse
Filename: pool/universe/e/eclipse/eclipse-rcp_3.7.0-0ubuntu1_amd64.deb
Size: 9206028
MD5sum: a63c7909affd89ebccad74828dc10779
SHA1: 1a18740081b9240474d6c17a796d0e28113cc45a
SHA256: b20225f03dca5cf9461b5ac2ad29405f61a6df67256ce2efa6cee6a69dd251cc
Description-en: Eclipse Rich Client Platform (RCP)
 The Eclipse Platform is an open and extensible platform for anything and yet
 nothing in particular. It provides a foundation for constructing and running
 integrated software-development tools. The Eclipse Platform allows tool
 builders to independently develop tools that integrate with other people's
 tools so seamlessly you can't tell where one tool ends and another starts.
 .
 This package includes only the Eclipse Rich Client Platform (RCP), which is
 the basis upon other Eclipse-based applications are built. It does not
 include any development plug-ins. These are available on different packages:
 .
  * eclipse-jdt Java Development Tools
  * eclipse-pde Plug-in Development Tools
  * eclipse Complete development environment
 .
 This package is the basis for all Eclipse applications.
Homepage: http://www.eclipse.org/
Description-md5: d6ca6e58221bde47c10d03c757d983db
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu

andreas@ANDILAPTOP:~$ LANG=en_US apt-cache show eclipse-xsd
Package: eclipse-xsd
Priority: optional
Section: universe/java
Installed-Size: 1708
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Architecture: all
Source: eclipse-emf
Version: 2.5.0-1
Depends: default-jre | java5-runtime | java6-runtime, eclipse-emf (= 2.5.0-1)
Filename: pool/universe/e/eclipse-emf/eclipse-xsd_2.5.0-1_all.deb
Size: 1302130
MD5sum: 20f12661fd0a1a20be5423a1c570ad49
SHA1: 4491e182f3b4e162329b35d32653e7cacf8d8932
SHA256: e5de0e30ae89826fd129d829a9fa0eb0db00a3e762e6c70814589d746c378eff
Description-en: XML Schema Definition (XSD) for Eclipse
 The XML Schema Definition (XSD) plugin is a library that provides an API for
 manipulating the components of an XML Schema as described by the W3C XML
 Schema specifications, as well as an API for manipulating the DOM-accessible
 representation of XML Schema as a series of XML documents.
Homepage: http://www.eclipse.org/emf
Description-md5: f4253d1c7ee4828b1ca2847d1febd3aa
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Logged

Belgium
Offline Offline
Edison Member
*
Karma: 68
Posts: 1917
Arduino rocks; but with my plugin it can fly rocking the world ;-)
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

And1G
It is the eclipse and eclipse-cdt you needed
you may have needed eclipse-platform-data and eclipse-platform
you don't need eclipse-pde  eclipse-jdt     
Best regards
Jantje
Logged

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 -

Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

HI,

when I try to upload a programmer to my Arduino I get the following error: "avrdude: ser_open(): can't open device "411": No such file or directory" and "ioctl("TIOCMGET"): Inappropriate ioctl for device"



I've checked the port, and Arduino Uno is using port 411. (/dev/tty.usbmodem411)

Am I entering the port number in the wrong format? any suggestion?
Logged

Belgium
Offline Offline
Edison Member
*
Karma: 68
Posts: 1917
Arduino rocks; but with my plugin it can fly rocking the world ;-)
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi
You should use /dev/tty.usbmodem411 and not 411.
Best regards
Jantje
Logged

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 -

Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey,

it worked. Thanks!  smiley-razz smiley-lol
Logged

Germany
Offline Offline
Jr. Member
**
Karma: 0
Posts: 95
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Has anyone here used this DS1307 library with the Eclipse Plugin by Jantje? https://github.com/davidhbrown/RealTimeClockDS1307

With the Arduino IDE the library example compiles fine. But with Eclipse the compiler struggles over this construct:
Code:
  #if defined(ARDUINO) && ARDUINO >= 100
  #include "Arduino.h"
  #else
  #include "WProgram.h"
  #endif

When I hover ARDUINO, Eclipse tells me the macro expansion is 0100 but the inclusion of Arduino.h is greyed out, so WProgram.h gets included. When I now try to compile, obviously WProgram.h cannot be found.

Has anybody a solution for this?
Where is ARDUINO defined? I have not found it in Arduino.h or any of the other header files...
Logged

Belgium
Offline Offline
Edison Member
*
Karma: 68
Posts: 1917
Arduino rocks; but with my plugin it can fly rocking the world ;-)
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi
The defenition of ARDUINO=0100 is done by the eclipse plugin based on the revisions.txt in the arduino folder.
To be honest I don't know why the compiler thinks 0100 is not equal to 100
I use the following code and that works fine
Code:
  #if defined(ARDUINO) && ARDUINO > 99
  #include "Arduino.h"
  #else
  #include "WProgram.h"
  #endif
Best regards
Jantje
Logged

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 -

Centurion RSA
Offline Offline
Full Member
***
Karma: 0
Posts: 166
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
To be honest I don't know why the compiler thinks 0100 is not equal to 100

Defines are literal. you define a pattern not a value - so 0100 is not the same as 100 in pattern but in value they are the same. If it is substituted in an equation it will be evaluated as 100. Very strange but literal or like a string rather.
Logged

Rather people think you to be a fool than you open your mouth and confirm it.

Belgium
Offline Offline
Edison Member
*
Karma: 68
Posts: 1917
Arduino rocks; but with my plugin it can fly rocking the world ;-)
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi
I released version 1.2.0 of the plugin
The improvements.
  • You now get the list of available com ports at the places where you can enter the com port.
  • The mega now gets reset before uploading (you no longer need to press the reset button yourself on the mega)
  • The bug that a project has to be selected when importing a library has been fixed
  • The bug that the "pro mini" could not be selected is fixed.
  • The config file for AVR dude is now correctly set on Mac
The plugin is available as always on "eclipse.baeyens.itupdate site"
Best regards
Jantje
Logged

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 -

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Jantje, I'd really like to try out your Eclipse plugin, but it seems like your update site (http://www.baeyens.it/eclipse/update%20site/) is blocked.  I've tried it from a couple different ISPs and get the 403 Forbidden error ("You don't have permission to access /eclipse/update site/ on this server.")  Can you look into this?

Thanks,
Bjorn
Logged

Belgium
Offline Offline
Edison Member
*
Karma: 68
Posts: 1917
Arduino rocks; but with my plugin it can fly rocking the world ;-)
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Bjorn
Have you read the documentation available at http://eclipse.baeyens.it/ ?
More specifically: Did you follow the installation instructions at http://eclipse.baeyens.it/Install.html
Best regards
Jantje
Logged

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 -

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yep, I followed the directions.  I put the URL into Eclipse and it was giving me errors about not being able to find the repository.  I tried it many times last night, and couldn't get it to work...but now it worked.  Sorry, I guess I did something wrong.  I didn't realize Eclipse was adding it to the list of repositories every time, even though it wasn't working.  It would seem deleting them all just now made it start working.  Whatever happened...at least it works now.  Sorry to blame your server, it looks like it was my fault.  Thanks!  I'm looking forward to using Eclipse for Arduino development!
Logged

Pages: 1 ... 6 7 [8] 9 10 ... 13   Go Up
Jump to: