Distribution de travail : Lubuntu 22.04
Liens :
https://github.com/stikonas/Vulture-NetHack-3.6.6
https://pyra-handheld.com/boards/threads/help-me-learn-how-to-compile-vulture-nethack-3-6-6.99591/
https://aur.archlinux.org/packages/nethack-x11
https://github.com/HackTechDev/Vulture4Nethack/commit/db297ace4921ad72a5f6f5cf569c1501e61a9872
sudo apt install libx11-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev libxaw7-dev libxt-dev
util01@station173:~$ cd JEUX/ROGUELIKE/NetHack/
util01@station173:~/JEUX/ROGUELIKE/NetHack$
util01@station173:~/JEUX/ROGUELIKE/NetHack$ git clone https://github.com/stikonas/Vulture-NetHack-3.6.6.git
util01@station173:~/JEUX/ROGUELIKE/NetHack$ cd Vulture-NetHack-3.6.6/
util01@station173:~/JEUX/ROGUELIKE/NetHack/Vulture-NetHack-3.6.6$
util01@station173:~/JEUX/ROGUELIKE/NetHack/Vulture-NetHack-3.6.6$ sys/unix/setup.sh sys/unix/hints/linux
util01@station173:~/JEUX/ROGUELIKE/NetHack/Vulture-NetHack-3.6.6$ make all
__glibc_has_attribute (__warn_unused_result__)
Ouvrir :
include/tradstdc.h
Chercher :
#define __warn_unused_result__ /*empty*/
Remplacer par :
#define __warn_unused_result__ __unused__
/usr/bin/ld: -r and -pie may not be used together
Ouvrir :
win/vulture/GNUmakefile
Chercher :
@$(CXX) -nostdlib -Xlinker -r $(VOBJ) -lstdc++ -o $(OUTPUT_OBJ)
Remplacer par :
@$(CXX) -no-pie -nostdlib -Xlinker -r $(VOBJ) -lstdc++ -o $(OUTPUT_OBJ)
util01@station173:~/JEUX/ROGUELIKE/NetHack/Vulture-NetHack-3.6.6$ make install
util01@station173:~/JEUX/ROGUELIKE/NetHack/Vulture-NetHack-3.6.6$ cd
util01@station173:~$
util01@station173:~$ cd nh/install/games/lib/vulture-nethack-3.6.6dir/
util01@station173:~/nh/install/games/lib/vulture-nethack-3.6.6dir$
util01@station173:~/nh/install/games/lib/vulture-nethack-3.6.6dir$ ./vulture-nethack-3.6.6