Before asking tons of questions about the IDE and the Due I want to make sure I use the newest version for my testing. I'm feeling quite dumb, as I did not find out how to start the thing yet.GitHub - arduino/Arduino: Arduino IDE 1.x
OutOfLine:
Before asking tons of questions about the IDE and the Due I want to make sure I use the newest version for my testing. I'm feeling quite dumb, as I did not find out how to start the thing yet.GitHub - arduino/Arduino: Arduino IDE 1.x
Didn't come further with this one, still interested in hints...
I have found nightly builds on http://arduino.cc/en/Main/Software
(how could I have overlooked them before?)
and thought this would be an easy solution...
but no, not that easy
On Debian/Wheezy 64bit I'm getting:
dada@i5:~$ ./arduino-nightly/arduino
java.lang.UnsatisfiedLinkError: /home/dada/arduino-nightly/lib/librxtxSerial.so: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.15' not found (required by /home/dada/arduino-nightly/lib/librxtxSerial.so) thrown while loading gnu.io.RXTXCommDriver
Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/dada/arduino-nightly/lib/librxtxSerial.so: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.15' not found (required by /home/dada/arduino-nightly/lib/librxtxSerial.so)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1750)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1675)
at java.lang.Runtime.loadLibrary0(Runtime.java:840)
at java.lang.System.loadLibrary(System.java:1047)
at gnu.io.CommPortIdentifier.<clinit>(CommPortIdentifier.java:83)
at processing.app.Editor.populateSerialMenu(Editor.java:984)
at processing.app.Editor.buildToolsMenu(Editor.java:703)
at processing.app.Editor.buildMenuBar(Editor.java:484)
at processing.app.Editor.<init>(Editor.java:212)
at processing.app.Base.handleOpen(Base.java:809)
at processing.app.Base.handleOpen(Base.java:774)
at processing.app.Base.handleNew(Base.java:672)
at processing.app.Base.<init>(Base.java:391)
at processing.app.Base.main(Base.java:207)
Is that a library that is too old on updated Debian Wheezy?
Or what's wrong?
Thanks a lot, I did not know about ant.
So this is a huge step forward.
'ant build' fails, why?
dada@i5:~$ git clone git://github.com/arduino/Arduino.git
Cloning into 'Arduino'...
remote: Counting objects: 39380, done.
remote: Compressing objects: 100% (12778/12778), done.
remote: Total 39380 (delta 23783), reused 37694 (delta 22893)
Receiving objects: 100% (39380/39380), 1.15 GiB | 477 KiB/s, done.
Resolving deltas: 100% (23783/23783), done.
dada@i5:~$
dada@i5:~$ cd Arduino/build/
dada@i5:~/Arduino/build$ ant clean
Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-6-openjdk-amd64/lib/tools.jar
Buildfile: /home/dada/Arduino/build/build.xml
subprojects-clean:
clean:
clean:
linux-clean:
windows-clean:
macosx-clean:
clean:
BUILD SUCCESSFUL
Total time: 0 seconds
dada@i5:~/Arduino/build$ ant build
Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-6-openjdk-amd64/lib/tools.jar
Buildfile: /home/dada/Arduino/build/build.xml
build:
revision-check:
linux-checkos:
subprojects-build:
compile:
[methods] No changes to PApplet API.
[mkdir] Created dir: /home/dada/Arduino/core/bin
BUILD FAILED
/home/dada/Arduino/build/build.xml:35: The following error occurred while executing this line:
/home/dada/Arduino/build/build.xml:67: The following error occurred while executing this line:
/home/dada/Arduino/core/build.xml:19: Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "/usr/lib/jvm/java-6-openjdk-amd64/jre"
Total time: 0 seconds
dada@i5:~/Arduino/build$
cmaglie:
you need to make the JAVA_HOME point to a JDK, currently it points to a JRE.
After tinkering a bit I have installed debian package 'default-jdk' and 'ant build' runs fine now.
But I still get the same error as from the nightly build, quoted in the second post of this thread.
/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.15' not found (required by /home/dada/arduino-nightly/lib/librxtxSerial.so)
Does this mean that the new Arduino ide depends on a newer glibc version than I have on Debian Wheezy?
I see that the librxtxSerial.so in the 1.5.2 differs from the latest in github repository, maybe I messed up with git.
Now I've reverted that file back to the original found in 1.5.2, may you update your repository and retry?
(all this mess because we experimented an update to rxtx library and reverted back to the old version due to some incompatibility issues)