title: C++ & GLM: name followed by :: must be a class or namespace name (Visual Studio 2015)
body: <p>I am certain I've set everything up correctly, but there must be something I'm missing. I've included all my headers as such:</p>
  
  <pre><code>#include&lt;glm/glm.hpp&gt;
  #include&lt;glm/gtc/matrix_transform.hpp&gt;
  #include&lt;glm/gtc/type_ptr.hpp&gt;
  #include&lt;glm/gtc/quaternion.hpp&gt;
  </code></pre>
  
  <p>As far as I can tell, all of those are valid, because on their own, the code compiles.
  But when I try to write this code below:</p>
  
  <pre><code>glm::mat4 view = glm::gtc::quaternion::mat4_cast(qview);
  </code></pre>
  
  <p>I get an error on 'gtc': "Name followed by :: must be a class or namespace name"</p>
  
  <p>What on earth am I missing? Am I using the wrong namespace? It matches what the documentation says it should be: <a href="http://glm.g-truc.net/0.9.0/api/a00135.html#ae2d14d52f9fef3da00cf867f9e2e3dfa" rel="nofollow">http://glm.g-truc.net/0.9.0/api/a00135.html#ae2d14d52f9fef3da00cf867f9e2e3dfa</a></p>
  
  <p>Incidentally, if the 'logic' of what I'm trying to do is wrong (assigning the value of a mat4 like this) please ignore it: I'll address that problem when I get to it. For now I'm just trying to diagnose this issue with the namespace.</p>