I am quite new to the project and I try to compile and run the sample on my raspberry pi 3.
I successfully compiled the engine and the sample using the dockerized build environment (DBE) using
RPI_ABI=RPI3 script/dockerized.sh rpi rake build install then scp the build to my pi.
But when I try to run a sample, I always get a shader related error. Here is the error I get from running 01_HelloWorld:
ERROR: Failed to link vertex shader Basic(DIFFMAP VERTEXCOLOR) and pixel shader Basic(DIFFMAP VERTEXCOLOR): error: too many vertex shader inputs (max 8) ERROR: Failed to link vertex shader Basic(DIFFMAP VERTEXCOLOR) and pixel shader Basic(ALPHAMAP VERTEXCOLOR): error: too many vertex shader inputs (max 8)
- If the raspberry pi is able to run the samples. It should be able to run them as I saw posts of people that make them work,
- If there is something wrong with my build or my pi OS.
I am using the Raspberry PI OS 64 bits beta (source here) that has some issues with graphics libraries (check the first port for all details). I choose to use this beta because the build from DBE was using armv8 architecture (64 bits) where the default raspbian os is using armv7 (32 bits).
If you have any recommended OS for the Raspberry PI 3 to make the engine work or if you know how to build the project for the PI 3 using armv7, please let me know.
Thanks for your help