libnxt compiling problem

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

Moderators: roger, 99jonathan, imaqine

libnxt compiling problem

Postby index » Fri Feb 23, 2007 8:02 pm

I'm trying to compile libnxt under cygwin. I get the following error:

gcc -o fwflash.exe main_fwflash.o -L. -lusb -lnxt
./libnxt.a(lowlevel.o): In function `nxt_init':
/lejos-nxj2/libnxt/lowlevel.c:49: undefined reference to `_usb_init'
./libnxt.a(lowlevel.o): In function `nxt_find':
/lejos-nxj2/libnxt/lowlevel.c:60: undefined reference to `_usb_find_busses'
/lejos-nxj2/libnxt/lowlevel.c:61: undefined reference to `_usb_find_devices'
[snip]

I use libusb-win32 0.1.10.1 and gcc 3.4.4
I assume some missing information for the linker. I'm not so familiar with scons, so I need some information how to provide the mising information.
index
New User
 
Posts: 2
Joined: Sat Feb 17, 2007 10:16 pm
Location: Mannheim, Germany

Return to NXJ Software

Who is online

Users browsing this forum: No registered users and 3 guests

more stuff