User Tools

Site Tools


linux:legomindstorms

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:legomindstorms [2014/01/07 23:39] rlunarolinux:legomindstorms [2022/12/02 22:02] (current) – external edit 127.0.0.1
Line 219: Line 219:
 Then go to the ''build'' directory and run ''ant''. This is for construct the USB support for java.  Then go to the ''build'' directory and run ''ant''. This is for construct the USB support for java. 
  
-<WRAP center round important 60%> 
 In my case, this command failed. The problem was in the ''build.xml'' file located in NXJ_HOME/build/libnxt. I've reconstructed the compiler command:  In my case, this command failed. The problem was in the ''build.xml'' file located in NXJ_HOME/build/libnxt. I've reconstructed the compiler command: 
  
Line 237: Line 236:
     - Locate the usb.h file in your filesystem: ''find / -iname usb.h 2>/dev/null'': in my system this appears in ''/usr/include/usb.h''     - Locate the usb.h file in your filesystem: ''find / -iname usb.h 2>/dev/null'': in my system this appears in ''/usr/include/usb.h''
  
-The fixed command is this:+I've fixed the solution executing the ''make'' command and then:
  
-<code> +<code shell
-gcc -Wall -std=gnu99 -fPIC main_jlibnxt.c -I/usr/include -I/usr/lib/jvm/java-7-openjdk/include -lusb -shared+$ cd NXJ_HOME/build 
 +$ ant
 </code> </code>
  
-</WRAP>+ 
  
  
linux/legomindstorms.1389134356.txt.gz · Last modified: 2022/12/02 22:02 (external edit)