Quantcast
Channel: Processing Forum
Viewing all articles
Browse latest Browse all 1768

rxtx problem.

$
0
0
Hello. I have got problem which serial port.
My error

WARNING:  RXTX Version mismatch
Jar version = RXTX-2.2pre1
native lib Version = RXTX-2.2pre2 



   and download rxtx-2.1-7-bins-r2.zip from "Binary" column.
goto C:\Users\Downloads\rxtx-2.1-7-bins-r2.zip\rxtx-2.1-7-bins-r2 
   and copy RXTXcomm to 
   C:\Program Files\processing-1.5.1\java\lib\ext
goto C:\Users\Downloads\rxtx-2.1-7-bins-r2.zip\rxtx-2.1-7-bins-r2\Windows\i368-mingw32
   and copy both rxtxParallel.dll and rxtxSerial.dll to
   C:\Program Files\processing-1.5.1\java\bin
 
filepath was a litte bit different
I copied  RXTXcomm to processing-1.5.1\modes\java\libraries\serial\library
And also rxtxParallel.dll and rxtxSerial.dll files to processing-1.5.1\modes\java\libraries\serial\bin
When I run SimpleRead example I have got true errors.
  1. java.lang.UnsatisfiedLinkError: D:\programy\processing\processing-1.5.1\modes\java\libraries\serial\library\windows64\rxtxSerial.dll: Can't find dependent libraries thrown while loading gnu.io.RXTXCommDriver
  2. java.lang.UnsatisfiedLinkError: D:\programy\processing\processing-1.5.1\modes\java\libraries\serial\library\windows64\rxtxSerial.dll: Can't find dependent libraries
  3. at java.lang.ClassLoader$NativeLibrary.load(Native Method)
  4. at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1807)
  5. at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1732)
  6. at java.lang.Runtime.loadLibrary0(Runtime.java:823)
  7. at java.lang.System.loadLibrary(System.java:1028)
  8. at gnu.io.CommPortIdentifier.<clinit>(CommPortIdentifier.java:123)
  9. at processing.serial.Serial.list(Unknown Source)
  10. at SimpleRead.setup(SimpleRead.java:43)
  11. at processing.core.PApplet.handleDraw(Unknown Source)
  12. at processing.core.PApplet.run(Unknown Source)
  13. at java.lang.Thread.run(Thread.java:662)
  14. Exception in thread "Animation Thread" java.lang.RuntimeException: Error inside Serial.ports()
  15. at processing.serial.Serial.errorMessage(Unknown Source)
  16. at processing.serial.Serial.list(Unknown Source)
  17. at SimpleRead.setup(SimpleRead.java:43)
  18. at processing.core.PApplet.handleDraw(Unknown Source)
  19. at processing.core.PApplet.run(Unknown Source)
  20. at java.lang.Thread.run(Thread.java:662)
I do not know where the problem is?
Maybe I copied rxtxParallel.dll and rxtxSerial.dll files to wrong folder?
Thanks for any reply:)





Viewing all articles
Browse latest Browse all 1768

Trending Articles