I'm just now starting to look at lejos again after spending quite a bit of time away from it.  I had previously been using lejos on a PC, but now I only own a Mac.  

I started by trying to grab the 2.1.0 release, but I couldn't seem to make my tower communicate with the brick (tower was recognized, but could never find the brick).  So, I decided I'd try grabbing the latest from CVS (since I was seeing lots of discussion about 3.0 anyway) and see where that would get me.

I found a post in the mailing list archives from March 9th where Christian and some others were talking about trying to make 3.0 work on OSX.  However, I didn't see anything by way of update since since so I wasn't sure where the Mac stuff stood.

Should I expect to get anything working under OSX?  I'm on an Intel Mac running 10.4.6, Java 1.5, and gcc 4.0.1.  What I'm seeing is that I can successfully build everything, but when I try to run anything that uses the tower I get an UnsatisifiedLinkError.  It does not appear to be a java.library.path issue (although I may be wrong here) because when I move the .dylib and .jnilib completely out of the lejos/bin directory I get a message about not being able to locate jirtrcx in java.library.path before I get the link error (I don't get this message when the libs are in the bin directory).  Here's the output I see from running firmdl:

read firmware srec
  100%
Segment 0: length = 14578
Segment 1: length = 2940
Installing firmware
Loading native libs
Unable to load native libraries: /Users/george/lejos/bin/libjirtrcx.jnilib:
Exception in thread "main" java.lang.UnsatisfiedLinkError: close
        at josx.rcxcomm.Tower.close(Native Method)
        at josx.rcxcomm.Tower.closeTower(Tower.java:55)
        at js.tools.Download.close (Download.java:88)
        at js.tools.FirmdlTool.start(FirmdlTool.java:124)
        at js.tools.FirmdlTool.start(FirmdlTool.java:46)
        at js.tools.Firmdl.start(Firmdl.java:75)
        at js.tools.Firmdl.main (Firmdl.java:35)

Any ideas?  Am I better off abandoning this route and going back to trying to make 2.1.0 work on my machine?

Thanks,

rrp
_______________________________________________
Lejos-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lejos-discussion

Reply via email to