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