Hello Folks,
I think this is a very nooby question but i cant figure this out. Just for fun i want to acces USB interfaces on a ubuntu system. now ik have installed USBLib-dev it is located on:
now i would like to use USB.h in one of my C++ applications. So i thoughtCode:/usr/src/linux-headers-2.6.28-15-generic/include/linux/usb.h
This gives me this error:Code:#include <iostream> #include <usb.h> //also tried #include "usb.h" int main() { usb_init(); return 0; }
do you people see what i did wrong? is the including not correct or..?Code:/media/DATA/Jelte/Programming/C++/USBLib-dev TEST/USBFindBusses/main.cpp|6|undefined reference to `usb_init'
As IDE i use Code::blocks with gcc (Ubuntu 4.3.3-5ubuntu4) 4.3.3
Thanks for your help.
Jelte,



LinkBack URL
About LinkBacks


