LCDInfo.com http://forum.lcdinfo.com/ |
|
USBD480 Display Project http://forum.lcdinfo.com/viewtopic.php?f=19&t=10214 |
Page 1 of 1 |
Author: | qash [ Thu May 17, 2012 15:26 ] |
Post subject: | USBD480 Display Project |
Hello community of LCDinfo. For my school project, I have chosen to work with the USBD480 Display. The project that I need to make requires that it must run on a microcontroller which operates with Linux system. Due to this being the first project for me to work with Linux system, it seems difficult to find information for miscellaneous parts. To get to the point, my problem at this point is to initialize the library called "libusb.h", since that the display connects to the microcontroller through a usb. My goal to start with is to establish a connection between the USBD480 Display and a computer that has Linux running. Any information given will be appreciated. - qash |
Author: | qash [ Tue May 22, 2012 13:28 ] |
Post subject: | Re: USBD480 Display Project |
- bump My test.c program: $gcc test.c Code: #include </home/admin/arm-linux-gcc/libusb/libusb-1.0.9/libusb/libusb.h> int main (int argc, char **argv) // { usb_init(); return 0; } Output: Code: /tmp/cchkSBid.o: In function `main':
test.c:(.text+0x7): undefined reference to `usb_init' collect2: ld returned 1 exit status |
Author: | Henri [ Sun May 27, 2012 22:26 ] |
Post subject: | Re: USBD480 Display Project |
qash wrote: $gcc test.c Hi, Try adding -lusb to that command line to include libusb. Something like Code: $gcc -lusb test.c
|
Author: | Henri [ Mon Jun 11, 2012 17:24 ] |
Post subject: | Re: USBD480 Display Project |
Hi, Were you able to solve your problems and get the USBD480 display working? Henri |
Author: | qash [ Tue Jun 12, 2012 10:05 ] |
Post subject: | Re: USBD480 Display Project |
Henri wrote: Hi, Were you able to solve your problems and get the USBD480 display working? Henri Hey. Thanks for your concern, yes I have - qash |
Page 1 of 1 | All times are UTC + 2 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |