Piegus Napisano Kwiecień 28, 2006 Zgłoszenie Share Napisano Kwiecień 28, 2006 Witam. Chciałem ostatnio zainstalowac gre epiar 0.5.0 Strna: www.epiar.net Jej wymagania to : SDL, który znalazłem w rpmach (chyba) perl_SDL XFree86 - nie wiem czy mam zainstalowanmy ale !!chyba!! tak.... gcc 4.1 taki jakiś mam. Aby zainstalowac nalęzy wpisac polecenie make -f Makefile.linux i wyskakuje mi coś takiewgo: [piotr@Fedora epiar]$ make -f Makefile.linux /bin/sh: sdl-config: command not found In file included from src/main.c:1: src/includes.h:22:17: error: SDL.h: Nie ma takiego pliku ani katalogu src/includes.h:23:23: error: SDL_image.h: Nie ma takiego pliku ani katalogu In file included from src/sprite/ship.h:5, from src/sprite/fire.h:4, from src/sprite/sprite.h:5, from src/main.c:4: src/sprite/model.h:18: error: expected specifier-qualifier-list before ‘Uint32’ src/sprite/model.h:25: error: expected specifier-qualifier-list before ‘SDL_Surface’ In file included from src/sprite/ship.h:6, from src/sprite/fire.h:4, from src/sprite/sprite.h:5, from src/main.c:4: src/sprite/weapon.h:11: error: expected specifier-qualifier-list before ‘SDL_Surface’ In file included from src/sprite/fire.h:4, from src/sprite/sprite.h:5, from src/main.c:4: src/sprite/ship.h:49: error: expected specifier-qualifier-list before ‘Uint8’ In file included from src/sprite/sprite.h:5, from src/main.c:4: src/sprite/fire.h:10: error: expected specifier-qualifier-list before ‘SDL_Surface’ In file included from src/sprite/planet.h:8, from src/sprite/gate.h:5, from src/sprite/sprite.h:6, from src/main.c:4: src/alliances/alliances.h:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token In file included from src/sprite/planet.h:11, from src/sprite/gate.h:5, from src/sprite/sprite.h:6, from src/main.c:4: src/sprite/upgrade.h:12: error: expected specifier-qualifier-list before ‘Uint32’ src/sprite/upgrade.h:22: error: expected specifier-qualifier-list before ‘Uint32’ In file included from src/sprite/gate.h:5, from src/sprite/sprite.h:6, from src/main.c:4: src/sprite/planet.h:19: error: expected specifier-qualifier-list before ‘SDL_Surface’ In file included from src/sprite/sprite.h:6, from src/main.c:4: src/sprite/gate.h:18: error: expected specifier-qualifier-list before ‘SDL_Surface’ src/sprite/gate.h:29: error: expected specifier-qualifier-list before ‘Uint32’ In file included from src/main.c:7: src/system/video/video.h:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token src/system/video/video.h:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘black’ src/system/video/video.h:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘screen_bpp’ src/system/video/video.h:25: error: expected ‘)’ before ‘*’ token src/system/video/video.h:28: error: expected ‘)’ before ‘*’ token src/system/video/video.h:29: error: expected declaration specifiers or ‘...’ before ‘Uint32’ src/system/video/video.h:32: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘map_rgb’ src/system/video/video.h:33: error: expected ‘)’ before ‘*’ token src/system/video/video.h:34: error: expected ‘)’ before ‘*’ token src/system/video/video.h:35: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token src/system/video/video.h:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token src/system/video/video.h:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token src/system/video/video.h:52: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token src/system/video/video.h:53: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token src/system/video/video.h:56: error: expected declaration specifiers or ‘...’ before ‘Uint32’ src/system/video/video.h:57: error: expected declaration specifiers or ‘...’ before ‘Uint32’ src/system/video/video.h:58: error: expected declaration specifiers or ‘...’ before ‘Uint32’ src/system/video/video.h:59: error: expected ‘)’ before ‘*’ token src/main.c:14: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘audio_update_delay’ make: *** [main.o] Błąd 1 NIe wiem co mam zorbić. Prosze o pomoc. Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
broda Napisano Kwiecień 28, 2006 Zgłoszenie Share Napisano Kwiecień 28, 2006 yum install SDL ? a może się mylę Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
Piegus Napisano Kwiecień 28, 2006 Autor Zgłoszenie Share Napisano Kwiecień 28, 2006 Już próbowalem. NIC z tego.... Teraz dostaje takie komunikaty: [piotr@Fedora epiar]$ make -f Makefile.linux src/sprite/sprite.c:658:2: warning: #warning fix force amount here (make it dependant on type class or something) src/sprite/sprite.c:722:2: warning: #warning we need to remember the model of ship and weapon mounts or something here or else it isnt a perfect respawn src/sprite/sprite.c:940:2: warning: #warning fix cash value src/sprite/sprite.c:1128:2: warning: #warning the 400 should be some number dependant upon mass src/game/game.c:35: error: static declaration of ‘game_start_time’ follows non-static declaration src/game/game.h:5: error: previous declaration of ‘game_start_time’ was here make: *** [game.o] Błąd 1 Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
Rekomendowane odpowiedzi
Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto
Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.
Zarejestruj nowe konto
Załóż nowe konto. To bardzo proste!
Zarejestruj sięZaloguj się
Posiadasz już konto? Zaloguj się poniżej.
Zaloguj się