Created
January 28, 2014 15:11
-
-
Save mcnemesis/8669328 to your computer and use it in GitHub Desktop.
Basic script (may not port to all *.nix systems though) to install glm (a header only lib for advanced OpenGL Mathematics) - am testing on OpenSuse 12.3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/sh | |
#I use axel, but you might as well use wget | |
#and you might wish to grab your own uri in case this one is broken... | |
rm glm*.zip | |
axel http://downloads.sourceforge.net/project/ogl-math/glm-0.9.5.1/glm-0.9.5.1.zip?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fogl-math%2Ffiles%2F&ts=1390921576&use_mirror=garr | |
7z x glm*.zip && cd glm && sudo cp -r glm /usr/include/ | |
#if all went well, you are ready to use GLM (e.g you may now proceed to ./configure-make gource :-) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment