Hello
excuser le titre qui n' est pas explicite,mai je ne savait pas quoi mettre.
il sagi du tuto ici:
http://loka.developpez.com/tutoriel/sdl/sdl_ttf/
j'ai télécharger les sources pour les compiler sous linux (debian sid)
et sa donne:
merci d'avance
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 $ g++ -o my_prog main.cpp -lSDLmain -lSDL /tmp/ccFDkQte.o: In function `clean_up()': main.cpp:(.text+0x29): undefined reference to `TTF_CloseFont' main.cpp:(.text+0x2e): undefined reference to `TTF_Quit' /tmp/ccFDkQte.o: In function `init()': main.cpp:(.text+0x94): undefined reference to `TTF_Init' /tmp/ccFDkQte.o: In function `load_image(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)': main.cpp:(.text+0x11f): undefined reference to `IMG_Load' /tmp/ccFDkQte.o: In function `load_files()': main.cpp:(.text+0x211): undefined reference to `TTF_OpenFont' /tmp/ccFDkQte.o: In function `main': main.cpp:(.text+0x2d1): undefined reference to `TTF_RenderText_Solid' collect2: ld a retourné 1 code d'état d'exécution
?
Partager