Post your NXJ projects, project ideas, etc here!
Moderators: roger, imaqine, 99jonathan
- New User
- Posts: 2
- Joined: Thu Feb 13, 2014 1:08 am
Currently I can use nxt browse to upload the lejos nxt project in my NXT brick.Which works perfectly with no errors.
But if I use lejos pc project using example provided by org.lejos.pcexample, it simply tell me there is error messages.
The log is as followed:
USBSend Log.listener: Error: Failed to load USB comms driver.
USBSend Log.listener: Caused by lejos.pc.comm.NXTCommException: Cannot load NXTComm driver
USBSend Log.listener: at lejos.pc.comm.NXTCommFactory.newNXTCommInstance(NXTCommFactory.java:110)
USBSend Log.listener: Caused by lejos.internal.jni.JNIException: cannot load library /Users/Kenny/leJOS_NXJ/lib/pc/native/macosx/native/macosx/libjfantom.jnilib, architecture macosx/x86_64
USBSend Log.listener: at lejos.internal.jni.JNILoader.loadLibrary(JNILoader.java:121)
USBSend Log.listener: Caused by java.lang.UnsatisfiedLinkError: /Users/Kenny/leJOS_NXJ/lib/pc/native/macosx/native/macosx/libjfantom.jnilib: no suitable image found. Did find: /Users/Kenny/leJOS_NXJ/lib/pc/native/macosx/native/macosx/libjfantom.jnilib: no matching architecture in universal wrapper
USBSend Log.listener: at java.lang.ClassLoader$NativeLibrary.load(Native Method)
USBSend Log.listener: Failed to find any NXTs
USBSend Log.listener: Failed to connect to any NXT
No NXT found using USB
Any ideas which part did I went wrong?
I am using OS X Marvericks 10.9 using usb connection.
- leJOS Team Member
- Posts: 5334
- Joined: Fri Sep 28, 2007 2:06 pm
- Location: UK
How are you running your program? Take a look at the shell script used to run nxjbrowse and make sure you are using a similar method. It looks like you are using a 64bit JVM to run your program with, the Lego driver toolkit only works with 32bit JVMs.
- New User
- Posts: 1
- Joined: Wed Apr 22, 2015 9:01 pm
I have the same problem, and I installed a windows xp 32bit virtual machine on my mac.
Return to “NXJ Projects”
Who is online
Users browsing this forum: No registered users and 2 guests