Cannot compile vodisp on ARM
Posted: Wed Apr 01, 2020 7:31 pm
I am trying to get vodisp to work on an ODROID-HC2 which is an ARM system running Debian. From the README.md that I got when downloading and unarchiving http://vonger.cn/misc/screen/v2screen.tar.xz I see the following instructions:
I installed libusb-1.0 and copied libvodisp.so to /usr/lib/. But when compiling:
I checked libvodisp.h and found that "vodisp_control" is defined there.
Do you have any ideas what I may be doing wrong?
- 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?