Skip to content

HauTranCong/opengljourney

Repository files navigation

learnopengl

One rainy day led me to learn about the Open Graphics Library

Build glad

git submodule update --init --recursive --remote
cd glad/
cmake .
make
sudo cp -a include /usr/local/

Install necessary packages

sudo apt-get install -y libglfw3
sudo apt-get install -y libglfw3-dev
sudo apt-get install -y libxxf86vm-dev
sudo apt-get install -y libxi-dev
sudo apt-get install -y libxinerama-dev

How to build an example

cd ~/learnopengl/0.HelloWindow
mkdir build && cd build
cmake ..
make

How to run an example

export DISPLAY="<ssh_ip>:<display_number>"
./hellowindow

About

Learn OpenGL on Ubuntu Server with X11 display

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published