OpenGL without X11 on Raspberry Pi 4 (Part 2)

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

Tagged with: , , ,
Posted in Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: