Open coreybruce opened 4 years ago
make sure you have /opt/vc/lib and add a line link_directories(/opt/vc/lib) in CMakeList.txt
You should be not using /opt/vc/lib on Raspberry Pi 4. The vc stands for VideoCore library which is used only in Raspberry Pi 1, 2, and 3.
https://github.com/matusnovak/rpi-opengl-without-x/issues/3#issuecomment-577414378
Do you know if there is a docker env to emulate your rpi4 environment? I can use that to maintain this building for rpi4 even without having a rpi4 myself (and I'm not really willing to buy one at the moment just for this).
Followed the compiling instructions for Linux on my raspberry pi 4 8gb running Manjaro Arm which is a ARM64 OS and ran into error at 80%
[ 80%] Linking CXX executable xuolauncher /usr/bin/ld: cannot find -lbcm_host /usr/bin/ld: cannot find -lbcm_host collect2: error: ld returned 1 exit status make[2]: *** [tools/xuoi/CMakeFiles/xuolauncher.dir/build.make:227: tools/xuoi/xuolauncher] Error 1 make[1]: *** [CMakeFiles/Makefile2:756: tools/xuoi/CMakeFiles/xuolauncher.dir/all] Error 2 make: *** [Makefile:149: all] Error 2 [corey@manjaro-pi stuff]$