title: OpenGL 3.3 Projection Matrix Error
body: <p>I am trying the tutorial on OpenGL 3.3 as presented : <a href="http://www.opengl-tutorial.org/beginners-tutorials/tutorial-3-matrices/" rel="nofollow">http://www.opengl-tutorial.org/beginners-tutorials/tutorial-3-matrices/</a></p>
  
  <p>It says a projection matrix can be created with GLM as :</p>
  
  <pre><code>glm::mat4 Projection = glm::perspective(45.0, 4.0/3.0, .1, 100.0 );
  </code></pre>
  
  <p>However, as I try to compile my code, with it, I get the following error:</p>
  
  <pre><code> error: conversion from ‘glm::detail::tmat4x4&lt;double&gt;’ to non-scalar type ‘glm::core::type::mat4 {aka glm::detail::tmat4x4&lt;float&gt;}’ requested
  make: *** [src/main.o] Error 1
  </code></pre>
  
  <p>What could be wrong?</p>