Building lejos_nxj 0.3 under linux

This is where you talk about the NXJ software itself, installation issues, and programming talk.

Moderators: imaqine, 99jonathan, roger

User avatar
Posts: 73
Joined: Tue Apr 24, 2007 12:24 pm

Postby CoBB » Mon Nov 05, 2007 12:08 pm

These are compiler warnings, not errors. If everything works, you don’t need to worry about them.

New User
Posts: 2
Joined: Sat Nov 24, 2007 9:21 pm
Location: Montreal-Quebec-Canada

thanks for all your help :-)

Postby bazmati » Sat Nov 24, 2007 9:38 pm

Shawn wrote:

Code: Select all

       [cc] /home/luca/bin/lejos_nxj/src/libnxt/jlibnxt.h:2:17: error: jni.h: No such   

Ok here is the mother-of-all hacks.

in the :



Thanks Shawn , of all suggestions tried this is the one that allowed me to finally get the ant to work. on Ubuntu 7.10
Then to get the firmware updated i had to do

Code: Select all

marc@freshMarc:~/lejos_nxj/src/libnxt$ lsusb
Bus 004 Device 001: ID 0000:0000 
Bus 003 Device 007: ID 03eb:6124 Atmel Corp.
Bus 003 Device 001: ID 0000:0000 
Bus 002 Device 009: ID 04b3:3018 IBM Corp. UltraNav Keyboard
Bus 002 Device 008: ID 08ec:0011 M-Systems Flash Disk Pioneers
Bus 002 Device 007: ID 04b3:3016 IBM Corp. UltraNav Keyboard Hub
Bus 002 Device 010: ID 06cb:0009 Synaptics, Inc. Composite TouchPad and TrackPoint
Bus 002 Device 001: ID 0000:0000 
Bus 001 Device 003: ID 04a9:1093 Canon, Inc.
Bus 001 Device 001: ID 0000:0000 
marc@freshMarc:~/lejos_nxj/src/libnxt$ sudo chmod a+w /dev/bus/usb/003/007
[sudo] password for marc:
marc@freshMarc:~/lejos_nxj/src/libnxt$ nxjflash
NXJ_HOME is /home/marc/lejos_nxj
Setting fmcn to 50
Checking VM /home/marc/lejos_nxj/bin/lejos_nxt_rom.bin ... VM OK.
Checking Menu /home/marc/lejos_nxj/bin/StartUpText.bin ... Menu OK.
NXT device in reset mode located and opened.
Starting VM flash procedure now...
VM flash complete.
Starting menu flash procedure now...
Menu flash complete.
New firmware started!

* Atmel Corp seem to be the NXT (tried lsusb while plugged in - then while plug off then figured it out) BTW every time you plug unplug ,,, the Device number changes,, keep that in mind.

wooot woot i see the NXJ logo on my NXT brick.... now for the real fun to start!!!
Marc-A --

Return to “NXJ Software”

Who is online

Users browsing this forum: No registered users and 4 guests