make error "[baloonblaster.0] Error 1"

Bug #601681 reported by Marks Polakovs
6
This bug affects 1 person
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/X11R6/include -o balloonblaster.o balloonblaster.cpp
/bin/sh: sdl-config: not found
In file included from Minigame.h:26,
                 from balloonblaster.cpp:18:
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,
                 from Minigame.h:26,
                 from balloonblaster.cpp:18:
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,
                 from balloonblaster.cpp:18:
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-laptop:~/Downloads/brainparty# make
g++ -g -c -Wno-deprecated `sdl-config --cflags` -I/usr/X11R6/include -o balloonblaster.o balloonblaster.cpp
/bin/sh: sdl-config: not found
In file included from Minigame.h:26,
                 from balloonblaster.cpp:18:
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,
                 from Minigame.h:26,
                 from balloonblaster.cpp:18:
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,
                 from balloonblaster.cpp:18:
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.

Related branches

Revision history for this message
Szymon Ender (ender-sz) wrote :

You haven't installed SDL correctly. A correct installation provides "sdl-config" script in your PATH.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.