Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 13/09/2012, à 14:35

vosgien88

Installation Flare

Bonjour,
Je n'arrive pas à installer Flare sur mon lubuntu 11.10.
J'ai pourtant suivi la procédure indiquée sur la doc Ubuntu de ce jeu.
Voici ce que donne le Terminal :


jojo@jojo-Inspiron-1525:~$ cd //home/jojo/Jeux/flare_v016_mos
jojo@jojo-Inspiron-1525://home/jojo/Jeux/flare_v016_mos$ g++ -I /usr/include/SDL src/*.cpp -o flare -lSDL -lSDL_image -lSDL_mixer
/tmp/ccL6Yo2k.o: In function `FontEngine::FontEngine()':
FontEngine.cpp:(.text+0x2c): undefined reference to `TTF_WasInit'
FontEngine.cpp:(.text+0x35): undefined reference to `TTF_Init'
FontEngine.cpp:(.text+0x451): undefined reference to `TTF_OpenFont'
FontEngine.cpp:(.text+0x48f): undefined reference to `TTF_FontLineSkip'
FontEngine.cpp:(.text+0x4ab): undefined reference to `TTF_FontHeight'
/tmp/ccL6Yo2k.o: In function `FontEngine::calc_width(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
FontEngine.cpp:(.text+0x73b): undefined reference to `TTF_SizeUTF8'
/tmp/ccL6Yo2k.o: In function `FontEngine::render(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, int, int, SDL_Surface*, int)':
FontEngine.cpp:(.text+0x1018): undefined reference to `TTF_RenderUTF8_Solid'
/tmp/ccL6Yo2k.o: In function `FontEngine::~FontEngine()':
FontEngine.cpp:(.text+0x173c): undefined reference to `TTF_CloseFont'
FontEngine.cpp:(.text+0x1741): undefined reference to `TTF_Quit'
collect2: ld a retourné 1 code d'état d'exécution
jojo@jojo-Inspiron-1525://home/jojo/Jeux/flare_v016_mos$ sudo
usage: sudo -h | -K | -k | -L | -V
usage: sudo -v [-AknS] [-g groupname|#gid] [-p prompt] [-u user name|#uid]
usage: sudo -l[l] [-AknS] [-g groupname|#gid] [-p prompt] [-U user name] [-u
            user name|#uid] [-g groupname|#gid] [command]
usage: sudo [-AbEHknPS] [-C fd] [-g groupname|#gid] [-p prompt] [-u user
            name|#uid] [-g groupname|#gid] [VAR=value] [-i|-s] [<command>]
usage: sudo -e [-AknS] [-C fd] [-g groupname|#gid] [-p prompt] [-u user
            name|#uid] file ...
jojo@jojo-Inspiron-1525://home/jojo/Jeux/flare_v016_mos$ sudo g++ -I /usr/include/SDL src/*.cpp -o flare -lSDL -lSDL_image -lSDL_mixer
[sudo] password for jojo:

/tmp/ccMAUaBz.o: In function `FontEngine::FontEngine()':
FontEngine.cpp:(.text+0x2c): undefined reference to `TTF_WasInit'
FontEngine.cpp:(.text+0x35): undefined reference to `TTF_Init'
FontEngine.cpp:(.text+0x451): undefined reference to `TTF_OpenFont'
FontEngine.cpp:(.text+0x48f): undefined reference to `TTF_FontLineSkip'
FontEngine.cpp:(.text+0x4ab): undefined reference to `TTF_FontHeight'
/tmp/ccMAUaBz.o: In function `FontEngine::calc_width(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
FontEngine.cpp:(.text+0x73b): undefined reference to `TTF_SizeUTF8'
/tmp/ccMAUaBz.o: In function `FontEngine::render(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, int, int, SDL_Surface*, int)':
FontEngine.cpp:(.text+0x1018): undefined reference to `TTF_RenderUTF8_Solid'
/tmp/ccMAUaBz.o: In function `FontEngine::~FontEngine()':
FontEngine.cpp:(.text+0x173c): undefined reference to `TTF_CloseFont'
FontEngine.cpp:(.text+0x1741): undefined reference to `TTF_Quit'
collect2: ld a retourné 1 code d'état d'exécution
jojo@jojo-Inspiron-1525://home/jojo/Jeux/flare_v016_mos$
jojo@jojo-Inspiron-1525://home/jojo/Jeux/flare_v016_mos$ cd //home/jojo/Jeux/flare_v016_mos
jojo@jojo-Inspiron-1525://home/jojo/Jeux/flare_v016_mos$ ./flare
bash: ./flare: Aucun fichier ou dossier de ce type
jojo@jojo-Inspiron-1525://home/jojo/Jeux/flare_v016_mos$
jojo@jojo-Inspiron-1525://home/jojo/Jeux/flare_v016_mos$

Pouvez-vous m'aider SVP

Merci

Hors ligne