Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
installing STB and GLM
Unless you know how to use git on your Raspberry, the article where STB was first installed doesn't make it totally clear how to do it. The "what you need" insert provides you with a shortcut which might not make sense.

The simplest way is to enter this in your terminal

git clone

and voila you will now have an STB dir in your /Home/Pi directory

likewise for GLM 
git clone

Installs GLM, in the /Home/Pi directory ready to use (this is a much bigger download though and not all is needed but best to have it all)

One very tiny point to consider with git cloning, is that unlike an apt-install. The files you place on your computer do not update automatically on an apt-get update/upgrade cycle when the libs update.
Glm in particular updates from time to time, though stb is pretty much finished with.
So you may, have occasions when working with other people, where you have different versions of the libs. Be careful to check what others are using, and update this from time to time with another git clone and try to always use the latest version (unless, as can happen, you find the latest version does not work with your code)
Brian Beuken
Lecturer in Game Programming at Breda University of Applied Sciences.
Author of The Fundamentals of C/C++ Game Programming: Using Target-based Development on SBC's 


Forum Jump:

Users browsing this thread: 1 Guest(s)