linux:legomindstorms
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux:legomindstorms [2014/01/07 23:14] – [Second Attempt: LEJOS] rlunaro | linux:legomindstorms [2022/12/02 22:02] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 189: | Line 189: | ||
$ sudo apt-get install ant | $ sudo apt-get install ant | ||
</ | </ | ||
+ | |||
+ | And should have '' | ||
+ | |||
+ | <code shell> | ||
+ | sudo apt-get install libusb-dev | ||
+ | </ | ||
+ | |||
+ | After doing that, make sure that the usb.h file is available in your destination system. | ||
+ | |||
==== Hands on ==== | ==== Hands on ==== | ||
Line 210: | Line 219: | ||
Then go to the '' | Then go to the '' | ||
- | <WRAP center round important 60%> | + | In my case, this command failed. The problem was in the '' |
- | In my case, this command failed. The problem was in the '' | + | |
- | </WRAP> | + | <code shell> |
+ | gcc -Wall -std=gnu99 -fPIC main_jlibnxt.c | ||
+ | </code> | ||
+ | |||
+ | |||
+ | And it fails with this error: | ||
+ | |||
+ | < | ||
+ | main_jlibnxt.c: | ||
+ | </ | ||
+ | |||
+ | **Solution: | ||
+ | |||
+ | - Locate the usb.h file in your filesystem: '' | ||
+ | |||
+ | I've fixed the solution executing the '' | ||
+ | |||
+ | <code shell> | ||
+ | $ cd NXJ_HOME/ | ||
+ | $ ant | ||
+ | </ | ||
+ | |||
linux/legomindstorms.1389132885.txt.gz · Last modified: 2022/12/02 22:02 (external edit)