title: cannot compile allegro using visual c++
body: <p>I just downloaded the allegro library</p>
  
  <p>I make a new empty project then add a source file</p>
  
  <p>I add this line of code:</p>
  
  <pre><code>#include &lt;allegro.h&gt;
  </code></pre>
  
  <p>I compile and get the following error:</p>
  
  <blockquote>
    <p>c:\allegro\include\allegro5\internal\alconfig.h(28) : fatal error C1083: Cannot open include file: 'allegro5/platform/alplatf.h': No such file or directory</p>
  </blockquote>
  
  <p>so I go into alconfig.h and change:</p>
  
  <pre><code>#include "allegro5/platform/alplatf.h"
  </code></pre>
  
  <p>to:</p>
  
  <pre><code>#include "../../allegro5/platform/alplatf.h.cmake"
  </code></pre>
  
  <p>it <em>now</em> gives me this error:</p>
  
  <blockquote>
    <p>c:\allegro\include\allegro5\platform\alplatf.h.cmake(2) : fatal error C1021: invalid preprocessor command 'cmakedefine'</p>
  </blockquote>
  
  <p>so I get rid of the <code>#include "../../allegro5/platform/alplatf.h.cmake"</code> statement <em>it then</em> says:</p>
  
  <blockquote>
    <p>c:\allegro\include\allegro5\internal\alconfig.h(57) : fatal error C1189: #error :  platform not supported</p>
  </blockquote>
  
  <p>I do not know were to go from there, I am running windows so I really am stumped</p>