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.
