Ciao a tutti Su un cd in una rivista ho trovato il gioco tuxman. Ho copiato il pacchetto tar.gz nella mia home, l' ho scompattato e mi son letto il file install e readme. Nel file install c'è scritto:
Tuxman V.0.7 Type "make" to compile Tuxman. "make clean" will remove the object files. e basta. Faccio make e boom una sfilza di erroro e il gioco non si vede. Come avete capito sono uno nuovo. Ho linux da pchi mesi x ora ho fatto solo robe standar, mettondo solo software che c'era nei cd mandrake. Questo è il primo programma che metto al di fuori delle scelte mandrake. Vi allego il file con gli errori che mi escono. Grazie a tutti x la gentile collaborazione.
g++ `sdl-config --cflags` -c src/main.cpp -o obj/main.o /bin/sh: line 1: sdl-config: command not found In file included from src/pacman.h:4, from src/main.cpp:1: src/main.h:7:21: SDL/SDL.h: No such file or directory In file included from src/main.cpp:1: src/pacman.h:13: syntax error before `*' token src/pacman.h:14: syntax error before `*' token src/pacman.h:15: syntax error before `*' token src/pacman.h:16: syntax error before `*' token src/pacman.h:17: syntax error before `*' token src/pacman.h:18: syntax error before `*' token src/pacman.h:19: syntax error before `*' token src/pacman.h:20: syntax error before `*' token src/pacman.h:21: syntax error before `*' token src/pacman.h:22: syntax error before `*' token src/pacman.h:23: syntax error before `*' token src/pacman.h:24: syntax error before `*' token src/pacman.h:25: syntax error before `*' token src/pacman.h:27: 'Uint32' is used as a type, but is not defined as a type. In file included from src/tile.h:6, from src/control.h:6, from src/main.cpp:2: src/sound.h:8: syntax error before `;' token src/sound.h:9: syntax error before `;' token src/sound.h:10: syntax error before `*' token src/sound.h:11: syntax error before `;' token src/sound.h:12: syntax error before `;' token src/sound.h:15: type specifier omitted for parameter `Uint8' src/sound.h:15: parse error before `*' token In file included from src/control.h:6, from src/main.cpp:2: src/tile.h:42: syntax error before `*' token src/main.cpp: In function `int main(int, char**)': src/main.cpp:22: `SDL_PauseAudio' undeclared (first use this function) src/main.cpp:22: (Each undeclared identifier is reported only once for each function it appears in.) src/main.cpp:57: `class pacman' has no member named `screen' src/main.cpp:57: `SDL_UpdateRect' undeclared (first use this function) src/main.cpp:70: `class pacman' has no member named `screen' src/main.cpp:71: `SDL_Delay' undeclared (first use this function) make: *** [obj/main.o] Error 1