title: Unknown type name class
body: <p>I have the following header files:</p>
  
  <p><a href="https://gist.github.com/wemakeweb/5501443">https://gist.github.com/wemakeweb/5501443</a>
  and the compiler always reports <strong>"Unknown Type name Class"</strong>. I have included Forward Declaration, to break circular including , where i think i have to. What did i forget?</p>
  
  <p><strong>Edit</strong>: i put it all in one header file, and the compiler still reports "expected ; after top level declarator"</p>
  
  <p><a href="https://gist.github.com/wemakeweb/5583500">https://gist.github.com/wemakeweb/5583500</a></p>
  
  <p><strong>Edit 2</strong>
  Now im getting linker errors. "Undefined symbols for architecture x86_64"</p>
  
  <p><strong>Solved, Problems were</strong></p>
  
  <ol>
  <li>Circular Including </li>
  <li>main.c instead of main.cpp</li>
  <li>the actual code was in a static lib which was not linked properly</li>
  </ol>