make error "[baloonblaster.0] Error 1"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Brain Party |
New
|
Undecided
|
Unassigned |
Bug Description
I unpack the archive and type make in a root terminal. I get:g++ -g -c -Wno-deprecated `sdl-config --cflags` -I/usr/
/bin/sh: sdl-config: not found
In file included from Minigame.h:26,
BPGame.h:32:17: error: SDL.h: No such file or directory
BPGame.h:33:25: error: SDL_opengl.h: No such file or directory
BPGame.h:34:23: error: SDL_mixer.h: No such file or directory
In file included from BPGame.h:36,
Texture.h:35: error: ‘GLuint’ does not name a type
Texture.h:43: error: ‘GLfloat’ does not name a type
Texture.h:44: error: ‘GLfloat’ does not name a type
Texture.h:46: error: expected ‘)’ before ‘*’ token
Texture.h:49: error: ‘SDL_Surface’ has not been declared
In file included from Minigame.h:26,
BPGame.h:146: error: ISO C++ forbids declaration of ‘Mix_Music’ with no type
BPGame.h:146: error: expected ‘;’ before ‘*’ token
BPGame.h:147: error: ‘Mix_Chunk’ was not declared in this scope
BPGame.h:147: error: template argument 2 is invalid
BPGame.h:147: error: template argument 4 is invalid
BPGame.h:210: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
BPGame.h:210: error: expected ‘;’ before ‘*’ token
make: *** [balloonblaster.o] Error 1
root@marks-
g++ -g -c -Wno-deprecated `sdl-config --cflags` -I/usr/
/bin/sh: sdl-config: not found
In file included from Minigame.h:26,
BPGame.h:32:17: error: SDL.h: No such file or directory
BPGame.h:33:25: error: SDL_opengl.h: No such file or directory
BPGame.h:34:23: error: SDL_mixer.h: No such file or directory
In file included from BPGame.h:36,
Texture.h:35: error: ‘GLuint’ does not name a type
Texture.h:43: error: ‘GLfloat’ does not name a type
Texture.h:44: error: ‘GLfloat’ does not name a type
Texture.h:46: error: expected ‘)’ before ‘*’ token
Texture.h:49: error: ‘SDL_Surface’ has not been declared
In file included from Minigame.h:26,
BPGame.h:146: error: ISO C++ forbids declaration of ‘Mix_Music’ with no type
BPGame.h:146: error: expected ‘;’ before ‘*’ token
BPGame.h:147: error: ‘Mix_Chunk’ was not declared in this scope
BPGame.h:147: error: template argument 2 is invalid
BPGame.h:147: error: template argument 4 is invalid
BPGame.h:210: error: ISO C++ forbids declaration of ‘Mix_Chunk’ with no type
BPGame.h:210: error: expected ‘;’ before ‘*’ token
make: *** [balloonblaster.o] Error 1
I'm using Ubuntu 10.04.
You haven't installed SDL correctly. A correct installation provides "sdl-config" script in your PATH.