We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
Serial.ports() error (Read 3229 times)
Serial.ports() error
May 2nd, 2010, 8:39pm
 
Just loaded Processing 1.1 on my new 64 bit Windows 7 machine. Tried to run the Simple Read program in the Serial Library examples. I get an "Error in side Serial.ports()". Here's the first part of the error message:

java.lang.UnsatisfiedLinkError: C:\Shared\Processing\processing-1.1\libraries\serial\library\rxtxSerial.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform thrown while loading gnu.io.RXTXCommDriver

I tried to find more info in this forum, but nothing I read is quite like this. I deleted all RXTX items except the very latest that downloaded with my new version of Processing.

Can anyone tell me what might be going on and how I might fix it??

Re: Serial.ports() error
Reply #1 - May 3rd, 2010, 12:03am
 
I believe the message tells exactly what is happening:
"Can't load IA 32-bit .dll on a AMD 64-bit platform"

There have been others with this problem. A few hops from Google came up with this:
http://www.cloudhopper.net/opensource/rxtx/index.html

Or you could try to compile RXTX on your system since it is open source.
Re: Serial.ports() error
Reply #2 - May 5th, 2010, 8:56pm
 
Went to the website you suggested, downloaded the 64 bit version, put it in to replace the version that came with my latest version of Processing, and - Shazam! - worked perfectly!

Thank you, thank you, thank you.
Page Index Toggle Pages: 1