Companion git for following along with blog :
https://kaprikawn.wordpress.com/2018/01/07/learning-to-learn-opengl-es-2-0-part-01/
Acknowledgements
glm header files used by terms of MIT license from https://github.com/g-truc/glm
Project uses SDL2 http://libsdl.org/
Project uses GLEW (Windows only) http://glew.sourceforge.net/
stb_image.h (MIT licensed) obtained from
https://github.com/nothings/stb/blob/master/stb_image.h
Dependencies : git
, git-lfs
, sdl2
(development library), glm
To install on Debian (including the Pyra) :
sudo apt install git git-lfs libsdl2-dev libglm-dev
bash
e.g. :cd pyragles/misc
/bin/bash build.sh
Binaries Windows 32-bit and 64-bit
, sorry for sending you to Sourceforge)misc\build.bat
in a text editorSET SDL_ROOT_DIR=C:\dev\SDL2-2.0.14
- Should be pointed to where you extracted SDLSET GLEW_ROOT_DIR=C:\dev\glew-2.2.0
- Should be pointed to where you extracted GLEWSET VCVARS_DIR=C:\"Program Files (x86)"\"Microsoft Visual Studio"\2019\Community\VC\Auxiliary\Build\
should reflect the directory of where the file vcvarsall.bat
has been installed on your machine by Visual Studiomisc
directory, and run the build.bat file after you have saved itIn both cases, the built binary will be in the build
directory