Replies: 1 comment
-
This is Raspbian ? What's the display? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I’m trying to build raylib on the Re:Terminal (Raspberry PI CM4 based), but running into trouble.
Documentation mentions that by default it builds without X Windows, but all of my builds have PLATFORM=PLATFORM_DRM. I tried modifying many files, but can’t seemed to figure out the right way to build for the Raspberry PI 4.
I finally ended up adding:
set(PLATFORM DRM)
set(GRAPHICS API_OPENGL_ES2)
To the bottom of the CMakeOptions.txt file.
I always end up with the atomic library missing when it tries to build the examples. I edited the link.txt files in all of the directories below the raylib/build/examples/CMakeFiles directory adding -latomic to the end of build lines.
The examples now build, but when I run them I get an error saying:
INFO: DISPLAY: No graphic card set, trying platform-gpu-card
WARNING: DISPLAY: Failed to find a suitable DRM connector mode
FATAL: Failed to initialize Graphic Device
Any idea how to get this to work?
Thanks,
/Chris
Beta Was this translation helpful? Give feedback.
All reactions