Skip to content
Patricio Gonzalez Vivo edited this page Dec 14, 2022 · 8 revisions

1. Install dependencies

To compile this project you will need:

  • Visual Studio 2019 or higher. Make sure to check "Desktop development with C++" and "Universal Windows Platform development" are installed
  • A git client
  • CMake (through Scoop is recommended)

2. Clone repository and submodules

git clone https://github.com/patriciogonzalezvivo/glslViewer.git
cd glslViewer
git submodule init
git submodule update

3. Create a Visual Studio Project

cmake .

This will create a .sln solution file which you can open with Visual Studio

4. Compile

Once you open the .sln solution file on Visual Studio, you can compile it by using Ctr+Shift+B.

5. Install

In order to launch glslViewer anywhere on your system (doesn't matter in which directory you are in the terminal/console) you will need to find the glslViewer.exe into a System Path folder.

For that you have two options:

Note: If you are installing in WSL2, other users have pointed to this article as a useful resource