Society of Robots - Robot Forum

Software => Software => Topic started by: blackbeard on October 25, 2009, 10:40:12 AM

Title: arduino duemilanove instalation in ubuntu 8.04
Post by: blackbeard on October 25, 2009, 10:40:12 AM
this process seems to be a pain in the bottom. first off i can't find the ftdi drivers since they arn't in the folder contrary to the readme. has anyone successfully installed the arduino in ubuntu 8.04? if so how do you do it
Title: Re: arduino duemilanove instalation in ubuntu 8.04
Post by: chelmi on October 25, 2009, 11:16:35 AM
as far as I remember, you don't need any driver.
Title: Re: arduino duemilanove instalation in ubuntu 8.04
Post by: blackbeard on October 25, 2009, 02:52:35 PM
ok i installed java sdk and wkt2.2 but it didn't work i still get this when i try to start the arduino environment

java.lang.UnsatisfiedLinkError: /home/steven/Desktop/arduino-0017/lib/librxtxSerial.so: /home/steven/Desktop/arduino-0017/lib/librxtxSerial.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch) thrown while loading gnu.io.RXTXCommDriver
Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/steven/Desktop/arduino-0017/lib/librxtxSerial.so: /home/steven/Desktop/arduino-0017/lib/librxtxSerial.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
   at java.lang.ClassLoader$NativeLibrary.load(Native Method)
   at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1778)
   at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1703)
   at java.lang.Runtime.loadLibrary0(Runtime.java:823)
   at java.lang.System.loadLibrary(System.java:1028)
   at gnu.io.CommPortIdentifier.<clinit>(CommPortIdentifier.java:83)
   at processing.app.Editor.populateSerialMenu(Editor.java:911)
   at processing.app.Editor.buildToolsMenu(Editor.java:641)
   at processing.app.Editor.buildMenuBar(Editor.java:434)
   at processing.app.Editor.<init>(Editor.java:181)
   at processing.app.Base.handleOpen(Base.java:739)
   at processing.app.Base.handleOpen(Base.java:709)
   at processing.app.Base.handleNew(Base.java:606)
   at processing.app.Base.<init>(Base.java:346)
   at processing.app.Base.main(Base.java:239)

Title: Re: arduino duemilanove instalation in ubuntu 8.04
Post by: Razor Concepts on October 25, 2009, 04:31:19 PM
Using a virtual box should be the easiest way.
Title: Re: arduino duemilanove instalation in ubuntu 8.04
Post by: blackbeard on October 25, 2009, 04:47:19 PM
ya maybe. you mean installing windows in linux? i mean isn't the arduino supposed to be open source :P
Title: Re: arduino duemilanove instalation in ubuntu 8.04
Post by: robotguy on October 27, 2009, 11:25:08 AM
ok i installed java sdk and wkt2.2 but it didn't work i still get this when i try to start the arduino environment
Did you follow the exact instructions found at http://www.arduino.cc/playground/Learning/Linux (http://www.arduino.cc/playground/Learning/Linux) ? This is all that is required.

8-Dale
Title: Re: arduino duemilanove instalation in ubuntu 8.04
Post by: awally88 on November 08, 2009, 10:17:16 PM
If you have the Arduino with the 328 rather than the 168 it wont work on Ubuntu Hardy 8.04 without compiling gcc from source or upgrading your distro, the version of gcc-avr doesn't have support for 328 and because 8.04 is a LTS (Long Term Support) it wont automatically upgrade gcc as it may make it more unstable for someone who is using a particular feature of it.

My advice would be to either upgrade to the latest version (Karmic Koala) or run Karmic or Windows in a virtulisation eg Virtualbox.