Bonjour, j'ai acheté un livre intitulé "Créer des jeux en C++".
Ce livre utilise la bibliothèque LlamaWOrks2D pour tous les exemple qu'il contient.
Mais j'ai un problème lorsque je veux compiler les projets qui utilise Llamaworks2D.
Après avoir fait à la lettre ce qu'on me dit dans le livre, j'ai des erreur de compilation (j'utilise Dev-Cpp).

1 C:\Documents and Settings\Huhu\Mes documents\Projets Dev-C++\Jeu simple\Prog_04_01.cpp In file included from Prog_04_01.cpp
9 C:\Documents and Settings\Huhu\Mes documents\Projets Dev-C++\Jeu simple\LlamaWorks2d.h al/al.h: No such file or directory.
10 C:\Documents and Settings\Huhu\Mes documents\Projets Dev-C++\Jeu simple\LlamaWorks2d.h al/alc.h: No such file or directory.
11 C:\Documents and Settings\Huhu\Mes documents\Projets Dev-C++\Jeu simple\LlamaWorks2d.h al/alu.h: No such file or directory.
12 C:\Documents and Settings\Huhu\Mes documents\Projets Dev-C++\Jeu simple\LlamaWorks2d.h al/alut.h: No such file or directory.
1 C:\Documents and Settings\Huhu\Mes documents\Projets Dev-C++\Jeu simple\LlamaWorks2d.h:30, from Prog_04_01.cpp In file included from LlamaWorks2d.h:30, from Prog_04_01.cpp
1 C:\Documents and Settings\Huhu\Mes documents\Projets Dev-C++\Jeu simple\Prog_04_01.cpp from Prog_04_01.cpp
25 C:\Documents and Settings\Huhu\Mes documents\Projets Dev-C++\Jeu simple\LW2DSound.h `ALuint' does not name a type
26 C:\Documents and Settings\Huhu\Mes documents\Projets Dev-C++\Jeu simple\LW2DSound.h `ALuint' does not name a type
C:\Documents and Settings\Huhu\Mes documents\Projets Dev-C++\Jeu simple\Makefile.win [Build Error] [Prog_04_01.o] Error 1






Le code du programme compilé doit m'afficher un écran bleu :

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
17
18
19
#include "LlamaWorks2d.h"
 
using namespace llamaworks2d;
 
 
class my_game : public game
{
public:
    ATTACH_MESSAGE_MAP;
 
private:
};
 
 
CREATE_GAME_OBJECT(my_game);
 
 
START_MESSAGE_MAP(my_game)
END_MESSAGE_MAP(my_game)
Je voudrais savoir quels types de configuration je dois apporter à Dev-Cpp pour que ça marche.
Merci d'avance.