jung6717 / arduino

Automatically exported from code.google.com/p/arduino
0 stars 0 forks source link

Include support for 64-bit version of the RXTX library (Mac OS X) #172

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Attempting to run the included library for serial comms on Snow Leopard 
(Mac OS 10.6) fails because the available image is not included.

Attached is the correct version that also supports previous version of Mac 
OS/10. 

This chap built it http://blog.iharder.net/2009/08/18/rxtx-java-6-and-
librxtxserial-jnilib-on-intel-mac-os-x/

Original issue reported on code.google.com by richard....@gmail.com on 6 Jan 2010 at 6:37

Attachments:

GoogleCodeExporter commented 9 years ago
Can you give more information about the problem you're seeing?  I'm able to run 
Arduino 0017 and the 
upcoming Arduino 0018 fine in Snow Leopard.

Original comment by dmel...@gmail.com on 6 Jan 2010 at 7:59

GoogleCodeExporter commented 9 years ago
I am using -16, which is what was available for download from the arduino site.

If you ask the library what architectures it supports you get this:

file librxtxSerial.jnilib 
librxtxSerial.jnilib: Mach-O universal binary with 2 architectures
librxtxSerial.jnilib (for architecture i386):   Mach-O bundle i386
librxtxSerial.jnilib (for architecture ppc):    Mach-O bundle ppc

The file I attached has this:

file librxtxSerial.jnilib 
librxtxSerial.jnilib: Mach-O universal binary with 4 architectures
librxtxSerial.jnilib (for architecture x86_64): Mach-O 64-bit bundle x86_64
librxtxSerial.jnilib (for architecture i386):   Mach-O bundle i386
librxtxSerial.jnilib (for architecture ppc7400):    Mach-O bundle ppc
librxtxSerial.jnilib (for architecture ppc64):  Mach-O 64-bit bundle ppc64

Original comment by richard....@gmail.com on 6 Jan 2010 at 9:26

GoogleCodeExporter commented 9 years ago
I see in 17 you have forced the JDK to use 32bit and this are not having the 
problem. 
The attached rxtx lib should be updated but I can see it is not necessary given 
the 
forcing of 32 bit.

Original comment by richard....@gmail.com on 6 Jan 2010 at 9:41

GoogleCodeExporter commented 9 years ago

Original comment by dmel...@gmail.com on 28 Jan 2010 at 8:43

GoogleCodeExporter commented 9 years ago
Note that the above link is broken but I found the pre-compiled version here:

  http://iharder.sourceforge.net/current/java/

FWIW I tested this version with an unreleased version of the Arduino IDE and 
after modifying the 'Info.plist' file, replacing the shipped 
'JavaApplicationStub' file with the one from 
'/System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub
' and using the new library at least the serial monitor worked successfully. (I 
couldn't test anything else.)

Original comment by follower@gmail.com on 13 Jun 2012 at 6:40

GoogleCodeExporter commented 9 years ago
On latest IDE 1.5.6 we moved from RXTX to JSSC that provides a 64 bit version.

Original comment by c.mag...@arduino.cc on 21 Feb 2014 at 10:14