nxjflash not in tar ball - linux

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

Moderators: 99jonathan, roger, imaqine

nxjflash not in tar ball - linux

Postby wyojustin » Mon Jul 23, 2007 12:48 am

In the readme file, I am instructed to "Flash the leJOS NXJ firmware using nxjflash." I can't seem to find the file. Here is the contents of the bin directory.

lejos_nxt_rom.bin
lejos_nxt_samba_ram.bin
nxj
nxjbrowse
nxjc
nxjlink
nxjupload
StartUpText.bin


The name of the tarball is lejos_NXJ_0_3_0alpha.tar.gz.

Any clues?

PS thanks for lejos.
________
NEW MEXICO MARIJUANA DISPENSARY
Last edited by wyojustin on Mon Feb 14, 2011 4:01 pm, edited 1 time in total.
wyojustin
New User
 
Posts: 6
Joined: Mon Jul 23, 2007 12:39 am

Postby lawrie » Mon Jul 23, 2007 5:22 pm

You need to follow the instructions for building the release on Linux.

You do:

cd $NXJ_HOME/build
ant

This should build nxjflash etc. and copy it to the bin directory.
lawrie
leJOS Team Member
 
Posts: 922
Joined: Mon Feb 05, 2007 1:27 pm

Similar problem in OSX

Postby hhowe » Sun Jul 29, 2007 12:51 am

I have had the same issue as wyojustin - only on Mac OSX.

When I try to perform "ant" from the build folder, however, I get an error.

The error starts with:

Code: Select all
 [cc] In file included from /Applications/lejos_nxj/src/libnxt/main_jlibnxt.c:29:
[cc] /Applications/lejos_nxj/src/libnxt/jlibnxt.h:2:17: error: jni.h: No such file or directory

and goes on for about 100 lines. It concludes:

Code: Select all
/Applications/lejos_nxj/build/build.xml:65: The following error occurred while executing this line:
/Applications/lejos_nxj/src/libnxt/build.xml:126: gcc failed with return code 1


... so now what do I do?
hhowe
New User
 
Posts: 2
Joined: Sat Jul 28, 2007 8:44 pm


Return to NXJ Software

Who is online

Users browsing this forum: No registered users and 3 guests

more stuff