Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarifications with the dependencies #4

Open
frankcarey opened this issue Sep 19, 2012 · 2 comments
Open

Clarifications with the dependencies #4

frankcarey opened this issue Sep 19, 2012 · 2 comments

Comments

@frankcarey
Copy link

I had a bit of a nightmare getting the Driver app to work with Mac.

I tried installing the apache commons math and RXTX dependencies in "special" directories but kept getting dependency errors while running "ant".

Finally I just put the following into the /lib folder and it finally built without errors.

RXTXcomm.jar
commons-math-2.2.jar
librxtxSerial.jnilib

Also note that RXTX has issues on mac w/ 64 bit only Java (Lion+). So you have to either build from scratch via CVS and some changes to the build script or use a prebuilt one for 2.1-8 found on the net (not available at their homepage). I used this one http://blog.iharder.net/2009/08/18/rxtx-java-6-and-librxtxserial-jnilib-on-intel-mac-os-x/

It also looks like RXTX for mac requires version 2.1-8..

"Versions prior to 2.1-8 use lock files, which is not the MacOS X way of doing things, and therefore has issues. For this reason make sure that you have version 2.1-8 or higher, which makes use of I/O Kit. At this point in time 2.1-8 is only availble from CVS, in source form. See the section Retrieving Source Code, on getting the latest code - be sure to get the code from the 'gnu.io' branch."

@frankcarey
Copy link
Author

You might also consider using one of the forks listed at the rxtx site, like http://code.google.com/p/nrjavaserial/ I have no idea what code changes would be required, but there are packages available for mac and use much more recent code than the downloads at rxtx's main site.

@frankcarey
Copy link
Author

Another snag that I ran into when trying to use my arduino on a mac after installing the rxtx libraries. I would get "serial port in use" even though nothing was seemingly using it. This fixed the issue. http://marcosc.com/2011/10/arduino-java-error-serial-port-already-in-use/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant