Forum francophone des jeux pour GNU/Linux
Vous n'êtes pas identifié.
root@Iceberg:/home/wolf-ice/Bureau/dangerdeep-0.3.0# scons
*scons: Reading SConscript files ...
Compiling for Unix/Posix/Linux Environment
Using x86 SSE/MMX optimizations with GCC intrinsics.
Found GL library "/usr/lib/libGL.so"
Install binary path: /usr/local/bin
Using data dir: /usr/local/share/dangerdeep
Checking for C library GL... yes
Checking for C library GLU... yes
Checking for C library SDL... yes
Checking for C library SDL_image... yes
Checking for C library SDL_net... yes
Checking for C library SDL_mixer... yes
Checking for C library fftw3... no
fftw3 library must be installed!
le dernier truc ces quoi
Hors ligne
j'ai tapper fftw3 et sa ma donner deux paquet que j'ai installer mais sa se medonne toujours sa:
checking for c library fftw3...no
Hors ligne
ces good! je vais mettre après se que sa donne
Hors ligne
root@Iceberg:/home/wolf-ice/Bureau/dangerdeep-0.3.0# scons
scons: Reading SConscript files ...
Compiling for Unix/Posix/Linux Environment
Using x86 SSE/MMX optimizations with GCC intrinsics.
Found GL library "/usr/lib/libGL.so"
Install binary path: /usr/local/bin
Using data dir: /usr/local/share/dangerdeep
Checking for C library GL... yes
Checking for C library GLU... yes
Checking for C library SDL... yes
Checking for C library SDL_image... yes
Checking for C library SDL_net... yes
Checking for C library SDL_mixer... yes
Checking for C library fftw3... yes
Checking for C library fftw3f... yes
fftw3 library supports float type. Using it...
scons: done reading SConscript files.
scons: Building targets ...
g++ -o build/linux/subsim.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/subsim.cpp
In file included from src/subsim.cpp:59:
src/faulthandler.h: In function ‘void print_stack_trace()’:
src/faulthandler.h:117: attention : ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result
g++ -o build/linux/ai.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/ai.cpp
In file included from src/game.h:61,
from src/ai.cpp:25:
src/ptrlist.h:53: erreur: ‘std::auto_ptr’ has not been declared
src/ptrlist.h:53: erreur: expected ‘,’ or ‘...’ before ‘<’ token
src/ptrlist.h:57: erreur: ‘std::auto_ptr’ has not been declared
src/ptrlist.h:57: erreur: expected ‘,’ or ‘...’ before ‘<’ token
src/ptrlist.h: In member function ‘void ptrlist<T>::push_back(int)’:
src/ptrlist.h:55: erreur: ‘ptr’ was not declared in this scope
src/ptrlist.h: In member function ‘void ptrlist<T>::push_front(int)’:
src/ptrlist.h:59: erreur: ‘ptr’ was not declared in this scope
src/ptrlist.h: In member function ‘void ptrlist<T>::push_back(T*)’:
src/ptrlist.h:62: erreur: ‘auto_ptr’ is not a member of ‘std’
src/ptrlist.h:62: erreur: expected primary-expression before ‘>’ token
src/ptrlist.h:63: erreur: ‘p’ was not declared in this scope
src/ptrlist.h: In member function ‘void ptrlist<T>::push_front(T*)’:
src/ptrlist.h:66: erreur: ‘auto_ptr’ is not a member of ‘std’
src/ptrlist.h:66: erreur: expected primary-expression before ‘>’ token
src/ptrlist.h:67: erreur: ‘p’ was not declared in this scope
In file included from src/ai.cpp:26:
src/convoy.h: At global scope:
src/convoy.h:48: erreur: ISO C++ forbids declaration of ‘auto_ptr’ with no type
src/convoy.h:48: erreur: invalid use of ‘::’
src/convoy.h:48: erreur: expected ‘;’ before ‘<’ token
src/convoy.h: In member function ‘virtual ai* convoy::get_ai()’:
src/convoy.h:86: erreur: ‘myai’ was not declared in this scope
In file included from src/sea_object.h:27,
from src/ai.cpp:27:
src/ptrvector.h: At global scope:
src/ptrvector.h:68: erreur: ‘std::auto_ptr’ has not been declared
src/ptrvector.h:68: erreur: expected ‘,’ or ‘...’ before ‘<’ token
src/ptrvector.h: In member function ‘void ptrvector<T>::push_back(int)’:
src/ptrvector.h:70: erreur: ‘ptr’ was not declared in this scope
In file included from src/ai.cpp:27:
src/sea_object.h: At global scope:
src/sea_object.h:232: erreur: ISO C++ forbids declaration of ‘auto_ptr’ with no type
src/sea_object.h:232: erreur: invalid use of ‘::’
src/sea_object.h:232: erreur: expected ‘;’ before ‘<’ token
src/sea_object.h: In member function ‘virtual ai* sea_object::get_ai()’:
src/sea_object.h:332: erreur: ‘myai’ was not declared in this scope
src/ptrlist.h: In member function ‘void ptrlist<T>::push_back(T*) [with T = event]’:
src/game.h:336: instantiated from here
src/ptrlist.h:62: erreur: ‘p’ was not declared in this scope
scons: *** [build/linux/ai.o] Error 1
scons: building terminated because of errors.
ben il a l'aire d'avoir un problème a la fin
Hors ligne
hmm je vois, je risque de devoir modifier le code, il a oublié quelques #include sur la stl le développeur.
Va falloir que je patch mais pas dessuite, j'ai une partie de spring de prévue ^^
Hors ligne
Y a un truc pas mal de nos jours, ça s'appel la messagerie instantannée ! vous connaissez pas ?
Hors ligne
Diablo150 a écrit:
hmm je vois, je risque de devoir modifier le code, il a oublié quelques #include sur la stl le développeur.
Va falloir que je patch mais pas dessuite, j'ai une partie de spring de prévue ^^
ok pas de souci
Hors ligne
Bon, télécharge ce fichier:
http://diablo150.ath.cx/Florian/dd-patch.diff
Va dans le repertoire des sources (là où tu lancais scons)
Met y le fichier
Et tape:
patch -p0 -R < dd-patch.dif
Et enfin compile:
scons
Et ça devrait aller.
Hors ligne
je tape sa dans lacommande comme je taper scons?
Hors ligne
sa me donne sa
root@Iceberg:/home/wolf-ice/Bureau/dangerdeep-0.3.0# patch -p0 -R < dd-patch.dif
bash: dd-patch.dif: Aucun fichier ou dossier de ce type
je crois que je me suis encore plante
Hors ligne
Tu n'as pas placé le fichier dd-patch.diff dans le repertoire des sources (le même que "scons")
Je pensais pourtant t'avoir dit d'y mettre le fichier...
Hors ligne
ben si je les mi la ou il y le fichier SConstruct
Hors ligne
j'ai mit le fichier dans le dossier que tu m'avait dit de telecharger! puis j'ai copier et coller se que tu ma dit de faire : patch -p0 -R < dd-patch.dif
Hors ligne
wolf-ice a écrit:
j'ai mit le fichier dans le dossier que tu m'avait dit de telecharger! puis j'ai copier et coller se que tu ma dit de faire : patch -p0 -R < dd-patch.dif
T'as oublié un 'f', le fichier s'appel dd-patch.diff
Hors ligne
root@Iceberg:/home/wolf-ice/Bureau/dangerdeep-0.3.0# patch -p0 -R < dd-patch.diff
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -cr /home/diablo150/Bureau/dangerdeep-0.3.0/src/bspline.h /home/diablo150/Bureau/dangerdeep-0.3.0-original/src/bspline.h
|*** /home/diablo150/Bureau/dangerdeep-0.3.0/src/bspline.h 2009-07-12 16:17:16.000000000 +0200
|--- /home/diablo150/Bureau/dangerdeep-0.3.0-original/src/bspline.h 2007-06-11 17:16:23.000000000 +0200
--------------------------
File to patch:
je met quoi
Hors ligne
je dois faire quoi, je laisse comme sa et j'attend?!
Hors ligne
Télécharge à nouveau le fichier:
http://diablo150.ath.cx/Florian/dd-patch.diff
Met le dans le répertoire et tape la commande (depuis le répertoire qui va bien):
patch -p0 -R < dd-patch.diff
Puis après scons
Ca devrait aller
P.S: Il devrait te sortir un truc dans ce genre si le patch s'applique bien:
patching file src/bspline.h
patching file src/convoy.h
patching file src/date.cpp
patching file src/filehelper.cpp
patching file src/ocean_wave_generator.h
patching file src/ptrlist.h
patching file src/ptrvector.h
patching file src/widget.cpp
Par contre j'ai modifié le code pour que ça compile chez moi, je garanti pas le resultat chez toi, on verra si ça plante ou pas quand tu auras lancé scons (quand la compile démarrera, sois patient ça devrait prendre au moins 10 minutes à se faire).
Hors ligne
voila se que sa donne, bon ces long:
root@Iceberg:/home/wolf-ice/Bureau/dangerdeep-0.3.0# patch -p0 -R < dd-patch.diff
patching file src/bspline.h
patching file src/convoy.h
patching file src/date.cpp
patching file src/filehelper.cpp
patching file src/ocean_wave_generator.h
patching file src/ptrlist.h
patching file src/ptrvector.h
patching file src/widget.cpp
root@Iceberg:/home/wolf-ice/Bureau/dangerdeep-0.3.0# scons
scons: Reading SConscript files ...
Compiling for Unix/Posix/Linux Environment
Using x86 SSE/MMX optimizations with GCC intrinsics.
Found GL library "/usr/lib/libGL.so"
Install binary path: /usr/local/bin
Using data dir: /usr/local/share/dangerdeep
Checking for C library GL... (cached) yes
Checking for C library GLU... (cached) yes
Checking for C library SDL... (cached) yes
Checking for C library SDL_image... (cached) yes
Checking for C library SDL_net... (cached) yes
Checking for C library SDL_mixer... (cached) yes
Checking for C library fftw3... (cached) yes
Checking for C library fftw3f... (cached) yes
fftw3 library supports float type. Using it...
scons: done reading SConscript files.
scons: Building targets ...
g++ -o build/linux/subsim.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/subsim.cpp
In file included from src/subsim.cpp:59:
src/faulthandler.h: In function ‘void print_stack_trace()’:
src/faulthandler.h:117: attention : ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result
g++ -o build/linux/ai.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/ai.cpp
g++ -o build/linux/airplane.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/airplane.cpp
g++ -o build/linux/cfg.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/cfg.cpp
g++ -o build/linux/coastmap.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/coastmap.cpp
g++ -o build/linux/condvar.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/condvar.cpp
g++ -o build/linux/convoy.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/convoy.cpp
g++ -o build/linux/countrycodes.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/countrycodes.cpp
g++ -o build/linux/credits.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/credits.cpp
g++ -o build/linux/date.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/date.cpp
g++ -o build/linux/daysky.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/daysky.cpp
g++ -o build/linux/depth_charge.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/depth_charge.cpp
g++ -o build/linux/event.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/event.cpp
g++ -o build/linux/freeview_display.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/freeview_display.cpp
g++ -o build/linux/game.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/game.cpp
g++ -o build/linux/game_editor.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/game_editor.cpp
g++ -o build/linux/gun_shell.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/gun_shell.cpp
g++ -o build/linux/highscorelist.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/highscorelist.cpp
g++ -o build/linux/keys.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/keys.cpp
g++ -o build/linux/logbook.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/logbook.cpp
g++ -o build/linux/logbook_display.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/logbook_display.cpp
g++ -o build/linux/map_display.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/map_display.cpp
g++ -o build/linux/message_queue.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/message_queue.cpp
g++ -o build/linux/music.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/music.cpp
g++ -o build/linux/mutex.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/mutex.cpp
g++ -o build/linux/network.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/network.cpp
g++ -o build/linux/parser.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/parser.cpp
g++ -o build/linux/particle.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/particle.cpp
g++ -o build/linux/physics.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/physics.cpp
g++ -o build/linux/environment.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/environment.cpp
g++ -o build/linux/perlinnoise.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/perlinnoise.cpp
g++ -o build/linux/sea_object.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sea_object.cpp
g++ -o build/linux/sensors.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sensors.cpp
src/sensors.cpp: In member function ‘virtual bool radar_sensor::is_detected(const game*, const sea_object*, const sea_object*) const’:
src/sensors.cpp:329: attention : parenthèses suggérées autour de && à l'intérieur de ||
g++ -o build/linux/ship.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/ship.cpp
g++ -o build/linux/ships_sunk_display.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/ships_sunk_display.cpp
g++ -o build/linux/sky.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sky.cpp
g++ -o build/linux/moon.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/moon.cpp
g++ -o build/linux/stars.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/stars.cpp
g++ -o build/linux/sonar.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sonar.cpp
g++ -o build/linux/sonar_operator.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sonar_operator.cpp
g++ -o build/linux/submarine.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/submarine.cpp
g++ -o build/linux/submarine_interface.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/submarine_interface.cpp
g++ -o build/linux/sub_bg_display.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sub_bg_display.cpp
g++ -o build/linux/sub_bridge_display.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sub_bridge_display.cpp
g++ -o build/linux/sub_captainscabin_display.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sub_captainscabin_display.cpp
g++ -o build/linux/sub_control_popup.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sub_control_popup.cpp
g++ -o build/linux/sub_ecard_popup.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sub_ecard_popup.cpp
g++ -o build/linux/sub_damage_display.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sub_damage_display.cpp
g++ -o build/linux/sub_gauges_display.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sub_gauges_display.cpp
g++ -o build/linux/sub_ghg_display.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sub_ghg_display.cpp
g++ -o build/linux/sub_kdb_display.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sub_kdb_display.cpp
g++ -o build/linux/sub_periscope_display.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sub_periscope_display.cpp
g++ -o build/linux/sub_tdc_display.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sub_tdc_display.cpp
g++ -o build/linux/sub_tdc_popup.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sub_tdc_popup.cpp
g++ -o build/linux/sub_torpedo_display.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sub_torpedo_display.cpp
g++ -o build/linux/sub_torpsetup_display.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sub_torpsetup_display.cpp
g++ -o build/linux/sub_uzo_display.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/sub_uzo_display.cpp
g++ -o build/linux/tdc.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/tdc.cpp
g++ -o build/linux/texts.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/texts.cpp
src/texts.cpp:40: attention : deprecated conversion from string constant to ‘char*’
src/texts.cpp:40: attention : deprecated conversion from string constant to ‘char*’
src/texts.cpp:40: attention : deprecated conversion from string constant to ‘char*’
g++ -o build/linux/thread.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/thread.cpp
g++ -o build/linux/tone_reproductor.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/tone_reproductor.cpp
g++ -o build/linux/torpedo.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/torpedo.cpp
g++ -o build/linux/torpedo_camera_display.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/torpedo_camera_display.cpp
g++ -o build/linux/triangulate.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/triangulate.cpp
g++ -o build/linux/user_interface.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/user_interface.cpp
g++ -o build/linux/water.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/water.cpp
g++ -o build/linux/water_splash.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/water_splash.cpp
g++ -o build/linux/filehelper.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/filehelper.cpp
g++ -o build/linux/widget.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/widget.cpp
g++ -o build/linux/frustum.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/frustum.cpp
g++ -o build/linux/datadirs.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DDATADIR=\"/usr/local/share/dangerdeep/\" -I/usr/include/SDL -I/usr/include/GL src/datadirs.cpp
g++ -o build/linux/global_data.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DVERSION=\"0.3.0\" -I/usr/include/SDL -I/usr/include/GL src/global_data.cpp
g++ -o build/linux/error.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/error.cpp
g++ -o build/linux/framebufferobject.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/framebufferobject.cpp
g++ -o build/linux/font.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/font.cpp
g++ -o build/linux/image.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/image.cpp
g++ -o build/linux/make_mesh.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/make_mesh.cpp
g++ -o build/linux/model.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/model.cpp
src/model.cpp: In member function ‘void model::read_off_file(const std::string&)’:
src/model.cpp:2269: attention : ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result
src/model.cpp:2277: attention : ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result
src/model.cpp:2284: attention : ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result
g++ -o build/linux/shader.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/shader.cpp
g++ -o build/linux/system.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/system.cpp
g++ -o build/linux/texture.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/texture.cpp
g++ -o build/linux/vertexbufferobject.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/vertexbufferobject.cpp
g++ -o build/linux/xml.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/xml.cpp
ar rc build/linux/libdftdmedia.a build/linux/error.o build/linux/framebufferobject.o build/linux/font.o build/linux/image.o build/linux/make_mesh.o build/linux/model.o build/linux/shader.o build/linux/system.o build/linux/texture.o build/linux/vertexbufferobject.o build/linux/xml.o
ranlib build/linux/libdftdmedia.a
g++ -o build/linux/tinyxml/tinyxml.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/tinyxml/tinyxml.cpp
g++ -o build/linux/tinyxml/tinyxmlerror.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/tinyxml/tinyxmlerror.cpp
g++ -o build/linux/tinyxml/tinyxmlparser.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/tinyxml/tinyxmlparser.cpp
src/tinyxml/tinyxmlparser.cpp: In static member function ‘static const char* TiXmlBase::SkipWhiteSpace(const char*, TiXmlEncoding)’:
src/tinyxml/tinyxmlparser.cpp:357: attention : parenthèses suggérées autour de && à l'intérieur de ||
ar rc build/linux/libtinyxml.a build/linux/tinyxml/tinyxml.o build/linux/tinyxml/tinyxmlerror.o build/linux/tinyxml/tinyxmlparser.o
ranlib build/linux/libtinyxml.a
g++ -o build/linux/oglext/OglExt.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/oglext/OglExt.cpp
g++ -o build/linux/oglext/RenderingContext.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/oglext/RenderingContext.cpp
src/oglext/RenderingContext.cpp: In member function ‘bool CRenderingContext::InitNvElementArray()’:
src/oglext/RenderingContext.cpp:2696: attention : déréférencement du pointeur type-punned brisera les strictes d'aliases
src/oglext/RenderingContext.cpp:2697: attention : déréférencement du pointeur type-punned brisera les strictes d'aliases
src/oglext/RenderingContext.cpp:2698: attention : déréférencement du pointeur type-punned brisera les strictes d'aliases
src/oglext/RenderingContext.cpp:2699: attention : déréférencement du pointeur type-punned brisera les strictes d'aliases
src/oglext/RenderingContext.cpp:2700: attention : déréférencement du pointeur type-punned brisera les strictes d'aliases
src/oglext/RenderingContext.cpp: In member function ‘bool CRenderingContext::InitNvStencilTwoSide()’:
src/oglext/RenderingContext.cpp:3028: attention : déréférencement du pointeur type-punned brisera les strictes d'aliases
src/oglext/RenderingContext.cpp: In member function ‘bool CRenderingContext::InitNvxConditionalRender()’:
src/oglext/RenderingContext.cpp:3158: attention : déréférencement du pointeur type-punned brisera les strictes d'aliases
src/oglext/RenderingContext.cpp:3159: attention : déréférencement du pointeur type-punned brisera les strictes d'aliases
ar rc build/linux/liboglext.a build/linux/oglext/OglExt.o build/linux/oglext/RenderingContext.o src/oglext/RenderingContext.hpp
ranlib build/linux/liboglext.a
g++ -o build/linux/dangerdeep `pkg-config --libs-only-L x11` build/linux/subsim.o build/linux/ai.o build/linux/airplane.o build/linux/cfg.o build/linux/coastmap.o build/linux/condvar.o build/linux/convoy.o build/linux/countrycodes.o build/linux/credits.o build/linux/date.o build/linux/daysky.o build/linux/depth_charge.o build/linux/event.o build/linux/freeview_display.o build/linux/game.o build/linux/game_editor.o build/linux/gun_shell.o build/linux/highscorelist.o build/linux/keys.o build/linux/logbook.o build/linux/logbook_display.o build/linux/map_display.o build/linux/message_queue.o build/linux/music.o build/linux/mutex.o build/linux/network.o build/linux/parser.o build/linux/particle.o build/linux/physics.o build/linux/environment.o build/linux/perlinnoise.o build/linux/sea_object.o build/linux/sensors.o build/linux/ship.o build/linux/ships_sunk_display.o build/linux/sky.o build/linux/moon.o build/linux/stars.o build/linux/sonar.o build/linux/sonar_operator.o build/linux/submarine.o build/linux/submarine_interface.o build/linux/sub_bg_display.o build/linux/sub_bridge_display.o build/linux/sub_captainscabin_display.o build/linux/sub_control_popup.o build/linux/sub_ecard_popup.o build/linux/sub_damage_display.o build/linux/sub_gauges_display.o build/linux/sub_ghg_display.o build/linux/sub_kdb_display.o build/linux/sub_periscope_display.o build/linux/sub_tdc_display.o build/linux/sub_tdc_popup.o build/linux/sub_torpedo_display.o build/linux/sub_torpsetup_display.o build/linux/sub_uzo_display.o build/linux/tdc.o build/linux/texts.o build/linux/thread.o build/linux/tone_reproductor.o build/linux/torpedo.o build/linux/torpedo_camera_display.o build/linux/triangulate.o build/linux/user_interface.o build/linux/water.o build/linux/water_splash.o build/linux/filehelper.o build/linux/widget.o build/linux/frustum.o build/linux/datadirs.o build/linux/global_data.o -L/usr/X11R6/lib -Lbuild/linux -Lsrc -ldftdmedia -ltinyxml -loglext -lGL -lGLU -lSDL -lSDL_image -lSDL_mixer -lSDL_net -lfftw3f
g++ -o build/linux/viewmodel.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/viewmodel.cpp
In file included from src/mymain.cpp:29,
from src/viewmodel.cpp:52:
src/faulthandler.h: In function ‘void print_stack_trace()’:
src/faulthandler.h:117: attention : ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result
g++ -o build/linux/viewmodel `pkg-config --libs-only-L x11` build/linux/viewmodel.o build/linux/datadirs.o build/linux/filehelper.o build/linux/widget.o -L/usr/X11R6/lib -Lbuild/linux -Lsrc -ldftdmedia -ltinyxml -loglext -lGL -lGLU -lSDL -lSDL_image -lSDL_mixer -lSDL_net -lfftw3f
g++ -o build/linux/damagemodel.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/damagemodel.cpp
g++ -o build/linux/damagemodel `pkg-config --libs-only-L x11` build/linux/damagemodel.o build/linux/datadirs.o build/linux/filehelper.o -L/usr/X11R6/lib -Lbuild/linux -Lsrc -ldftdmedia -ltinyxml -loglext -lGL -lGLU -lSDL -lSDL_image -lSDL_mixer -lSDL_net -lfftw3f
g++ -o build/linux/crosssection.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/crosssection.cpp
In file included from src/mymain.cpp:29,
from src/crosssection.cpp:41:
src/faulthandler.h: In function ‘void print_stack_trace()’:
src/faulthandler.h:117: attention : ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result
g++ -o build/linux/crosssection `pkg-config --libs-only-L x11` build/linux/crosssection.o build/linux/datadirs.o build/linux/filehelper.o -L/usr/X11R6/lib -Lbuild/linux -Lsrc -ldftdmedia -ltinyxml -loglext -lGL -lGLU -lSDL -lSDL_image -lSDL_mixer -lSDL_net -lfftw3f
g++ -o build/linux/oceantest.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/oceantest.cpp
g++ -o build/linux/oceantest `pkg-config --libs-only-L x11` build/linux/oceantest.o -L/usr/X11R6/lib -Lbuild/linux -Lsrc -ldftdmedia -ltinyxml-loglext -lGL -lGLU -lSDL -lSDL_image -lSDL_mixer -lSDL_net -lfftw3f
g++ -o build/linux/bspline_test.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/bspline_test.cpp
g++ -o build/linux/bsplinetest `pkg-config --libs-only-L x11` build/linux/bspline_test.o -L/usr/X11R6/lib -Lbuild/linux -Lsrc -lGL -lGLU -lSDL-lSDL_image -lSDL_net -lSDL_mixer -lfftw3 -lfftw3f
g++ -o build/linux/portal.o -c -msse -Wall `sdl-config --cflags` `pkg-config --cflags x11` -g -O2 -DUSE_SSE -DWITH_FLOAT_FFTW -I/usr/include/SDL -I/usr/include/GL src/portal.cpp
In file included from src/portal.cpp:44:
src/faulthandler.h: In function ‘void print_stack_trace()’:
src/faulthandler.h:117: attention : ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result
g++ -o build/linux/portal `pkg-config --libs-only-L x11` build/linux/portal.o build/linux/datadirs.o build/linux/filehelper.o build/linux/frustum.o -L/usr/X11R6/lib -Lbuild/linux -Lsrc -ldftdmedia -ltinyxml -loglext -lGL -lGLU -lSDL -lSDL_image -lSDL_mixer -lSDL_net -lfftw3f
scons: done building targets.
ces ok?
Hors ligne
scons: done building targets.
Bravo tu viens de compiler ton premier programme C++ !
Puis comme tu as as trouvé la solution, tu pourrais envoyer le patch au développeur
Bon par contre je viens de me rendre compte que tu as compilé en root, ce qui est une grosse erreur, on est pas sur Windows, le compte admin ne doit être utilisé que quand c'est vraiment necessaire, là en l'occurence tu n'avais abolument pas le besoin d'être en root.
Bon avant de t'expliquer comment installer le programme que tu as compilé, il faut que tu supprime la version que tu as installé avant via l'installateur (dangerdeep-0.3.0-linux-installer.bin)
Pour le supprimer je sais pas exactement comment on fait, je connais mal les installateurs loki, mais je suis prêt à parier qu'il y a une entrée dans le menu de ton environnement de bureau.
Puis quand je serais certain que tu as tout viré, je t'expliquerai l'installation.
Hors ligne
le probléme ces que le fichier bin, ne sert qu'a installer,et je n'est pas le jeux dans le menu
Hors ligne