Názor k článku Alien Blaster: další mimozemská invaze od Patrik Chrz - furt nefunguje :( Nějaký další nápad? patrik@acer-extensa:~/Desktop/alienblaster$ make cd src;make...

  • Článek je starý, nové názory již nelze přidávat.
  • 4. 11. 2008 7:11

    Patrik Chrz
    furt nefunguje :( Nějaký další nápad?

    patrik@acer-extensa:~/Desktop/alienblaster$ make
    cd src;make VERSION=
    make[1]: Entering directory `/home/patrik/Desktop/alienblaster/src'
    touch Makefile.dep
    makedepend -I. -Y -f Makefile.dep *.cc 2> /dev/null
    rm -f Makefile.dep.bak
    make[1]: sdl-config: Command not found


    Compiling main.cc
    In file included from main.cc:20:
    game.h:23:17: error: SDL.h: No such file or directory
    In file included from main.cc:20:
    game.h:49: error: ISO C++ forbids declaration of ‘SDL_Surface’ with no type
    game.h:49: error: expected ‘;’ before ‘*’ token
    game.h:51: error: ISO C++ forbids declaration of ‘SDL_Surface’ with no type
    game.h:51: error: expected ‘;’ before ‘*’ token
    game.h:52: error: ISO C++ forbids declaration of ‘SDL_Surface’ with no type
    game.h:52: error: expected ‘;’ before ‘*’ token
    game.h:53: error: ISO C++ forbids declaration of ‘SDL_Surface’ with no type
    game.h:53: error: expected ‘;’ before ‘*’ token
    game.h:54: error: ISO C++ forbids declaration of ‘SDL_Surface’ with no type
    game.h:54: error: expected ‘;’ before ‘*’ token
    game.h:55: error: ISO C++ forbids declaration of ‘SDL_Surface’ with no type
    game.h:55: error: expected ‘;’ before ‘*’ token
    game.h:56: error: ISO C++ forbids declaration of ‘SDL_Surface’ with no type
    game.h:56: error: expected ‘;’ before ‘*’ token
    game.h:62: error: ‘Uint32’ does not name a type
    game.h:63: error: ‘Uint32’ does not name a type
    game.h:64: error: ‘Uint32’ does not name a type
    game.h:65: error: ‘Uint32’ does not name a type
    game.h:66: error: ‘Uint32’ does not name a type
    game.h:67: error: ‘Uint32’ does not name a type
    game.h:68: error: ‘Uint32’ does not name a type
    game.h:69: error: ‘Uint32’ does not name a type
    main.cc: In function ‘int main(int, char**)’:
    main.cc:27: error: ‘SDL_Init’ was not declared in this scope
    main.cc:31: error: ‘SDL_Quit’ was not declared in this scope
    make[1]: *** [main.o] Error 1
    make[1]: Leaving directory `/home/patrik/Desktop/alienblaster/src'
    make: *** [all] Error 2
    patrik@acer-extensa:~/Desktop/alienblaster$
    patrik@acer-extensa:~/Desktop/alienblaster$