The next step on my OpenGL without X11 journey was to get the samples from both the “OpenGL ES 2.0 Programming Guide” and “OpenGL ES 3.0 Programming Guide” working. This has now been achieved. The rest of this blog will simply contain the build instructions to get the samples building.
2.0
git clone https://github.com/DrGeoff/opengles-book-samples.git
cd opengles-book-samples/LinuxDRM
make
# TADA!
find . -type f -executable # Show what got built
3.0
git clone https://github.com/DrGeoff/opengles3-book.git
cd opengles3-book
mkdir build
cd !$
cmake -DUseDRM=1 -DCMAKE_BUILD_TYPE=Debug ..
make
# TADA!
find . -type f -executable # Show what got built
Leave a Reply