I've followed the tutorial here for running a demo project on my Raspberry Pi B 4 with the Touch Display 7". Everything works right up until I try to run the compiled binary. I get the following error:
pi@raspberrypi:~/share/Application/Project $ ./EmbeddedWizard-RasPi-4B
GfxSystemInit: Cannot access display configuration of '/dev/dri/card0'!
Initialize Display... [failed]
The tutorial calls for the Raspbian Buster Lite image, but the link is no longer valid, so I installed the Raspberry Pi OS Lite image (v5.4, Jan 11,2021).
I've ensured that my GL driver is set to OpenGL desktop driver with fake KMS .
I tried running the "Master Demo" as well, and I get the same error.
Any suggestions?