I am trying to install nxtOSEK in Lubuntu. I am following this guide: http://lejos-osek.sourceforge.net/insta ... _linux.htm The problem is, when I try to build libnxt using scons, as in step 3, it doesn't work. I get this:
Looks like you have the wrong version of libUSB development package installed. I think NXTOSEK is based on the old leJOS code which uses libUSB 0.x many of these functions like usb_init do not exist in the libUSB SDK. There may be some sort of compatibility layer you can use.
Thank you for your Quick replies! I used this command: ~$ sudo apt-get install scons libusb-dev libusb-0.1-4 as described in the guide. Shouldn't that give me the old version? I'm not so used to Linux, so I might be wrong. The reason I do this in Linux is because I do it on my school computer, so I want to be in at virtual machine. I could try to do it in windows instead if I cant get it to work in Linux.
dbdevelopment wrote: I used this command: ~$ sudo apt-get install scons libusb-dev libusb-0.1-4 as described in the guide. Shouldn't that give me the old version?
Only the runtime lib will be the old one, the development lib has to be the old one, too. So you have to install libusb-dev in the 0.1 version. I always use the graphic installer so I do not know the exact name of the package.
Good luck,
Bye Marvin
- "I think you ought to know I'm feeling very depressed." - (Android Marvin in "The Hitchhiker's Guide to the Galaxy" by Douglas Adams, 1978)
dbdevelopment wrote:I couldnt find the old version of libusb-dev, only the runtime version. Do you know where I can find it?
Open Synaptic or the Lubuntu Software Center and search for libusb-dev. Check the version information and verify it is 0.1. In my software center the version infomation looks like libusb-dev 2:0.1.12-20. Mmhh - and that is the package named "libusb-dev". So you already have the right one installed...
Did you setup udev to set the access right correctly?
Bye Marvin
- "I think you ought to know I'm feeling very depressed." - (Android Marvin in "The Hitchhiker's Guide to the Galaxy" by Douglas Adams, 1978)
Sorry for not replying earlier, but I have struggled to get the screen on my NXT working, I got this problem: http://www.youtube.com/watch?v=w8pwffsYFGo but I got it fixed now. I also got this problem to work in Windows, so now I'm programming in C++ with a working screen