- Code: Select all
# Quick use for Raspberry Pi
1. Install libusb-1.0 for your raspberry Pi
2. Copy lib/raspi/libvodisp.so to /usr/lib
3. Compile vodisp or directly copy demo/raspi/vodisp to your raspberry Pi
I installed libusb-1.0 and copied libvodisp.so to /usr/lib/. But when compiling:
- Code: Select all
# gcc main.c -lvodisp -o vodisp
/tmp/ccgbTBhq.o: In function `main':
main.c:(.text+0x48e): undefined reference to `vodisp_control'
main.c:(.text+0x4ec): undefined reference to `vodisp_control'
main.c:(.text+0x598): undefined reference to `vodisp_control'
main.c:(.text+0x642): undefined reference to `vodisp_control'
collect2: error: ld returned 1 exit status
I checked libvodisp.h and found that "vodisp_control" is defined there.
Do you have any ideas what I may be doing wrong?