04-09-2022, 08:30 PM
I've stumbled on a fix that might be better than trying to revamp all the code, basically reinstalling all the old drivers, which will still work just fine, I found this solution at
https://githubhot.com/repo/homeworkc/laz...issues/100
It seems solid and restores the old VC drivers the book code expects.
you will need to install cmake before you clone the dir
open a terminal and enter
sudo apt-get install cmake -y
then enter
git clone https://github.com/raspberrypi/userland.git
then enter
cd userland
then enter
./buildme
this will take a few minutes to work, but it will rebuild and restore all the drivers we need for the code to work
Of course this only applies to Rpi1-3 this solution will not work on Rpi4 which needs different X11 graphic setups.
https://githubhot.com/repo/homeworkc/laz...issues/100
It seems solid and restores the old VC drivers the book code expects.
you will need to install cmake before you clone the dir
open a terminal and enter
sudo apt-get install cmake -y
then enter
git clone https://github.com/raspberrypi/userland.git
then enter
cd userland
then enter
./buildme
this will take a few minutes to work, but it will rebuild and restore all the drivers we need for the code to work
Of course this only applies to Rpi1-3 this solution will not work on Rpi4 which needs different X11 graphic setups.
Brian Beuken
Lecturer in Game Programming at Breda University of Applied Sciences.
Author of The Fundamentals of C/C++ Game Programming: Using Target-based Development on SBC's
Lecturer in Game Programming at Breda University of Applied Sciences.
Author of The Fundamentals of C/C++ Game Programming: Using Target-based Development on SBC's