I\'m using Debian Lenny (Testing) with a Powerpc, so, if I want to play this wonderful game, I have to compile it.
I\'ve installed these packages:
I\'ve succesfully compiled ImageLib under contrib/ImageLib/src; but when I try to compile Blockout2_GL, I get these errors (sorry for the LONG list):libgl1-mesa-dev
libsdl1.2-dev
libsdl-mixer1.2-dev
Code: Select all
GLApp/GLApp.h:5:17: error: SDL.h: No such file or directory
GLApp/GLApp.h:6:24: error: SDL_opengl.h: No such file or directory
In file included from Game.h:26,
from BlockOut.h:18,
from BlockOut.cpp:18:
SoundManager.h:18:23: error: SDL_mixer.h: No such file or directory
In file included from Game.h:19,
from BlockOut.h:18,
from BlockOut.cpp:18:
GLApp/GLApp.h:79: error: ‘SDL_Event’ has not been declared
In file included from Game.h:20,
from BlockOut.h:18,
from BlockOut.cpp:18:
GLApp/GLSprite.h:33: error: ‘GLuint’ does not name a type
GLApp/GLSprite.h:44: error: ‘GLfloat’ does not name a type
In file included from Game.h:21,
from BlockOut.h:18,
from BlockOut.cpp:18:
GLApp/GLMatrix.h:30: error: ISO C++ forbids declaration of ‘GLfloat’ with no type
GLApp/GLMatrix.h:30: error: expected ‘;’ before ‘*’ token
GLApp/GLMatrix.h:31: error: ‘GLfloat’ has not been declared
In file included from Game.h:22,
from BlockOut.h:18,
from BlockOut.cpp:18:
GLApp/GLFont.h:28: error: ‘GLuint’ does not name a type
GLApp/GLFont.h:31: error: ‘GLfloat’ does not name a type
In file included from PolyCube.h:18,
from Pit.h:18,
from Game.h:23,
from BlockOut.h:18,
from BlockOut.cpp:18:
Types.h:146: error: ‘GLuint’ has not been declared
In file included from Pit.h:18,
from Game.h:23,
from BlockOut.h:18,
from BlockOut.cpp:18:
PolyCube.h:85: error: ‘GLuint’ does not name a type
PolyCube.h:86: error: ‘GLuint’ does not name a type
In file included from Game.h:23,
from BlockOut.h:18,
from BlockOut.cpp:18:
Pit.h:82: error: ‘GLuint’ does not name a type
Pit.h:98: error: ‘GLuint’ does not name a type
Pit.h:99: error: ‘GLuint’ does not name a type
Pit.h:100: error: ‘GLuint’ does not name a type
Pit.h:101: error: ‘GLuint’ does not name a type
Pit.h:102: error: ‘GLuint’ does not name a type
Pit.h:103: error: ‘GLuint’ does not name a type
Pit.h:104: error: ‘GLuint’ does not name a type
Pit.h:109: error: ISO C++ forbids declaration of ‘GLfloat’ with no type
Pit.h:109: error: expected ‘;’ before ‘*’ token
Pit.h:129: error: ‘GLuint’ does not name a type
Pit.h:130: error: ‘GLuint’ does not name a type
In file included from Game.h:26,
from BlockOut.h:18,
from BlockOut.cpp:18:
SoundManager.h:58: error: ‘Mix_Chunk’ has not been declared
SoundManager.h:63: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
SoundManager.h:63: error: expected ‘;’ before ‘*’ token
SoundManager.h:64: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
SoundManager.h:64: error: expected ‘;’ before ‘*’ token
SoundManager.h:65: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
SoundManager.h:65: error: expected ‘;’ before ‘*’ token
SoundManager.h:66: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
SoundManager.h:66: error: expected ‘;’ before ‘*’ token
SoundManager.h:67: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
SoundManager.h:67: error: expected ‘;’ before ‘*’ token
SoundManager.h:68: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
SoundManager.h:68: error: expected ‘;’ before ‘*’ token
SoundManager.h:69: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
SoundManager.h:69: error: expected ‘;’ before ‘*’ token
SoundManager.h:70: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
SoundManager.h:70: error: expected ‘;’ before ‘*’ token
SoundManager.h:71: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
SoundManager.h:71: error: expected ‘;’ before ‘*’ token
SoundManager.h:72: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
SoundManager.h:72: error: expected ‘;’ before ‘*’ token
SoundManager.h:73: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
SoundManager.h:73: error: expected ‘;’ before ‘*’ token
SoundManager.h:74: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
SoundManager.h:74: error: expected ‘;’ before ‘*’ token
SoundManager.h:76: error: ISO C++ forbids declaration of ‘Mix_Music’ with no type
SoundManager.h:76: error: expected ‘;’ before ‘*’ token
In file included from BlockOut.h:18,
from BlockOut.cpp:18:
Game.h:59: error: ‘GLfloat’ has not been declared
Game.h:90: error: ‘GLfloat’ does not name a type
Game.h:140: error: ‘GLfloat’ does not name a type
Game.h:141: error: ‘GLfloat’ does not name a type
Game.h:142: error: ‘GLfloat’ does not name a type
In file included from Menu.h:18,
from BlockOut.h:19,
from BlockOut.cpp:18:
MenuPage.h: In member function ‘void MenuPage::«»ProcessDefault(BYTE*, float)’:
MenuPage.h:56: error: ‘SDLK_DOWN’ was not declared in this scope
MenuPage.h:62: error: ‘SDLK_UP’ was not declared in this scope
MenuPage.h: At global scope:
MenuPage.h:115: error: ‘GLfloat’ does not name a type
MenuPage.h:115: error: ‘GLfloat’ does not name a type
MenuPage.h:115: error: ‘GLfloat’ has not been declared
MenuPage.h:160: error: ‘GLfloat’ does not name a type
MenuPage.h:160: error: ‘GLfloat’ does not name a type
In file included from Menu.h:20,
from BlockOut.h:19,
from BlockOut.cpp:18:
MenuGrid.h:61: error: ‘GLuint’ does not name a type
MenuGrid.h:64: error: ‘GLuint’ does not name a type
MenuGrid.h:67: error: ‘GLuint’ does not name a type
MenuGrid.h:70: error: ‘GLuint’ does not name a type
MenuGrid.h:72: error: ‘GLuint’ does not name a type
MenuGrid.h:73: error: ‘GLuint’ does not name a type
MenuGrid.h:74: error: ‘GLuint’ does not name a type
MenuGrid.h:75: error: ‘GLuint’ does not name a type
MenuGrid.h:77: error: ‘GLuint’ does not name a type
MenuGrid.h:78: error: ‘GLuint’ does not name a type
MenuGrid.h:79: error: ‘GLuint’ does not name a type
MenuGrid.h:80: error: ‘GLuint’ does not name a type
In file included from BlockOut.h:19,
from BlockOut.cpp:18:
Menu.h:37: error: ‘GLfloat’ has not been declared
Menu.h:38: error: ISO C++ forbids declaration of ‘GLfloat’ with no type
Menu.h:38: error: expected ‘;’ before ‘*’ token
Menu.h:105: error: ‘GLfloat’ does not name a type
Menu.h:106: error: ‘GLfloat’ does not name a type
In file included from BlockOut.cpp:18:
BlockOut.h:36: error: ‘SDLK_LAST’ was not declared in this scope
BlockOut.h:48: error: ‘SDL_Event’ has not been declared
BlockOut.cpp: In constructor ‘BlockOut::BlockOut()’:
BlockOut.cpp:55: warning: deprecated conversion from string constant to ‘char*’
BlockOut.cpp:56: error: ‘m_bKey’ was not declared in this scope
BlockOut.cpp: In member function ‘virtual int BlockOut::FrameMove()’:
BlockOut.cpp:97: error: ‘m_bKey’ was not declared in this scope
BlockOut.cpp:97: error: ‘SDLK_F1’ was not declared in this scope
BlockOut.cpp:108: error: ‘m_bKey’ was not declared in this scope
BlockOut.cpp: In member function ‘virtual int BlockOut::OneTimeSceneInit()’:
BlockOut.cpp:194: error: ‘printf’ was not declared in this scope
BlockOut.cpp: In member function ‘virtual int BlockOut::RestoreDeviceObjects()’:
BlockOut.cpp:219: error: ‘GLfloat’ was not declared in this scope
BlockOut.cpp:219: error: expected `;\' before ‘matView’
BlockOut.cpp:226: error: ‘glClearColor’ was not declared in this scope
BlockOut.cpp:229: error: ‘glViewport’ was not declared in this scope
BlockOut.cpp:232: error: ‘GL_MODELVIEW’ was not declared in this scope
BlockOut.cpp:232: error: ‘glMatrixMode’ was not declared in this scope
BlockOut.cpp:233: error: ‘glLoadIdentity’ was not declared in this scope
BlockOut.cpp:234: error: ‘gluLookAt’ was not declared in this scope
BlockOut.cpp:235: error: ‘GL_MODELVIEW_MATRIX’ was not declared in this scope
BlockOut.cpp:235: error: ‘matView’ was not declared in this scope
BlockOut.cpp:235: error: ‘glGetFloatv’ was not declared in this scope
BlockOut.cpp:238: error: ‘GL_SMOOTH’ was not declared in this scope
BlockOut.cpp:238: error: ‘glShadeModel’ was not declared in this scope
BlockOut.cpp:240: error: expected `;\' before ‘global_ambient’
BlockOut.cpp:241: error: ‘GL_LIGHT_MODEL_AMBIENT’ was not declared in this scope
BlockOut.cpp:241: error: ‘global_ambient’ was not declared in this scope
BlockOut.cpp:241: error: ‘glLightModelfv’ was not declared in this scope
BlockOut.cpp:243: error: expected `;\' before ‘ambientLight’
BlockOut.cpp:244: error: expected `;\' before ‘diffuseLight’
BlockOut.cpp:245: error: expected `;\' before ‘specularLight’
BlockOut.cpp:246: error: expected `;\' before ‘position’
BlockOut.cpp:248: error: ‘GL_LIGHT0’ was not declared in this scope
BlockOut.cpp:248: error: ‘GL_AMBIENT’ was not declared in this scope
BlockOut.cpp:248: error: ‘ambientLight’ was not declared in this scope
BlockOut.cpp:248: error: ‘glLightfv’ was not declared in this scope
BlockOut.cpp:249: error: ‘GL_DIFFUSE’ was not declared in this scope
BlockOut.cpp:249: error: ‘diffuseLight’ was not declared in this scope
BlockOut.cpp:250: error: ‘GL_SPECULAR’ was not declared in this scope
BlockOut.cpp:250: error: ‘specularLight’ was not declared in this scope
BlockOut.cpp:251: error: ‘GL_POSITION’ was not declared in this scope
BlockOut.cpp:251: error: ‘position’ was not declared in this scope
BlockOut.cpp:252: error: ‘glEnable’ was not declared in this scope
BlockOut.cpp:255: error: ‘GL_PERSPECTIVE_CORRECTION_HINT’ was not declared in this scope
BlockOut.cpp:255: error: ‘GL_NICEST’ was not declared in this scope
BlockOut.cpp:255: error: ‘glHint’ was not declared in this scope
BlockOut.cpp:258: error: ‘GL_BLEND’ was not declared in this scope
BlockOut.cpp:258: error: ‘glDisable’ was not declared in this scope
BlockOut.cpp:259: error: ‘GL_DEPTH_TEST’ was not declared in this scope
BlockOut.cpp:262: error: ‘glGetError’ was not declared in this scope
BlockOut.cpp:262: error: ‘GL_NO_ERROR’ was not declared in this scope
BlockOut.cpp: At global scope:
BlockOut.cpp:301: error: ‘int BlockOut::EventProc’ is not a static member of ‘class BlockOut’
BlockOut.cpp:301: error: ‘SDL_Event’ was not declared in this scope
BlockOut.cpp:301: error: ‘event’ was not declared in this scope
BlockOut.cpp:302: error: expected ‘,’ or ‘;’ before ‘{’ token
make: *** [BlockOut.o] Error 1