07-17-2020, 11:32 AM
(This post was last modified: 07-17-2020, 11:33 AM by Brian Beuken.)
I had a look at your code thanks for sending it, and letting me know the scratchpad mailbox was clogged up with spam. I cleared it out.
yup, as I suspected, it's the drivers (though do make sure you also have the legacy gldrivers set in raspi-config) ... you had the 3 listed in the book, which is totally correct for Raspbian Jessie, but Rasbian Buster needs
GLESv2_static EGL_static vchiq_arm vcos khrn_static bcm_host pthread
if you go to your Visual GDB makefile settings and change the libs to these, it works perfectly, so you entered it all fine.
yup, as I suspected, it's the drivers (though do make sure you also have the legacy gldrivers set in raspi-config) ... you had the 3 listed in the book, which is totally correct for Raspbian Jessie, but Rasbian Buster needs
GLESv2_static EGL_static vchiq_arm vcos khrn_static bcm_host pthread
if you go to your Visual GDB makefile settings and change the libs to these, it works perfectly, so you entered it all fine.
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