10-23-2018, 07:32 AM
the book code is indeed mostly for the raspberry, but its a simple change, and there is a test project on the site for multiple formats, which are easy to configure for different systems and act as an example for those with other boards like the XU4
Its usually, a case of using an X11 display rather than bcm, and changing some of the user libs, once thats done the code builds and runs 90% of the time on any target. I do have to make sure the target has GLES2.0 libs and X11.
One or 2 boards just don't play ball, due to old linux and no drivers, they tend to be end of life systems though.. but anything that has a driver or can be emulated with mesa, will usually be ok.
Its usually, a case of using an X11 display rather than bcm, and changing some of the user libs, once thats done the code builds and runs 90% of the time on any target. I do have to make sure the target has GLES2.0 libs and X11.
One or 2 boards just don't play ball, due to old linux and no drivers, they tend to be end of life systems though.. but anything that has a driver or can be emulated with mesa, will usually be ok.
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