crossuo / crossuo

CrossUO - Open Source Ultima Online Client
http://crossuo.com
GNU Affero General Public License v3.0
167 stars 33 forks source link

Build error #272

Open coreybruce opened 4 years ago

coreybruce commented 4 years ago

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]$

Nirad commented 4 years ago

make sure you have /opt/vc/lib and add a line link_directories(/opt/vc/lib) in CMakeList.txt

coreybruce commented 4 years ago

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

fungos commented 4 years ago

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).