=== nemik_ is now known as nemik === vhadil is now known as color [04:49] hello? [04:50] hello? === mhaberler_ is now known as mhaberler === rsalveti_ is now known as rsalveti === Ursinha is now known as Ursinha-afk === Ursinha-afk is now known as Ursinha === mhaberler_ is now known as mhaberler === Ursinha is now known as Ursinha-afk === Ursinha-afk is now known as Ursinha [16:28] is it enough to install "apt-get install build-essential" to have the toolchains to cross-compile C code for beagleboard-Xm? [16:28] do I need to install apt-get install gcc-4.7-arm-linux-gnueabihf ? [16:43] I am using gcc-arm-linux-gnueabihf to cross compile, what path do I need to link for libusb-1.0? [16:50] angs: where every you have the libusb libraries compiled for arm [16:51] angs: not your local ones that are most likely compiled for x86 [16:52] I used to link lusb-1.0 on eclipse as /usr/include/libusb-1.0 on "C/c++ general> paths and symbols >library paths" and it was working fine to build the code on my desktop. To cross-compile, I added "/usr/arm-linux-gnueabihf/lib" before "/usr/include/libusb-1.0"", now I get "cannot find -lusb-1.0" error when I build the code. [16:52] should I copy the libusb-1.0 directory under /usr/arm-linux-gnueabihf/lib [16:53] or do I suppose to install libusb-1.0 for arm? [17:00] prpplague: how can I add libusb on arm's gcc ? [17:26] can anyone tell me how do I suppose to use libusb on ubuntu-arm? [17:27] angs: did you add libusb files that were complied for arm in the directory - /usr/arm-linux-gnueabihf/lib ? [17:34] prpplague: I copied libusb* files from /usr/lib to /usr/arm-linux-gnueabihf/lib and libusb-1.0 from /usr/include to /usr/arm-linux-gnueabihf/include however I still have the same problem [17:34] I get this error when I build the program "skipping incompatible /usr/arm-linux-gnueabihf/lib/libusb-1.0.a when searching for -lusb-1.0" [17:35] angs: the libusb files in /usr/lib on your host pc are for x86 [17:35] angs: they are not for arm [17:35] where can I download libusb files for arm? [17:35] angs: i would assume there is a ubuntu package you can get, however i alway build them myself [17:37] prpplague: do you have built libusb files on your machine that you can share? [17:37] angs: easier for you to do it yourself of find the ubuntu packages [17:37] angs: what hardware platform are you using? [17:38] prpplague: I am using beagleboard-Xm. I am a beginner linux user, I do not know how to build package [17:39] angs: then download the ubuntu pre-built package [17:42] I already installed libusb-1.0 and libusb-dev, do you know is there any portal to search pre-built package for ubuntu arm? [17:43] https://launchpad.net/ubuntu/precise/+package/libusb-dev [17:43] just one example [17:43] angs: you installed the libusb for you host machine which is x86 [17:43] not the arm ones [17:45] prpplague: thank you very much, I am installing the package for beagleboard now [17:45] angs: google is your friend [17:46] right, I was using the wrong keyword to search on google. thank you very much for your help [17:56] prpplague: I have one last question. dpkg -i libusb-dev_0.1.12-20_armhf.deb outputs "package architecture (armhf) does not match system (i386)" error. Do you know if it is possible to install that package under /usr/arm-linux-gnueabihf directory? [17:56] angs: yea, there should also be a cross compile package somewhere [17:59] do you know name of the package? [18:00] angs: no, like i said, i normally build everything from source [18:00] angs: i am certain there is a howto on the ubuntu wiki pages for what you want to do [18:00] angs: please check there [18:01] prpplague: thank you I will check there === playya is now known as frederik