ghaleon@localhost ~/dodge $ g++ `sdl-config --cflags` *.cpp -o dodge_em `sdl-config --libs` -lSDL_ttf -lSDL_image
In file included from evilsquare.h:11,
from EvilSquare.cpp:1:
extras.h:16:7: warning: no newline at end of file
In file included from EvilSquare.cpp:1:
evilsquare.h:47:7: warning: no newline at end of file
In file included from LevelEngine.cpp:2:
LevelEngine.h:11:24: EvilSquare.h: No such file or directory
In file included from LevelEngine.h:12,
from LevelEngine.cpp:2:
extras.h:16:7: warning: no newline at end of file
In file included from LevelEngine.cpp:2:
LevelEngine.h:32: error: `EvilSquare' was not declared in this scope
LevelEngine.h:32: error: template argument 1 is invalid
LevelEngine.h:32: error: template argument 2 is invalid
LevelEngine.h:32: error: ISO C++ forbids declaration of `parameter' with no type
LevelEngine.h:33: error: `EvilSquare' was not declared in this scope
LevelEngine.h:33: error: template argument 1 is invalid
LevelEngine.h:33: error: template argument 2 is invalid
LevelEngine.h:33: error: ISO C++ forbids declaration of `parameter' with no type
LevelEngine.h:34: error: `EvilSquare' was not declared in this scope
LevelEngine.h:34: error: template argument 1 is invalid
LevelEngine.h:34: error: template argument 2 is invalid
LevelEngine.h:34: error: ISO C++ forbids declaration of `parameter' with no type
LevelEngine.h:35: error: `EvilSquare' was not declared in this scope
LevelEngine.h:35: error: template argument 1 is invalid
LevelEngine.h:35: error: template argument 2 is invalid
LevelEngine.h:35: error: ISO C++ forbids declaration of `parameter' with no type
LevelEngine.h:36: error: `EvilSquare' was not declared in this scope
LevelEngine.h:36: error: template argument 1 is invalid
LevelEngine.h:36: error: template argument 2 is invalid
LevelEngine.h:36: error: ISO C++ forbids declaration of `parameter' with no type
LevelEngine.h:37: error: `EvilSquare' was not declared in this scope
LevelEngine.h:37: error: template argument 1 is invalid
LevelEngine.h:37: error: template argument 2 is invalid
LevelEngine.h:37: error: ISO C++ forbids declaration of `parameter' with no type
LevelEngine.h:38: error: `EvilSquare' was not declared in this scope
LevelEngine.h:38: error: template argument 1 is invalid
LevelEngine.h:38: error: template argument 2 is invalid
LevelEngine.h:38: error: ISO C++ forbids declaration of `parameter' with no type
LevelEngine.h:39: error: `EvilSquare' was not declared in this scope
LevelEngine.h:39: error: template argument 1 is invalid
LevelEngine.h:39: error: template argument 2 is invalid
LevelEngine.h:39: error: ISO C++ forbids declaration of `parameter' with no type
LevelEngine.cpp:153: error: `EvilSquare' was not declared in this scope
LevelEngine.cpp:153: error: template argument 1 is invalid
LevelEngine.cpp:153: error: template argument 2 is invalid
LevelEngine.cpp:154: error: ISO C++ forbids declaration of `myQueue' with no type
LevelEngine.cpp: In member function `void LevelEngine::generateDemo(int*)':
LevelEngine.cpp:160: error: `EvilSquare' was not declared in this scope
LevelEngine.cpp:160: error: `mrEvil' was not declared in this scope
LevelEngine.cpp:160: error: `EvilSquare' is not a type
LevelEngine.cpp:161: error: request for member `push' in `*myQueue', which is of non-class type `int'
LevelEngine.cpp:169: error: `EvilSquare' was not declared in this scope
LevelEngine.cpp:169: error: `mrEvil' was not declared in this scope
LevelEngine.cpp:169: error: `EvilSquare' is not a type
LevelEngine.cpp:170: error: request for member `push' in `*myQueue', which is of non-class type `int'
LevelEngine.cpp: At global scope:
LevelEngine.cpp:178: error: `EvilSquare' was not declared in this scope
LevelEngine.cpp:178: error: template argument 1 is invalid
LevelEngine.cpp:178: error: template argument 2 is invalid
LevelEngine.cpp:179: error: ISO C++ forbids declaration of `myQueue' with no type
LevelEngine.cpp: In member function `void LevelEngine::generateFirstLevel(int*)':
LevelEngine.cpp:185: error: `EvilSquare' was not declared in this scope
LevelEngine.cpp:185: error: `mrEvil' was not declared in this scope
LevelEngine.cpp:185: error: `EvilSquare' is not a type
LevelEngine.cpp:186: error: request for member `push' in `*myQueue', which is of non-class type `int'
LevelEngine.cpp:193: error: `EvilSquare' was not declared in this scope
LevelEngine.cpp:193: error: `mrEvil' was not declared in this scope
LevelEngine.cpp:193: error: `EvilSquare' is not a type
LevelEngine.cpp:194: error: request for member `push' in `*myQueue', which is of non-class type `int'
LevelEngine.cpp:199: error: `EvilSquare' is not a type
LevelEngine.cpp:200: error: request for member `push' in `*myQueue', which is of non-class type `int'
LevelEngine.cpp:205: error: `EvilSquare' is not a type
LevelEngine.cpp:206: error: request for member `push' in `*myQueue', which is of non-class type `int'
LevelEngine.cpp: At global scope:
LevelEngine.cpp:211: error: `EvilSquare' was not declared in this scope
LevelEngine.cpp:211: error: template argument 1 is invalid
LevelEngine.cpp:211: error: template argument 2 is invalid
LevelEngine.cpp:212: error: ISO C++ forbids declaration of `myQueue' with no type
LevelEngine.cpp: In member function `void LevelEngine::generateBeginnerLevel(int*)':
LevelEngine.cpp:218: error: `EvilSquare' was not declared in this scope
LevelEngine.cpp:218: error: `mrEvil' was not declared in this scope
LevelEngine.cpp:218: error: `EvilSquare' is not a type
LevelEngine.cpp:219: error: request for member `push' in `*myQueue', which is of non-class type `int'
LevelEngine.cpp:226: error: `EvilSquare' was not declared in this scope
LevelEngine.cpp:226: error: `mrEvil' was not declared in this scope
LevelEngine.cpp:226: error: `EvilSquare' is not a type
LevelEngine.cpp:227: error: request for member `push' in `*myQueue', which is of non-class type `int'
LevelEngine.cpp:232: error: `EvilSquare' is not a type
LevelEngine.cpp:233: error: request for member `push' in `*myQueue', which is of non-class type `int'
LevelEngine.cpp: At global scope:
LevelEngine.cpp:240: error: `EvilSquare' was not declared in this scope
LevelEngine.cpp:240: error: template argument 1 is invalid
LevelEngine.cpp:240: error: template argument 2 is invalid
LevelEngine.cpp:241: error: ISO C++ forbids declaration of `myQueue' with no type
LevelEngine.cpp: In member function `void LevelEngine::generateNoviceLevel(int*)':
LevelEngine.cpp:242: error: `EvilSquare' was not declared in this scope
LevelEngine.cpp:242: error: `mrEvil' was not declared in this scope
LevelEngine.cpp:248: error: `EvilSquare' is not a type
LevelEngine.cpp:249: error: request for member `push' in `*myQueue', which is of non-class type `int'
LevelEngine.cpp:257: error: `EvilSquare' is not a type
LevelEngine.cpp:258: error: request for member `push' in `*myQueue', which is of non-class type `int'
LevelEngine.cpp:269: error: `EvilSquare' is not a type
LevelEngine.cpp:270: error: request for member `push' in `*myQueue', which is of non-class type `int'
LevelEngine.cpp:279: error: `EvilSquare' is not a type
LevelEngine.cpp:280: error: request for member `push' in `*myQueue', which is of non-class type `int'
LevelEngine.cpp: At global scope:
LevelEngine.cpp:286: error: `EvilSquare' was not declared in this scope
LevelEngine.cpp:286: error: template argument 1 is invalid
LevelEngine.cpp:286: error: template argument 2 is invalid
LevelEngine.cpp:287: error: ISO C++ forbids declaration of `myQueue' with no type
LevelEngine.cpp: In member function `void LevelEngine::generateIntermediateLevel(int*)':
LevelEngine.cpp:289: error: `EvilSquare' was not declared in this scope
LevelEngine.cpp:289: error: `mrEvil' was not declared in this scope
LevelEngine.cpp:297: error: `EvilSquare' is not a type
LevelEngine.cpp:298: error: request for member `push' in `*myQueue', which is of non-class type `int'
LevelEngine.cpp:307: error: `EvilSquare' is not a type
LevelEngine.cpp:308: error: request for member `push' in `*myQueue', which is of non-class type `int'
LevelEngine.cpp:318: error: `EvilSquare' is not a type
LevelEngine.cpp:319: error: request for member `push' in `*myQueue', which is of non-class type `int'
LevelEngine.cpp:329: error: `EvilSquare' is not a type
LevelEngine.cpp:330: error: request for member `push' in `*myQueue', which is of non-class type `int'
LevelEngine.cpp:340: error: `EvilSquare' is not a type
LevelEngine.cpp:341: error: request for member `push' in `*myQueue', which is of non-class type `int'
LevelEngine.cpp: At global scope:
LevelEngine.cpp:348: error: `EvilSquare' was not declared in this scope
LevelEngine.cpp:348: error: template argument 1 is invalid
LevelEngine.cpp:348: error: template argument 2 is invalid
LevelEngine.cpp:349: error: ISO C++ forbids declaration of `myQueue' with no type
LevelEngine.cpp: In member function `void LevelEngine::generateDifficultLevel(int*)':
LevelEngine.cpp:351: error: `EvilSquare' was not declared in this scope
LevelEngine.cpp:351: error: `mrEvil' was not declared in this scope
LevelEngine.cpp:358: error: `EvilSquare' is not a type
LevelEngine.cpp:359: error: request for member `push' in `*myQueue', which is of non-class type `int'
LevelEngine.cpp:370: error: `EvilSquare' is not a type
LevelEngine.cpp:371: error: request for member `push' in `*myQueue', which is of non-class type `int'
LevelEngine.cpp:382: error: `EvilSquare' is not a type
LevelEngine.cpp:383: error: request for member `push' in `*myQueue', which is of non-class type `int'
LevelEngine.cpp:392: error: `EvilSquare' is not a type
LevelEngine.cpp:393: error: request for member `push' in `*myQueue', which is of non-class type `int'
LevelEngine.cpp:402: error: `EvilSquare' is not a type
LevelEngine.cpp:403: error: request for member `push' in `*myQueue', which is of non-class type `int'
LevelEngine.cpp: At global scope:
LevelEngine.cpp:410: error: `EvilSquare' was not declared in this scope
LevelEngine.cpp:410: error: template argument 1 is invalid
LevelEngine.cpp:410: error: template argument 2 is invalid
LevelEngine.cpp:411: error: ISO C++ forbids declaration of `myQueue' with no type
LevelEngine.cpp: In member function `void LevelEngine::generateHardLevel(int*)':
LevelEngine.cpp:417: error: `EvilSquare' was not declared in this scope
LevelEngine.cpp:417: error: `mrEvil' was not declared in this scope
LevelEngine.cpp:417: error: `EvilSquare' is not a type
LevelEngine.cpp:418: error: request for member `push' in `*myQueue', which is of non-class type `int'
LevelEngine.cpp:423: error: `EvilSquare' was not declared in this scope
LevelEngine.cpp:423: error: `mrEvil' was not declared in this scope
LevelEngine.cpp:431: error: `EvilSquare' is not a type
LevelEngine.cpp:432: error: request for member `push' in `*myQueue', which is of non-class type `int'
LevelEngine.cpp:443: error: `EvilSquare' is not a type
LevelEngine.cpp:444: error: request for member `push' in `*myQueue', which is of non-class type `int'
LevelEngine.cpp:453: error: `EvilSquare' is not a type
LevelEngine.cpp:454: error: request for member `push' in `*myQueue', which is of non-class type `int'
LevelEngine.cpp:463: error: `EvilSquare' is not a type
LevelEngine.cpp:464: error: request for member `push' in `*myQueue', which is of non-class type `int'
LevelEngine.cpp: At global scope:
LevelEngine.cpp:471: error: `EvilSquare' was not declared in this scope
LevelEngine.cpp:471: error: template argument 1 is invalid
LevelEngine.cpp:471: error: template argument 2 is invalid
LevelEngine.cpp:472: error: ISO C++ forbids declaration of `myQueue' with no type
LevelEngine.cpp: In member function `void LevelEngine::generateMegaBlock(int*)':
LevelEngine.cpp:478: error: `EvilSquare' was not declared in this scope
LevelEngine.cpp:478: error: `mrEvil' was not declared in this scope
LevelEngine.cpp:478: error: `EvilSquare' is not a type
LevelEngine.cpp:479: error: request for member `push' in `*myQueue', which is of non-class type `int'
In file included from dodgegame.cpp:10:
dodgegame.h:17:29: sdl_ttf/SDL_ttf.h: No such file or directory
In file included from herosquare.h:13,
from dodgegame.h:21,
from dodgegame.cpp:10:
extras.h:16:7: warning: no newline at end of file
In file included from dodgegame.h:21,
from dodgegame.cpp:10:
herosquare.h:60:7: warning: no newline at end of file
In file included from dodgegame.h:22,
from dodgegame.cpp:10:
evilsquare.h:47:7: warning: no newline at end of file
In file included from dodgegame.h:23,
from dodgegame.cpp:10:
LevelEngine.h:11:24: EvilSquare.h: No such file or directory
In file included from dodgegame.h:24,
from dodgegame.cpp:10:
timer.h:44:7: warning: no newline at end of file
In file included from dodgegame.cpp:10:
dodgegame.h:64: error: ISO C++ forbids declaration of `TTF_Font' with no type
dodgegame.h:64: error: expected `;' before '*' token
dodgegame.h:65: error: ISO C++ forbids declaration of `TTF_Font' with no type
dodgegame.h:65: error: expected `;' before '*' token
In file included from dodgegame.cpp:10:
dodgegame.h:97:7: warning: no newline at end of file
dodgegame.cpp: In constructor `GameEngine::GameEngine()':
dodgegame.cpp:36: error: `msgFont' was not declared in this scope
dodgegame.cpp:36: error: `TTF_OpenFont' was not declared in this scope
dodgegame.cpp:37: error: `smallFont' was not declared in this scope
dodgegame.cpp: In member function `void GameEngine::reDraw(SDL_Surface*)':
dodgegame.cpp:553: error: `smallFont' was not declared in this scope
dodgegame.cpp:553: error: `TTF_RenderText_Solid' was not declared in this scope
dodgegame.cpp:563: error: `msgFont' was not declared in this scope
dodgegame.cpp:565: error: `TTF_RenderText_Solid' was not declared in this scope
dodgegame.cpp:576: error: `smallFont' was not declared in this scope
dodgegame.cpp:625: error: `smallFont' was not declared in this scope
dodgegame.cpp:625: error: `TTF_RenderText_Solid' was not declared in this scope
dodgegame.cpp:664: error: `msgFont' was not declared in this scope
dodgegame.cpp:664: error: `TTF_RenderText_Solid' was not declared in this scope
dodgegame.cpp:672: error: `smallFont' was not declared in this scope
dodgegame.cpp:692: error: `smallFont' was not declared in this scope
dodgegame.cpp:720: error: `msgFont' was not declared in this scope
dodgegame.cpp:738: error: `TTF_RenderText_Solid' was not declared in this scope
dodgegame.cpp:742: error: `smallFont' was not declared in this scope
dodgegame.cpp: In member function `void GameEngine::cleanUp()':
dodgegame.cpp:768: error: `msgFont' was not declared in this scope
dodgegame.cpp:769: error: `TTF_CloseFont' was not declared in this scope
dodgegame.cpp:770: error: `smallFont' was not declared in this scope
dodgegame.cpp:771: error: `TTF_CloseFont' was not declared in this scope
In file included from herosquare.h:13,
from herosquare.cpp:10:
extras.h:16:7: warning: no newline at end of file
In file included from herosquare.cpp:10:
herosquare.h:60:7: warning: no newline at end of file
herosquare.cpp:203:2: warning: no newline at end of file
main.cpp:11:17: sdl.h: No such file or directory
In file included from main.cpp:16:
timer.h:44:7: warning: no newline at end of file
In file included from main.cpp:17:
dodgegame.h:17:29: sdl_ttf/SDL_ttf.h: No such file or directory
In file included from herosquare.h:13,
from dodgegame.h:21,
from main.cpp:17:
extras.h:16:7: warning: no newline at end of file
In file included from dodgegame.h:21,
from main.cpp:17:
herosquare.h:60:7: warning: no newline at end of file
In file included from dodgegame.h:22,
from main.cpp:17:
evilsquare.h:47:7: warning: no newline at end of file
In file included from dodgegame.h:23,
from main.cpp:17:
LevelEngine.h:11:24: EvilSquare.h: No such file or directory
In file included from main.cpp:17:
dodgegame.h:97:7: warning: no newline at end of file
In file included from timer.cpp:11:
timer.h:44:7: warning: no newline at end of file