-
Notifications
You must be signed in to change notification settings - Fork 240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build errors on Raspberry Pi 3 B+ (Raspbian GNU/Linux 11 (bullseye)) #2314
Comments
Thanks for the report. Can you tell me the compiler version that you are using on your Raspberry Pi? |
Package: gcc Package: g++ Package: cmake Package: make |
I just finished building on Raspberry with "make linux" by following https://github.com/tangrams/tangram-es/tree/main/platforms/linux and adding "-latomic" to https://github.com/tangrams/tangram-es/blob/main/platforms/linux/config.cmake. Two variables GLintptr and GLsizeiptr need to be renamed to avoid the name conflicts.
But the performance is quite bad. I guess that's because OpenGL can't run as fast as OpenGL ES on Raspberry Pi. |
2314.patch.txt
After "sudo rpi-update" update the firmware, this bit has been fixed in https://github.com/tangrams/tangram-es/blob/main/platforms/rpi/config.cmake by using
After built it successfully, I got the same "* failed to add service - already in use?" issue here #2214 when run it. |
TO REPRODUCE THE ISSUE, FOLLOW THESE STEPS:
RESULT:
EXPECTED RESULT:
There is no problem to build the main branch on Windows 10 with
cmake -S . -B .\build -G "Visual Studio 17 2022" -DCMAKE_TOOLCHAIN_FILE="\scripts\buildsystems\vcpkg.cmake"
ENVIRONMENT:
OTHER:
It will be also good to add "sudo apt-get install libgles2-mesa-dev" to https://github.com/tangrams/tangram-es/tree/main/platforms/rpi.
I don't think "Visual Studio 16 2019" can be downloaded from https://visualstudio.microsoft.com/downloads/ and it will be good to update https://github.com/tangrams/tangram-es/tree/main/platforms/windows with:
cmake -S . -B .\build -G "Visual Studio 17 2022" -DCMAKE_TOOLCHAIN_FILE="\scripts\buildsystems\vcpkg.cmake"
The text was updated successfully, but these errors were encountered: