LearnOpenGL Setup with VKPKG for Linux
Introduction
LearnOpenGL is a great resource for getting started with Graphics Programming. A hard truth of c++ is how hard it is to link libraries. VCPKG is a great solution to get all packages needed for LearnOpenGL working.
Windows users will probably use VCPKG through Visual Studio. For Linux, its a little more hands on.
Install VCPKG
Method 1
- Create a folder in your root directory called “Apps”
- git clone VCPKG into “Apps”
- in .zshrc, create export for VCKPG PATH
- add VCKPG_PATH to your path
export VCPKG_ROOT=...
export PATH=...
Method 2
Using this method, any software compiled from source will automatically be added to your PATH
- Create a folder in your root directory called “Apps”
- git clone VCPKG into “Apps”
- add “Apps” to your PATH
Method 3
- git clone into /user/bin
Tags: