Closed TheConceptBoy closed 1 year ago
Those instructions are a little out of date; I have updated them.
'Noobies' shouldn't need to compile Raylib, they should just use the binary wheel. If you do need to compile Raylib and have issues dong it then those issues should be directed to Raylib, not Raylib-Python-CFFI. I think the official docs are at https://github.com/raysan5/raylib/wiki/Working-on-Raspberry-Pi . They also have a Discord where you can ask for help.
The stuff about the broadcom drivers is irrelevent if you are following preceeding instructions, because you aren't using those drivers. It's a warning to people who do want to use them. Again the terminology is nothing to do with Raylib-Python-CFFI really. It is confusing but that's because Raylib on Raspberry Pi is confusing and the driver situation is quite a rabbit hole.
Your error is caused by missing OpenGL library, so I would try something like:
sudo apt install libasound2-dev mesa-common-dev libx11-dev libxrandr-dev libxi-dev xorg-dev libgl1-mesa-dev libglu1-mesa-dev
Unfortunately I don't have a Raspberry Pi anymore so I can't fix anything Pi-specific until someone buys me one.
This guide here: https://github.com/electronstudio/raylib-python-cffi/blob/master/RPI.rst
Provides a near little step by step guide on cloning, compiling and building the library. This resulted in the followin error:
This seems to be related to OpenGL drivers. So I look down into the documentation and it does mention the following:
The only problem is that, where the initial setup was very direct in the step by step of what you need to do to build and compile for raspberry pi. This adnedum thows some terminology, some keywords and newbies can go figure what any of this means or where to toss in this flag.
Could someone add an addendum of where to go and what to do to compensate for the build error?