OpenGL experimenting repo.
- Meson
- For Windows -> Visual Studio Build Tools
- Git or Github Desktop
Make sure these are installed and on your PATH.
If you are on Windows 10 version 1709 and later, you can install this dependencies easily with this command (open cmd.exe or powershell.exe and type):
winget install --id Microsoft.VisualStudio.2022.BuildTools
winget install --id Git.Git
winget install --id mesonbuild.meson
Then:
git clone https://https://github.com/CODESOLE/opengl_learn.git
Just Run:
.\build-windows.bat
For Linux install build dependencies, for Ubuntu/Debian and its derivatives command is:
sudo apt update && sudo apt install libx11-xcb-dev libfontenc-dev libice-dev libsm-dev libxaw7-dev libxcomposite-dev libxcursor-dev libxdamage-dev libxfixes-dev libxi-dev libxinerama-dev libxkbfile-dev libxmu-dev libxmuu-dev libxpm-dev libxrandr-dev libxrender-dev libxres-dev libxss-dev libxt-dev libxtst-dev libxv-dev libxvmc-dev libxxf86vm-dev libxcb-render0-dev libxcb-render-util0-dev libxcb-xkb-dev libxcb-icccm4-dev libxcb-image0-dev libxcb-keysyms1-dev libxcb-randr0-dev libxcb-shape0-dev libxcb-sync-dev libxcb-xfixes0-dev libxcb-xinerama0-dev libxcb-dri3-dev libxcb-cursor-dev libxcb-util-dev libxcb-util0-dev libgl-dev libgl1-mesa-dev libxkbcommon-dev
Just Run:
./build-linux.sh