Bonjours a tous
Je suis un debutant sous linux depuis 2 mois, programeur pas ocasion aussi, ceci est mon premier post
Veuillier excuser les fautes je rencontre quelque problème avec le correcteur de français.
J'ais joué par le passé a total ainiilation, et j'espèere decouvrire la vertion 3 d de ce jeux .
Mon problème c est que je ne parvien pas a compiler le jeux.
Je suis sous debian testing. j'ai fait un log de la consol qui va peut etre vous aider a me dire ou sa plente.
Je vous place egalment les paquet installer par moi meme. dasn ce meme scripte
uname -a
Linux ch 2.6.17-2-k7 #1 SMP Wed Sep 13 17:18:46 UTC 2006 i686 GNU/Linux
paquet installer.
Script started on mer 29 nov 2006 05:31:20 CET
ch:/home/tnt# apt-get install amsn xchat xchat-systray xvnc4viewer ethereal modu
le-assistant nmap nload bwm tcpstat k3b putty putty-tools ethereal aspell-doc sp
ellutils gnome-spell gnome-accessibility-themes gnome-games-extra-data gnome-off
ice xemacs21-gnome-mule xqf gnome-pilot libsdl-net1.2 libpng3 libcoin40c2 libope
nal0a libopenalpp-cvs1 libopenalpp-cvs-dev gnome-art gnome-splashscreen-manager
Lecture des listes de paquets... 0%
Lecture des listes de paquets... 0%
Lecture des listes de paquets... 9%
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... 0%
Construction de l'arbre des dépendances... 0%
Construction de l'arbre des dépendances... 50%
Construction de l'arbre des dépendances... 50%
Construction de l'arbre des dépendances... Fait
amsn est déjà la plus récente version disponible.
xchat est déjà la plus récente version disponible.
xchat-systray est déjà la plus récente version disponible.
xvnc4viewer est déjà la plus récente version disponible.
ethereal est déjà la plus récente version disponible.
module-assistant est déjà la plus récente version disponible.
nmap est déjà la plus récente version disponible.
nload est déjà la plus récente version disponible.
bwm est déjà la plus récente version disponible.
tcpstat est déjà la plus récente version disponible.
k3b est déjà la plus récente version disponible.
putty est déjà la plus récente version disponible.
putty-tools est déjà la plus récente version disponible.
ethereal est déjà la plus récente version disponible.
aspell-doc est déjà la plus récente version disponible.
spellutils est déjà la plus récente version disponible.
gnome-spell est déjà la plus récente version disponible.
gnome-accessibility-themes est déjà la plus récente version disponible.
gnome-games-extra-data est déjà la plus récente version disponible.
gnome-office est déjà la plus récente version disponible.
xemacs21-gnome-mule est déjà la plus récente version disponible.
xqf est déjà la plus récente version disponible.
gnome-pilot est déjà la plus récente version disponible.
libsdl-net1.2 est déjà la plus récente version disponible.
libpng3 est déjà la plus récente version disponible.
libcoin40c2 est déjà la plus récente version disponible.
libopenal0a est déjà la plus récente version disponible.
libopenalpp-cvs1 est déjà la plus récente version disponible.
libopenalpp-cvs-dev est déjà la plus récente version disponible.
gnome-art est déjà la plus récente version disponible.
gnome-splashscreen-manager est déjà la plus récente version disponible.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
ch:/home/tnt# apt-get install flex-old wine libwine-alsa libwine-arts libwine-es
d libwine-gl wine-doc wine-utils xwine cvs build-essential bison libasound2-dev
xorg-dev libpng12-dev libjpeg62-dev libfreetype6-dev libxrender-dev libttf2 libt
tf-dev libsdl1.2-dev libsdl-ttf2.0-dev msttcorefonts libfontconfig1-dev allegro-
demo allegro-examples liballegro4.2-dev liballegro4.2-plugin-arts liballegro4.2-
plugin-esd liballegro4.2-plugin-svgalib
Lecture des listes de paquets... 0%
Lecture des listes de paquets... 100%
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... 0%
Construction de l'arbre des dépendances... 0%
Construction de l'arbre des dépendances... 50%
Construction de l'arbre des dépendances... 50%
Construction de l'arbre des dépendances... Fait
flex-old est déjà la plus récente version disponible.
wine est déjà la plus récente version disponible.
libwine-alsa est déjà la plus récente version disponible.
libwine-arts est déjà la plus récente version disponible.
libwine-esd est déjà la plus récente version disponible.
libwine-gl est déjà la plus récente version disponible.
wine-doc est déjà la plus récente version disponible.
wine-utils est déjà la plus récente version disponible.
xwine est déjà la plus récente version disponible.
cvs est déjà la plus récente version disponible.
build-essential est déjà la plus récente version disponible.
bison est déjà la plus récente version disponible.
libasound2-dev est déjà la plus récente version disponible.
xorg-dev est déjà la plus récente version disponible.
libpng12-dev est déjà la plus récente version disponible.
libjpeg62-dev est déjà la plus récente version disponible.
libfreetype6-dev est déjà la plus récente version disponible.
libxrender-dev est déjà la plus récente version disponible.
libttf2 est déjà la plus récente version disponible.
libttf-dev est déjà la plus récente version disponible.
libsdl1.2-dev est déjà la plus récente version disponible.
libsdl-ttf2.0-dev est déjà la plus récente version disponible.
msttcorefonts est déjà la plus récente version disponible.
libfontconfig1-dev est déjà la plus récente version disponible.
allegro-demo est déjà la plus récente version disponible.
allegro-examples est déjà la plus récente version disponible.
liballegro4.2-dev est déjà la plus récente version disponible.
liballegro4.2-plugin-arts est déjà la plus récente version disponible.
liballegro4.2-plugin-esd est déjà la plus récente version disponible.
liballegro4.2-plugin-svgalib est déjà la plus récente version disponible.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
ch:/home/tnt# exit
Script done on mer 29 nov 2006 05:31:57 CET
Ensuite :
Script started on mer 29 nov 2006 05:35:44 CET
]0;tnt@ch: ~/Desktoptnt@ch:~/Desktop$ cd T[Kta3d/
]0;tnt@ch: ~/Desktop/ta3dtnt@ch:~/Desktop/ta3d$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking whether make sets $(MAKE)... (cached) yes
checking for main in -lGL... yes
checking for main in -lGLU... yes
checking for main in -lz... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... no
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for string.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for working volatile... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for select... no
checking for sqrt... no
checking for strcasecmp... no
checking for strdup... no
checking for strstr... no
./img.sh: line 4: convert: command not found
./img.sh: line 5: convert: command not found
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing depfiles commands
]0;tnt@ch: ~/Desktop/ta3dtnt@ch:~/Desktop/ta3d$ make
make all-recursive
make[1]: entrant dans le répertoire « /home/tnt/Desktop/ta3d »
Making all in src
make[2]: entrant dans le répertoire « /home/tnt/Desktop/ta3d/src »
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT ta3d.o -MD -MP -MF ".deps/ta3d.Tpo" -c -o ta3d.o ta3d.cpp; \
then mv -f ".deps/ta3d.Tpo" ".deps/ta3d.Po"; else rm -f ".deps/ta3d.Tpo"; exit 1; fi
ta3d.cpp:24:35: error: alleggl.h: Aucun fichier ou répertoire de ce type
glfunc.h: In member function ‘void SHADER::destroy()’:
glfunc.h:54: error: ‘glDetachObjectARB’ was not declared in this scope
glfunc.h:56: error: ‘glDeleteObjectARB’ was not declared in this scope
glfunc.h: In member function ‘void SHADER::on()’:
glfunc.h:65: error: ‘glUseProgramObjectARB’ was not declared in this scope
glfunc.h: In member function ‘void SHADER::off()’:
glfunc.h:71: error: ‘glUseProgramObjectARB’ was not declared in this scope
glfunc.h: In member function ‘void SHADER::setvar1f(char*, float)’:
glfunc.h:77: error: ‘glGetUniformLocationARB’ was not declared in this scope
glfunc.h:77: error: ‘glUniform1fARB’ was not declared in this scope
glfunc.h: In member function ‘void SHADER::setvar2f(char*, float, float)’:
glfunc.h:83: error: ‘glGetUniformLocationARB’ was not declared in this scope
glfunc.h:83: error: ‘glUniform2fARB’ was not declared in this scope
glfunc.h: In member function ‘void SHADER::setvar3f(char*, float, float, float)’:
glfunc.h:89: error: ‘glGetUniformLocationARB’ was not declared in this scope
glfunc.h:89: error: ‘glUniform3fARB’ was not declared in this scope
glfunc.h: In member function ‘void SHADER::setvar4f(char*, float, float, float, float)’:
glfunc.h:95: error: ‘glGetUniformLocationARB’ was not declared in this scope
glfunc.h:95: error: ‘glUniform4fARB’ was not declared in this scope
glfunc.h: In member function ‘void SHADER::setvar1i(char*, int)’:
glfunc.h:101: error: ‘glGetUniformLocationARB’ was not declared in this scope
glfunc.h:101: error: ‘glUniform1iARB’ was not declared in this scope
glfunc.h: In member function ‘void SHADER::setvar2i(char*, int, int)’:
glfunc.h:107: error: ‘glGetUniformLocationARB’ was not declared in this scope
glfunc.h:107: error: ‘glUniform2iARB’ was not declared in this scope
glfunc.h: In member function ‘void SHADER::setvar3i(char*, int, int, int)’:
glfunc.h:113: error: ‘glGetUniformLocationARB’ was not declared in this scope
glfunc.h:113: error: ‘glUniform3iARB’ was not declared in this scope
glfunc.h: In member function ‘void SHADER::setvar4i(char*, int, int, int, int)’:
glfunc.h:119: error: ‘glGetUniformLocationARB’ was not declared in this scope
glfunc.h:119: error: ‘glUniform4iARB’ was not declared in this scope
gaf.h: In member function ‘void ANIM::convert(bool, bool)’:
gaf.h:171: error: ‘allegro_gl_set_texture_format’ was not declared in this scope
gaf.h:173: error: ‘allegro_gl_set_texture_format’ was not declared in this scope
gaf.h:174: error: ‘allegro_gl_use_alpha_channel’ was not declared in this scope
gaf.h:175: error: ‘allegro_gl_make_texture’ was not declared in this scope
ta3d.h: In function ‘GLuint LoadTex(char*)’:
ta3d.h:208: error: ‘allegro_gl_use_alpha_channel’ was not declared in this scope
ta3d.h:212: error: ‘allegro_gl_set_texture_format’ was not declared in this scope
ta3d.h:214: error: ‘allegro_gl_set_texture_format’ was not declared in this scope
ta3d.h:215: error: ‘allegro_gl_make_texture’ was not declared in this scope
ta3d.h:220: error: ‘allegro_gl_set_texture_format’ was not declared in this scope
ta3d.h: In function ‘GLuint LoadMaskedTex(char*, char*)’:
ta3d.h:237: error: ‘allegro_gl_use_alpha_channel’ was not declared in this scope
ta3d.h:239: error: ‘allegro_gl_set_texture_format’ was not declared in this scope
ta3d.h:241: error: ‘allegro_gl_set_texture_format’ was not declared in this scope
ta3d.h:242: error: ‘allegro_gl_make_texture’ was not declared in this scope
particles.h: In member function ‘void PARTICLE_ENGINE::init(bool)’:
particles.h:75: error: ‘allegro_gl_use_alpha_channel’ was not declared in this scope
particles.h:76: error: ‘allegro_gl_set_texture_format’ was not declared in this scope
particles.h:77: error: ‘allegro_gl_make_texture’ was not declared in this scope
EngineClass.h: In member function ‘void PLAYERS::show_resources()’:
EngineClass.h:979: error: ‘allegro_gl_printf’ was not declared in this scope
EngineClass.h: In member function ‘void INGAME_UNITS::draw_shadow(CAMERA*, VECTOR, MAP*, float)’:
EngineClass.h:1735: error: ‘glActiveStencilFaceEXT’ was not declared in this scope
EngineClass.h:1760: error: ‘allegro_gl_set_allegro_mode’ was not declared in this scope
EngineClass.h:1773: error: ‘allegro_gl_unset_allegro_mode’ was not declared in this scope
EngineClass.h: In member function ‘void INGAME_UNITS::complete_menu(int)’:
EngineClass.h:2252: error: ‘allegro_gl_printf’ was not declared in this scope
script.h: In member function ‘void DRAW_LIST::draw(FONT*)’:
script.h:639: error: ‘allegro_gl_printf’ was not declared in this scope
ta3d.cpp: In function ‘int main(int, char**)’:
ta3d.cpp:53: error: ‘install_allegro_gl’ was not declared in this scope
ta3d.cpp:83: error: ‘allegro_gl_clear_settings’ was not declared in this scope
ta3d.cpp:84: error: ‘AGL_STENCIL_DEPTH’ was not declared in this scope
ta3d.cpp:84: error: ‘allegro_gl_set’ was not declared in this scope
ta3d.cpp:85: error: ‘AGL_SAMPLE_BUFFERS’ was not declared in this scope
ta3d.cpp:86: error: ‘AGL_SAMPLES’ was not declared in this scope
ta3d.cpp:87: error: ‘AGL_COLOR_DEPTH’ was not declared in this scope
ta3d.cpp:88: error: ‘AGL_Z_DEPTH’ was not declared in this scope
ta3d.cpp:89: error: ‘AGL_FULLSCREEN’ was not declared in this scope
ta3d.cpp:90: error: ‘AGL_DOUBLEBUFFER’ was not declared in this scope
ta3d.cpp:91: error: ‘AGL_RENDERMETHOD’ was not declared in this scope
ta3d.cpp:92: error: ‘AGL_SUGGEST’ was not declared in this scope
ta3d.cpp:94: error: ‘allegro_gl_use_mipmapping’ was not declared in this scope
ta3d.cpp:96: error: ‘allegro_gl_flip_texture’ was not declared in this scope
ta3d.cpp:101: error: ‘GFX_OPENGL_FULLSCREEN’ was not declared in this scope
ta3d.cpp:103: error: ‘GFX_OPENGL_WINDOWED’ was not declared in this scope
ta3d.cpp:108: error: ‘allegro_gl_set_texture_format’ was not declared in this scope
ta3d.cpp:110: error: ‘allegro_gl_set_texture_format’ was not declared in this scope
ta3d.cpp:116: error: ‘AGL_FONT_TYPE_TEXTURED’ was not declared in this scope
ta3d.cpp:116: error: ‘allegro_gl_convert_allegro_font’ was not declared in this scope
ta3d.cpp: In function ‘void play(char*)’:
ta3d.cpp:280: error: ‘allegro_gl_flip’ was not declared in this scope
ta3d.cpp:291: error: ‘allegro_gl_flip’ was not declared in this scope
ta3d.cpp:498: error: ‘glGenFramebuffersEXT’ was not declared in this scope
ta3d.cpp:503: error: ‘allegro_gl_set_texture_format’ was not declared in this scope
ta3d.cpp:506: error: ‘allegro_gl_make_texture’ was not declared in this scope
ta3d.cpp:510: error: ‘glGenRenderbuffersEXT’ was not declared in this scope
ta3d.cpp:511: error: ‘glBindRenderbufferEXT’ was not declared in this scope
ta3d.cpp:512: error: ‘glRenderbufferStorageEXT’ was not declared in this scope
ta3d.cpp:1175: error: ‘glBindFramebufferEXT’ was not declared in this scope
ta3d.cpp:1177: error: ‘glFramebufferTexture2DEXT’ was not declared in this scope
ta3d.cpp:1179: error: ‘glFramebufferRenderbufferEXT’ was not declared in this scope
ta3d.cpp:1444: error: ‘glBindFramebufferEXT’ was not declared in this scope
ta3d.cpp:1445: error: ‘glFramebufferTexture2DEXT’ was not declared in this scope
ta3d.cpp:1654: error: ‘allegro_gl_set_allegro_mode’ was not declared in this scope
ta3d.cpp:1855: error: ‘allegro_gl_printf’ was not declared in this scope
ta3d.cpp:1869: error: ‘allegro_gl_printf’ was not declared in this scope
ta3d.cpp:1903: error: ‘allegro_gl_printf’ was not declared in this scope
ta3d.cpp:1939: error: ‘allegro_gl_unset_allegro_mode’ was not declared in this scope
ta3d.cpp:1941: error: ‘allegro_gl_flip’ was not declared in this scope
ta3d.cpp:2111: error: ‘glDeleteFramebuffersEXT’ was not declared in this scope
ta3d.cpp:2115: error: ‘glDeleteRenderbuffersEXT’ was not declared in this scope
make[2]: *** [ta3d.o] Erreur 1
make[2]: quittant le répertoire « /home/tnt/Desktop/ta3d/src »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/tnt/Desktop/ta3d »
make: *** [all] Erreur 2
]0;tnt@ch: ~/Desktop/ta3dtnt@ch:~/Desktop/ta3d$ exit
Script done on mer 29 nov 2006 05:36:11 CET
[/u]
Pas de compilation :(
-
- Posts: 1
- Joined: Wed Nov 29, 2006 3:22 am
- Contact:
- zuzuf
- Administrateur - Site Admin
- Posts: 3281
- Joined: Mon Oct 30, 2006 8:49 pm
- Location: Toulouse, France
- Contact:
Cette erreur de compilation est due au manque de certaines librairies, en particulier la librairie AllegroGL (http://allegrogl.sourceforge.net/) qui permet d'interface Allegro et OpenGL. Il te faudra compiler AllegroGL et l'installer pour que cela fonctionne.
=>;-D Penguin Powered
bien j'ai compillé installer la librairie vertion 4.0
mai une autre erreur est survenue.
./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking whether make sets $(MAKE)... (cached) yes
checking for main in -lGL... yes
checking for main in -lGLU... yes
checking for main in -lz... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... no
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for string.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for working volatile... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for select... yes
checking for sqrt... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strstr... yes
./img.sh: line 4: convert: command not found
./img.sh: line 5: convert: command not found
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing depfiles commands
tnt@ch:~/Desktop/ta3d$ su
Password:
ch:/home/tnt/Desktop/ta3d# make && make install
make all-recursive
make[1]: entrant dans le répertoire « /home/tnt/Desktop/ta3d »
Making all in src
make[2]: entrant dans le répertoire « /home/tnt/Desktop/ta3d/src »
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT ta3d.o -MD -MP -MF ".deps/ta3d.Tpo" -c -o ta3d.o ta3d.cpp; \
then mv -f ".deps/ta3d.Tpo" ".deps/ta3d.Po"; else rm -f ".deps/ta3d.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT pathfinding.o -MD -MP -MF ".deps/pathfinding.Tpo" -c -o pathfinding.o pathfinding.cpp; \
then mv -f ".deps/pathfinding.Tpo" ".deps/pathfinding.Po"; else rm -f ".deps/pathfinding.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT menu.o -MD -MP -MF ".deps/menu.Tpo" -c -o menu.o menu.cpp; \
then mv -f ".deps/menu.Tpo" ".deps/menu.Po"; else rm -f ".deps/menu.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT 3do.o -MD -MP -MF ".deps/3do.Tpo" -c -o 3do.o 3do.cpp; \
then mv -f ".deps/3do.Tpo" ".deps/3do.Po"; else rm -f ".deps/3do.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT cob.o -MD -MP -MF ".deps/cob.Tpo" -c -o cob.o cob.cpp; \
then mv -f ".deps/cob.Tpo" ".deps/cob.Po"; else rm -f ".deps/cob.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT console.o -MD -MP -MF ".deps/console.Tpo" -c -o console.o console.cpp; \
then mv -f ".deps/console.Tpo" ".deps/console.Po"; else rm -f ".deps/console.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT EngineClass.o -MD -MP -MF ".deps/EngineClass.Tpo" -c -o EngineClass.o EngineClass.cpp; \
then mv -f ".deps/EngineClass.Tpo" ".deps/EngineClass.Po"; else rm -f ".deps/EngineClass.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT fbi.o -MD -MP -MF ".deps/fbi.Tpo" -c -o fbi.o fbi.cpp; \
then mv -f ".deps/fbi.Tpo" ".deps/fbi.Po"; else rm -f ".deps/fbi.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT gaf.o -MD -MP -MF ".deps/gaf.Tpo" -c -o gaf.o gaf.cpp; \
then mv -f ".deps/gaf.Tpo" ".deps/gaf.Po"; else rm -f ".deps/gaf.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT glfunc.o -MD -MP -MF ".deps/glfunc.Tpo" -c -o glfunc.o glfunc.cpp; \
then mv -f ".deps/glfunc.Tpo" ".deps/glfunc.Po"; else rm -f ".deps/glfunc.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT gui.o -MD -MP -MF ".deps/gui.Tpo" -c -o gui.o gui.cpp; \
then mv -f ".deps/gui.Tpo" ".deps/gui.Po"; else rm -f ".deps/gui.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT hpi.o -MD -MP -MF ".deps/hpi.Tpo" -c -o hpi.o hpi.cpp; \
then mv -f ".deps/hpi.Tpo" ".deps/hpi.Po"; else rm -f ".deps/hpi.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT intro.o -MD -MP -MF ".deps/intro.Tpo" -c -o intro.o intro.cpp; \
then mv -f ".deps/intro.Tpo" ".deps/intro.Po"; else rm -f ".deps/intro.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT particles.o -MD -MP -MF ".deps/particles.Tpo" -c -o particles.o particles.cpp; \
then mv -f ".deps/particles.Tpo" ".deps/particles.Po"; else rm -f ".deps/particles.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT tdf.o -MD -MP -MF ".deps/tdf.Tpo" -c -o tdf.o tdf.cpp; \
then mv -f ".deps/tdf.Tpo" ".deps/tdf.Po"; else rm -f ".deps/tdf.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT tnt.o -MD -MP -MF ".deps/tnt.Tpo" -c -o tnt.o tnt.cpp; \
then mv -f ".deps/tnt.Tpo" ".deps/tnt.Po"; else rm -f ".deps/tnt.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT weapons.o -MD -MP -MF ".deps/weapons.Tpo" -c -o weapons.o weapons.cpp; \
then mv -f ".deps/weapons.Tpo" ".deps/weapons.Po"; else rm -f ".deps/weapons.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT sound.o -MD -MP -MF ".deps/sound.Tpo" -c -o sound.o sound.cpp; \
then mv -f ".deps/sound.Tpo" ".deps/sound.Po"; else rm -f ".deps/sound.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT script.o -MD -MP -MF ".deps/script.Tpo" -c -o script.o script.cpp; \
then mv -f ".deps/script.Tpo" ".deps/script.Po"; else rm -f ".deps/script.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT ia.o -MD -MP -MF ".deps/ia.Tpo" -c -o ia.o ia.cpp; \
then mv -f ".deps/ia.Tpo" ".deps/ia.Po"; else rm -f ".deps/ia.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT music.o -MD -MP -MF ".deps/music.Tpo" -c -o music.o music.cpp; \
then mv -f ".deps/music.Tpo" ".deps/music.Po"; else rm -f ".deps/music.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT taconfig.o -MD -MP -MF ".deps/taconfig.Tpo" -c -o taconfig.o taconfig.cpp; \
then mv -f ".deps/taconfig.Tpo" ".deps/taconfig.Po"; else rm -f ".deps/taconfig.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT icon.o -MD -MP -MF ".deps/icon.Tpo" -c -o icon.o icon.cpp; \
then mv -f ".deps/icon.Tpo" ".deps/icon.Po"; else rm -f ".deps/icon.Tpo"; exit 1; fi
g++ -g -O2 -o ta3d ta3d.o pathfinding.o menu.o 3do.o cob.o console.o EngineClass.o fbi.o gaf.o glfunc.o gui.o hpi.o intro.o particles.o tdf.o tnt.o weapons.o sound.o script.o ia.o music.o taconfig.o icon.o -lz -lGLU -lGL -L/usr/lib -lalleg-4.2.0 -lm -lpthread -lXxf86vm -lXcursor -lXpm -lXext -lX11 -ldl -lagl
ta3d.o: dans la fonction « TEXTURE_MANAGER::all_texture() »:
/home/tnt/Desktop/ta3d/src/3do.h:112: référence indéfinie vers « rpl_malloc »
/home/tnt/Desktop/ta3d/src/3do.h:115: référence indéfinie vers « rpl_malloc »
/home/tnt/Desktop/ta3d/src/3do.h:116: référence indéfinie vers « rpl_malloc »
/home/tnt/Desktop/ta3d/src/3do.h:117: référence indéfinie vers « rpl_malloc »
/home/tnt/Desktop/ta3d/src/3do.h:118: référence indéfinie vers « rpl_malloc »
ta3d.o:/home/tnt/Desktop/ta3d/src/3do.h:119: encore plus de références indéfinies suivent vers « rpl_malloc »
collect2: ld returned 1 exit status
make[2]: *** [ta3d] Erreur 1
make[2]: quittant le répertoire « /home/tnt/Desktop/ta3d/src »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/tnt/Desktop/ta3d »
make: *** [all] Erreur 2
Merci d'avance
mai une autre erreur est survenue.
./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking whether make sets $(MAKE)... (cached) yes
checking for main in -lGL... yes
checking for main in -lGLU... yes
checking for main in -lz... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... no
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for string.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for working volatile... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for select... yes
checking for sqrt... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strstr... yes
./img.sh: line 4: convert: command not found
./img.sh: line 5: convert: command not found
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing depfiles commands
tnt@ch:~/Desktop/ta3d$ su
Password:
ch:/home/tnt/Desktop/ta3d# make && make install
make all-recursive
make[1]: entrant dans le répertoire « /home/tnt/Desktop/ta3d »
Making all in src
make[2]: entrant dans le répertoire « /home/tnt/Desktop/ta3d/src »
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT ta3d.o -MD -MP -MF ".deps/ta3d.Tpo" -c -o ta3d.o ta3d.cpp; \
then mv -f ".deps/ta3d.Tpo" ".deps/ta3d.Po"; else rm -f ".deps/ta3d.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT pathfinding.o -MD -MP -MF ".deps/pathfinding.Tpo" -c -o pathfinding.o pathfinding.cpp; \
then mv -f ".deps/pathfinding.Tpo" ".deps/pathfinding.Po"; else rm -f ".deps/pathfinding.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT menu.o -MD -MP -MF ".deps/menu.Tpo" -c -o menu.o menu.cpp; \
then mv -f ".deps/menu.Tpo" ".deps/menu.Po"; else rm -f ".deps/menu.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT 3do.o -MD -MP -MF ".deps/3do.Tpo" -c -o 3do.o 3do.cpp; \
then mv -f ".deps/3do.Tpo" ".deps/3do.Po"; else rm -f ".deps/3do.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT cob.o -MD -MP -MF ".deps/cob.Tpo" -c -o cob.o cob.cpp; \
then mv -f ".deps/cob.Tpo" ".deps/cob.Po"; else rm -f ".deps/cob.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT console.o -MD -MP -MF ".deps/console.Tpo" -c -o console.o console.cpp; \
then mv -f ".deps/console.Tpo" ".deps/console.Po"; else rm -f ".deps/console.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT EngineClass.o -MD -MP -MF ".deps/EngineClass.Tpo" -c -o EngineClass.o EngineClass.cpp; \
then mv -f ".deps/EngineClass.Tpo" ".deps/EngineClass.Po"; else rm -f ".deps/EngineClass.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT fbi.o -MD -MP -MF ".deps/fbi.Tpo" -c -o fbi.o fbi.cpp; \
then mv -f ".deps/fbi.Tpo" ".deps/fbi.Po"; else rm -f ".deps/fbi.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT gaf.o -MD -MP -MF ".deps/gaf.Tpo" -c -o gaf.o gaf.cpp; \
then mv -f ".deps/gaf.Tpo" ".deps/gaf.Po"; else rm -f ".deps/gaf.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT glfunc.o -MD -MP -MF ".deps/glfunc.Tpo" -c -o glfunc.o glfunc.cpp; \
then mv -f ".deps/glfunc.Tpo" ".deps/glfunc.Po"; else rm -f ".deps/glfunc.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT gui.o -MD -MP -MF ".deps/gui.Tpo" -c -o gui.o gui.cpp; \
then mv -f ".deps/gui.Tpo" ".deps/gui.Po"; else rm -f ".deps/gui.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT hpi.o -MD -MP -MF ".deps/hpi.Tpo" -c -o hpi.o hpi.cpp; \
then mv -f ".deps/hpi.Tpo" ".deps/hpi.Po"; else rm -f ".deps/hpi.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT intro.o -MD -MP -MF ".deps/intro.Tpo" -c -o intro.o intro.cpp; \
then mv -f ".deps/intro.Tpo" ".deps/intro.Po"; else rm -f ".deps/intro.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT particles.o -MD -MP -MF ".deps/particles.Tpo" -c -o particles.o particles.cpp; \
then mv -f ".deps/particles.Tpo" ".deps/particles.Po"; else rm -f ".deps/particles.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT tdf.o -MD -MP -MF ".deps/tdf.Tpo" -c -o tdf.o tdf.cpp; \
then mv -f ".deps/tdf.Tpo" ".deps/tdf.Po"; else rm -f ".deps/tdf.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT tnt.o -MD -MP -MF ".deps/tnt.Tpo" -c -o tnt.o tnt.cpp; \
then mv -f ".deps/tnt.Tpo" ".deps/tnt.Po"; else rm -f ".deps/tnt.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT weapons.o -MD -MP -MF ".deps/weapons.Tpo" -c -o weapons.o weapons.cpp; \
then mv -f ".deps/weapons.Tpo" ".deps/weapons.Po"; else rm -f ".deps/weapons.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT sound.o -MD -MP -MF ".deps/sound.Tpo" -c -o sound.o sound.cpp; \
then mv -f ".deps/sound.Tpo" ".deps/sound.Po"; else rm -f ".deps/sound.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT script.o -MD -MP -MF ".deps/script.Tpo" -c -o script.o script.cpp; \
then mv -f ".deps/script.Tpo" ".deps/script.Po"; else rm -f ".deps/script.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT ia.o -MD -MP -MF ".deps/ia.Tpo" -c -o ia.o ia.cpp; \
then mv -f ".deps/ia.Tpo" ".deps/ia.Po"; else rm -f ".deps/ia.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT music.o -MD -MP -MF ".deps/music.Tpo" -c -o music.o music.cpp; \
then mv -f ".deps/music.Tpo" ".deps/music.Po"; else rm -f ".deps/music.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT taconfig.o -MD -MP -MF ".deps/taconfig.Tpo" -c -o taconfig.o taconfig.cpp; \
then mv -f ".deps/taconfig.Tpo" ".deps/taconfig.Po"; else rm -f ".deps/taconfig.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT icon.o -MD -MP -MF ".deps/icon.Tpo" -c -o icon.o icon.cpp; \
then mv -f ".deps/icon.Tpo" ".deps/icon.Po"; else rm -f ".deps/icon.Tpo"; exit 1; fi
g++ -g -O2 -o ta3d ta3d.o pathfinding.o menu.o 3do.o cob.o console.o EngineClass.o fbi.o gaf.o glfunc.o gui.o hpi.o intro.o particles.o tdf.o tnt.o weapons.o sound.o script.o ia.o music.o taconfig.o icon.o -lz -lGLU -lGL -L/usr/lib -lalleg-4.2.0 -lm -lpthread -lXxf86vm -lXcursor -lXpm -lXext -lX11 -ldl -lagl
ta3d.o: dans la fonction « TEXTURE_MANAGER::all_texture() »:
/home/tnt/Desktop/ta3d/src/3do.h:112: référence indéfinie vers « rpl_malloc »
/home/tnt/Desktop/ta3d/src/3do.h:115: référence indéfinie vers « rpl_malloc »
/home/tnt/Desktop/ta3d/src/3do.h:116: référence indéfinie vers « rpl_malloc »
/home/tnt/Desktop/ta3d/src/3do.h:117: référence indéfinie vers « rpl_malloc »
/home/tnt/Desktop/ta3d/src/3do.h:118: référence indéfinie vers « rpl_malloc »
ta3d.o:/home/tnt/Desktop/ta3d/src/3do.h:119: encore plus de références indéfinies suivent vers « rpl_malloc »
collect2: ld returned 1 exit status
make[2]: *** [ta3d] Erreur 1
make[2]: quittant le répertoire « /home/tnt/Desktop/ta3d/src »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/tnt/Desktop/ta3d »
make: *** [all] Erreur 2
Merci d'avance
- zuzuf
- Administrateur - Site Admin
- Posts: 3281
- Joined: Mon Oct 30, 2006 8:49 pm
- Location: Toulouse, France
- Contact:
tu utilises des versions d'Allegro et AllegroGL qui sont très à jour, actuellement seule la version CVS compile correctement avec ces librairies sans modifications.
Tu as 2 solutions:
1) télécharger la version CVS
2) effectuer manuellement la correction:
édite configure.ac et efface la ligne AC_FUNC_MALLOC
ensuite dans le répertoire de TA3D tape:
aclocal
autoconf
automake -a -c
ensuite tu peux reconfigurer et recompiler TA3D, le message d'erreur devrait avoir disparu.
je te recommande la seconde solution, la version CVS étant fréquemment mise à jour, elle ne sera peut-être pas stable au moment où tu liras ces lignes et peut-être même trop buguée pour être jouable.
Tu as 2 solutions:
1) télécharger la version CVS
2) effectuer manuellement la correction:
édite configure.ac et efface la ligne AC_FUNC_MALLOC
ensuite dans le répertoire de TA3D tape:
aclocal
autoconf
automake -a -c
ensuite tu peux reconfigurer et recompiler TA3D, le message d'erreur devrait avoir disparu.
je te recommande la seconde solution, la version CVS étant fréquemment mise à jour, elle ne sera peut-être pas stable au moment où tu liras ces lignes et peut-être même trop buguée pour être jouable.
=>;-D Penguin Powered
- zuzuf
- Administrateur - Site Admin
- Posts: 3281
- Joined: Mon Oct 30, 2006 8:49 pm
- Location: Toulouse, France
- Contact:
une bonne partie du code est en train d'être réécrite et optimisée. Dans l'immédiat il n'est pas prévu de sortir une nouvelle version avant qu'une version windows compilée avec msvc 2005 ne voit le jour (ça peut prendre du temps).
La version CVS au moment où j'écris ces lignes est "stable" (c'est à dire que s'il y a des bogues autres qu'un support encore incomplet pour certains éléments du jeu je ne les ai pas encore trouvés). Tu peux donc l'essayer.
Il y a tout de même une chose qui m'inquiète: le bogue que tu m'a rapporté, je l'ai déjà rencontré en mettant à jour Allegro vers la version 4.2.1 et AllegroGL vers la version 0.4.0, mais la manipulation que je t'ai indiquée l'avais corrigé. Quelle version d'Allegro/AllegroGL utilises tu??
Essaye de faire un make clean avant recompilation pour voir si cela change quelque chose (après la manip que je t'ai indiqué, des fois que certains fichiers déjà compilé avant la manip n'aient pas étés recompilés)
La version CVS au moment où j'écris ces lignes est "stable" (c'est à dire que s'il y a des bogues autres qu'un support encore incomplet pour certains éléments du jeu je ne les ai pas encore trouvés). Tu peux donc l'essayer.
Il y a tout de même une chose qui m'inquiète: le bogue que tu m'a rapporté, je l'ai déjà rencontré en mettant à jour Allegro vers la version 4.2.1 et AllegroGL vers la version 0.4.0, mais la manipulation que je t'ai indiquée l'avais corrigé. Quelle version d'Allegro/AllegroGL utilises tu??
Essaye de faire un make clean avant recompilation pour voir si cela change quelque chose (après la manip que je t'ai indiqué, des fois que certains fichiers déjà compilé avant la manip n'aient pas étés recompilés)
=>;-D Penguin Powered
Who is online
Users browsing this forum: No registered users and 25 guests