Installation Instructions for Linux --------------------------------------- sudo apt-get install xorg-dev libglew-dev libglm-dev make newgame && ./newgame (Old Linux instructions for compiling game.cpp) -sudo apt-get install cmake xorg-dev libglew-dev libglu1-mesa-dev freeglut3-dev mesa-common-dev -Compile GLFW3 from source (cmake . && make && sudo make install) Installation Instructions for OSX --------------------------------------- brew install glew brew install glfw --without-shared-library brew install glm This should place all necessary files (or possibly symlinks to them) in /usr/loca/include and /usr/local/lib. Run 'xcode-select --install' This should make g++ check for libraries in /usr/local/ If the above command gives you the following error, you should be able to move on and compile the game. "xcode-select: error: command line tools are already installed, use "Software Update" to install updates" make newgame && ./newgame Installation Instructions for Windows --------------------------------------- Download the precompiled 32bit binaries of GLFW and GLEW. Create lib/ and include/ folders in the root opengl-game directory you cloned. Copy the include/GL/ and include/GLFW/ folders into your include/ folder. For GLEW, copy lib/RELEASE/Win32/glew32s.lib into your lib folder. For GLFW, copy lib-vc2015/glfw3.lib into your lib folder. Download GLM and copy the glm folder (the one with all the .hpp files) into the include/ folder you made above. GLM is a header-only library, so there is nothing to copy into the lib/ folder. Open and run NewOpenGLGame.sln in Visual Studio 2017 and run it. -------------------- VULKAN INSTRUCTIOS -------------------- Windows -------- ??? Linux: -------- sudo apt-get install libxcb1-dev xorg-dev libsdl2-dev libglm-dev Download the vulkan sdk (make sure VULKAN_SDK_PATH in the makefile points to it) source setup-env.sh into your current shell make vulkcangame && ./vulkangame OSX -------- brew install sdl2 (might need 'brew install sdl2 --HEAD') Download the vulkan sdk (make sure VULKAN_SDK_PATH in the makefile points to it) make vulkcangame && ./vulkangame