dkfans / keeperfx

Open source remake and Fan Expansion of Dungeon Keeper.
https://keeperfx.net/
GNU General Public License v2.0
742 stars 76 forks source link

Compiling failure Linux X64 #3138

Open coreybruce opened 4 months ago

coreybruce commented 4 months ago

Hey I just wanted to report that I am unable to manually build on Manjaro Linux, I also assume it's thinking I am on Windows using WSL also whcih is incorrect and should be using the SDL2 dependencies on my system

make all
make[1]: Entering directory '/home/corey/keeperfx'
git submodule init && git submodule update
rm -f obj/std/spng.o obj/std/json/json.o obj/std/json/value.o obj/std/json/json-dom.o obj/std/centitoml/toml_api.o obj/std/unzip.o obj/std/ioapi.o obj/std/actionpt.o obj/std/api.o obj/std/ariadne.o obj/std/ariadne_edge.o obj/std/ariadne_findcache.o obj/std/ariadne_naviheap.o obj/std/ariadne_navitree.o obj/std/ariadne_points.o obj/std/ariadne_regions.o obj/std/ariadne_tringls.o obj/std/ariadne_wallhug.o obj/std/bflib_base_tcp.o obj/std/bflib_basics.o obj/std/bflib_bufrw.o obj/std/bflib_coroutine.o obj/std/bflib_client_tcp.o obj/std/bflib_cpu.o obj/std/bflib_crash.o obj/std/bflib_datetm.o obj/std/bflib_dernc.o obj/std/bflib_enet.o obj/std/bflib_fileio.o obj/std/bflib_filelst.o obj/std/bflib_fmvids.o obj/std/bflib_guibtns.o obj/std/bflib_inputctrl.o obj/std/bflib_keybrd.o obj/std/bflib_main.o obj/std/bflib_math.o obj/std/bflib_memory.o obj/std/bflib_mouse.o obj/std/bflib_mshandler.o obj/std/bflib_mspointer.o obj/std/bflib_netsession.o obj/std/bflib_netsp.o obj/std/bflib_netsp_ipx.o obj/std/bflib_netsync.o obj/std/bflib_network.o obj/std/bflib_planar.o obj/std/bflib_pom.o obj/std/bflib_render.o obj/std/bflib_render_gpoly.o obj/std/bflib_render_gtblock.o obj/std/bflib_render_trig.o obj/std/bflib_semphr.o obj/std/bflib_server_tcp.o obj/std/bflib_sndlib.o obj/std/bflib_sound.o obj/std/bflib_sprfnt.o obj/std/bflib_sprite.o obj/std/bflib_string.o obj/std/bflib_tcpsp.o obj/std/bflib_threadcond.o obj/std/bflib_video.o obj/std/bflib_vidraw.o obj/std/bflib_vidraw_spr_norm.o obj/std/bflib_vidraw_spr_onec.o obj/std/bflib_vidraw_spr_remp.o obj/std/bflib_vidsurface.o obj/std/config.o obj/std/config_campaigns.o obj/std/config_creature.o obj/std/config_crtrmodel.o obj/std/config_crtrstates.o obj/std/config_lenses.o obj/std/config_magic.o obj/std/config_objects.o obj/std/config_players.o obj/std/config_powerhands.o obj/std/config_rules.o obj/std/config_settings.o obj/std/config_slabsets.o obj/std/config_strings.o obj/std/config_terrain.o obj/std/config_cubes.o obj/std/config_textures.o obj/std/config_trapdoor.o obj/std/config_spritecolors.o obj/std/console_cmd.o obj/std/custom_sprites.o obj/std/creature_battle.o obj/std/creature_control.o obj/std/creature_graphics.o obj/std/creature_groups.o obj/std/creature_instances.o obj/std/creature_jobs.o obj/std/creature_senses.o obj/std/creature_states.o obj/std/creature_states_barck.o obj/std/creature_states_combt.o obj/std/creature_states_gardn.o obj/std/creature_states_guard.o obj/std/creature_states_hero.o obj/std/creature_states_lair.o obj/std/creature_states_mood.o obj/std/creature_states_pray.o obj/std/creature_states_prisn.o obj/std/creature_states_rsrch.o obj/std/creature_states_scavn.o obj/std/creature_states_spdig.o obj/std/creature_states_tortr.o obj/std/creature_states_train.o obj/std/creature_states_tresr.o obj/std/creature_states_wrshp.o obj/std/cursor_tag.o obj/std/dungeon_data.o obj/std/dungeon_stats.o obj/std/engine_arrays.o obj/std/engine_camera.o obj/std/engine_lenses.o obj/std/engine_redraw.o obj/std/engine_render.o obj/std/engine_render_data.o obj/std/engine_textures.o obj/std/front_credits.o obj/std/front_credits_data.o obj/std/front_easter.o obj/std/front_fmvids.o obj/std/front_highscore.o obj/std/front_input.o obj/std/front_landview.o obj/std/front_lvlstats.o obj/std/front_lvlstats_data.o obj/std/front_network.o obj/std/front_simple.o obj/std/front_torture.o obj/std/front_torture_data.o obj/std/frontend.o obj/std/frontmenu_options_data.o obj/std/frontmenu_saves_data.o obj/std/frontmenu_select.o obj/std/frontmenu_select_data.o obj/std/frontmenu_ingame_evnt.o obj/std/frontmenu_ingame_evnt_data.o obj/std/frontmenu_ingame_map.o obj/std/frontmenu_ingame_opts.o obj/std/frontmenu_ingame_opts_data.o obj/std/frontmenu_ingame_tabs.o obj/std/frontmenu_ingame_tabs_data.o obj/std/frontmenu_net.o obj/std/frontmenu_net_data.o obj/std/frontmenu_options.o obj/std/frontmenu_saves.o obj/std/frontmenu_specials.o obj/std/game_heap.o obj/std/game_legacy.o obj/std/game_loop.o obj/std/game_lghtshdw.o obj/std/game_merge.o obj/std/game_saves.o obj/std/gui_boxmenu.o obj/std/gui_draw.o obj/std/gui_frontbtns.o obj/std/gui_frontmenu.o obj/std/gui_msgs.o obj/std/gui_parchment.o obj/std/gui_soundmsgs.o obj/std/gui_tooltips.o obj/std/gui_topmsg.o obj/std/kjm_input.o obj/std/lens_api.o obj/std/config_effects.o obj/std/lens_flyeye.o obj/std/lens_mist.o obj/std/light_data.o obj/std/lvl_filesdk1.o obj/std/lvl_script.o obj/std/lvl_script_commands.o obj/std/lvl_script_commands_old.o obj/std/lvl_script_lib.o obj/std/lvl_script_conditions.o obj/std/lvl_script_value.o obj/std/magic.o obj/std/main_game.o obj/std/map_blocks.o obj/std/map_columns.o obj/std/map_ceiling.o obj/std/map_data.o obj/std/map_events.o obj/std/map_locations.o obj/std/map_utils.o obj/std/music_player.o obj/std/net_game.o obj/std/net_sync.o obj/std/packets.o obj/std/packets_cheats.o obj/std/packets_input.o obj/std/packets_misc.o obj/std/player_compchecks.o obj/std/player_compevents.o obj/std/player_complookup.o obj/std/config_compp.o obj/std/player_compprocs.o obj/std/player_comptask.o obj/std/player_computer.o obj/std/player_computer_data.o obj/std/player_data.o obj/std/player_instances.o obj/std/player_states.o obj/std/player_utils.o obj/std/power_hand.o obj/std/power_process.o obj/std/power_specials.o obj/std/room_data.o obj/std/room_entrance.o obj/std/room_garden.o obj/std/room_graveyard.o obj/std/room_jobs.o obj/std/room_lair.o obj/std/room_library.o obj/std/room_list.o obj/std/room_scavenge.o obj/std/room_util.o obj/std/room_workshop.o obj/std/roomspace.o obj/std/roomspace_detection.o obj/std/scrcapt.o obj/std/slab_data.o obj/std/sounds.o obj/std/spdigger_stack.o obj/std/steam_api.o obj/std/tasks_list.o obj/std/thing_corpses.o obj/std/thing_creature.o obj/std/thing_creature_data.o obj/std/thing_data.o obj/std/thing_doors.o obj/std/thing_effects.o obj/std/thing_factory.o obj/std/thing_list.o obj/std/thing_navigate.o obj/std/thing_objects.o obj/std/thing_physics.o obj/std/thing_shots.o obj/std/thing_stats.o obj/std/thing_traps.o obj/std/value_util.o obj/std/vidfade.o obj/std/vidmode_data.o obj/std/vidmode.o obj/std/KeeperSpeechImp.o  obj/std/keeperfx_stdres.res obj/std/main.o obj/std/spng.d obj/std/json/json.d obj/std/json/value.d obj/std/json/json-dom.d obj/std/centitoml/toml_api.d obj/std/unzip.d obj/std/ioapi.d obj/std/actionpt.d obj/std/api.d obj/std/ariadne.d obj/std/ariadne_edge.d obj/std/ariadne_findcache.d obj/std/ariadne_naviheap.d obj/std/ariadne_navitree.d obj/std/ariadne_points.d obj/std/ariadne_regions.d obj/std/ariadne_tringls.d obj/std/ariadne_wallhug.d obj/std/bflib_base_tcp.d obj/std/bflib_basics.d obj/std/bflib_bufrw.d obj/std/bflib_coroutine.d obj/std/bflib_client_tcp.d obj/std/bflib_cpu.d obj/std/bflib_crash.d obj/std/bflib_datetm.d obj/std/bflib_dernc.d obj/std/bflib_enet.d obj/std/bflib_fileio.d obj/std/bflib_filelst.d obj/std/bflib_fmvids.d obj/std/bflib_guibtns.d obj/std/bflib_inputctrl.d obj/std/bflib_keybrd.d obj/std/bflib_main.d obj/std/bflib_math.d obj/std/bflib_memory.d obj/std/bflib_mouse.d obj/std/bflib_mshandler.d obj/std/bflib_mspointer.d obj/std/bflib_netsession.d obj/std/bflib_netsp.d obj/std/bflib_netsp_ipx.d obj/std/bflib_netsync.d obj/std/bflib_network.d obj/std/bflib_planar.d obj/std/bflib_pom.d obj/std/bflib_render.d obj/std/bflib_render_gpoly.d obj/std/bflib_render_gtblock.d obj/std/bflib_render_trig.d obj/std/bflib_semphr.d obj/std/bflib_server_tcp.d obj/std/bflib_sndlib.d obj/std/bflib_sound.d obj/std/bflib_sprfnt.d obj/std/bflib_sprite.d obj/std/bflib_string.d obj/std/bflib_tcpsp.d obj/std/bflib_threadcond.d obj/std/bflib_video.d obj/std/bflib_vidraw.d obj/std/bflib_vidraw_spr_norm.d obj/std/bflib_vidraw_spr_onec.d obj/std/bflib_vidraw_spr_remp.d obj/std/bflib_vidsurface.d obj/std/config.d obj/std/config_campaigns.d obj/std/config_creature.d obj/std/config_crtrmodel.d obj/std/config_crtrstates.d obj/std/config_lenses.d obj/std/config_magic.d obj/std/config_objects.d obj/std/config_players.d obj/std/config_powerhands.d obj/std/config_rules.d obj/std/config_settings.d obj/std/config_slabsets.d obj/std/config_strings.d obj/std/config_terrain.d obj/std/config_cubes.d obj/std/config_textures.d obj/std/config_trapdoor.d obj/std/config_spritecolors.d obj/std/console_cmd.d obj/std/custom_sprites.d obj/std/creature_battle.d obj/std/creature_control.d obj/std/creature_graphics.d obj/std/creature_groups.d obj/std/creature_instances.d obj/std/creature_jobs.d obj/std/creature_senses.d obj/std/creature_states.d obj/std/creature_states_barck.d obj/std/creature_states_combt.d obj/std/creature_states_gardn.d obj/std/creature_states_guard.d obj/std/creature_states_hero.d obj/std/creature_states_lair.d obj/std/creature_states_mood.d obj/std/creature_states_pray.d obj/std/creature_states_prisn.d obj/std/creature_states_rsrch.d obj/std/creature_states_scavn.d obj/std/creature_states_spdig.d obj/std/creature_states_tortr.d obj/std/creature_states_train.d obj/std/creature_states_tresr.d obj/std/creature_states_wrshp.d obj/std/cursor_tag.d obj/std/dungeon_data.d obj/std/dungeon_stats.d obj/std/engine_arrays.d obj/std/engine_camera.d obj/std/engine_lenses.d obj/std/engine_redraw.d obj/std/engine_render.d obj/std/engine_render_data.d obj/std/engine_textures.d obj/std/front_credits.d obj/std/front_credits_data.d obj/std/front_easter.d obj/std/front_fmvids.d obj/std/front_highscore.d obj/std/front_input.d obj/std/front_landview.d obj/std/front_lvlstats.d obj/std/front_lvlstats_data.d obj/std/front_network.d obj/std/front_simple.d obj/std/front_torture.d obj/std/front_torture_data.d obj/std/frontend.d obj/std/frontmenu_options_data.d obj/std/frontmenu_saves_data.d obj/std/frontmenu_select.d obj/std/frontmenu_select_data.d obj/std/frontmenu_ingame_evnt.d obj/std/frontmenu_ingame_evnt_data.d obj/std/frontmenu_ingame_map.d obj/std/frontmenu_ingame_opts.d obj/std/frontmenu_ingame_opts_data.d obj/std/frontmenu_ingame_tabs.d obj/std/frontmenu_ingame_tabs_data.d obj/std/frontmenu_net.d obj/std/frontmenu_net_data.d obj/std/frontmenu_options.d obj/std/frontmenu_saves.d obj/std/frontmenu_specials.d obj/std/game_heap.d obj/std/game_legacy.d obj/std/game_loop.d obj/std/game_lghtshdw.d obj/std/game_merge.d obj/std/game_saves.d obj/std/gui_boxmenu.d obj/std/gui_draw.d obj/std/gui_frontbtns.d obj/std/gui_frontmenu.d obj/std/gui_msgs.d obj/std/gui_parchment.d obj/std/gui_soundmsgs.d obj/std/gui_tooltips.d obj/std/gui_topmsg.d obj/std/kjm_input.d obj/std/lens_api.d obj/std/config_effects.d obj/std/lens_flyeye.d obj/std/lens_mist.d obj/std/light_data.d obj/std/lvl_filesdk1.d obj/std/lvl_script.d obj/std/lvl_script_commands.d obj/std/lvl_script_commands_old.d obj/std/lvl_script_lib.d obj/std/lvl_script_conditions.d obj/std/lvl_script_value.d obj/std/magic.d obj/std/main_game.d obj/std/map_blocks.d obj/std/map_columns.d obj/std/map_ceiling.d obj/std/map_data.d obj/std/map_events.d obj/std/map_locations.d obj/std/map_utils.d obj/std/music_player.d obj/std/net_game.d obj/std/net_sync.d obj/std/packets.d obj/std/packets_cheats.d obj/std/packets_input.d obj/std/packets_misc.d obj/std/player_compchecks.d obj/std/player_compevents.d obj/std/player_complookup.d obj/std/config_compp.d obj/std/player_compprocs.d obj/std/player_comptask.d obj/std/player_computer.d obj/std/player_computer_data.d obj/std/player_data.d obj/std/player_instances.d obj/std/player_states.d obj/std/player_utils.d obj/std/power_hand.d obj/std/power_process.d obj/std/power_specials.d obj/std/room_data.d obj/std/room_entrance.d obj/std/room_garden.d obj/std/room_graveyard.d obj/std/room_jobs.d obj/std/room_lair.d obj/std/room_library.d obj/std/room_list.d obj/std/room_scavenge.d obj/std/room_util.d obj/std/room_workshop.d obj/std/roomspace.d obj/std/roomspace_detection.d obj/std/scrcapt.d obj/std/slab_data.d obj/std/sounds.d obj/std/spdigger_stack.d obj/std/steam_api.d obj/std/tasks_list.d obj/std/thing_corpses.d obj/std/thing_creature.d obj/std/thing_creature_data.d obj/std/thing_data.d obj/std/thing_doors.d obj/std/thing_effects.d obj/std/thing_factory.d obj/std/thing_list.d obj/std/thing_navigate.d obj/std/thing_objects.d obj/std/thing_physics.d obj/std/thing_shots.d obj/std/thing_stats.d obj/std/thing_traps.d obj/std/value_util.d obj/std/vidfade.d obj/std/vidmode_data.d obj/std/vidmode.d obj/std/KeeperSpeechImp.d obj/std/main.d
rm -f obj/hvlog/spng.o obj/hvlog/json/json.o obj/hvlog/json/value.o obj/hvlog/json/json-dom.o obj/hvlog/centitoml/toml_api.o obj/hvlog/unzip.o obj/hvlog/ioapi.o obj/hvlog/actionpt.o obj/hvlog/api.o obj/hvlog/ariadne.o obj/hvlog/ariadne_edge.o obj/hvlog/ariadne_findcache.o obj/hvlog/ariadne_naviheap.o obj/hvlog/ariadne_navitree.o obj/hvlog/ariadne_points.o obj/hvlog/ariadne_regions.o obj/hvlog/ariadne_tringls.o obj/hvlog/ariadne_wallhug.o obj/hvlog/bflib_base_tcp.o obj/hvlog/bflib_basics.o obj/hvlog/bflib_bufrw.o obj/hvlog/bflib_coroutine.o obj/hvlog/bflib_client_tcp.o obj/hvlog/bflib_cpu.o obj/hvlog/bflib_crash.o obj/hvlog/bflib_datetm.o obj/hvlog/bflib_dernc.o obj/hvlog/bflib_enet.o obj/hvlog/bflib_fileio.o obj/hvlog/bflib_filelst.o obj/hvlog/bflib_fmvids.o obj/hvlog/bflib_guibtns.o obj/hvlog/bflib_inputctrl.o obj/hvlog/bflib_keybrd.o obj/hvlog/bflib_main.o obj/hvlog/bflib_math.o obj/hvlog/bflib_memory.o obj/hvlog/bflib_mouse.o obj/hvlog/bflib_mshandler.o obj/hvlog/bflib_mspointer.o obj/hvlog/bflib_netsession.o obj/hvlog/bflib_netsp.o obj/hvlog/bflib_netsp_ipx.o obj/hvlog/bflib_netsync.o obj/hvlog/bflib_network.o obj/hvlog/bflib_planar.o obj/hvlog/bflib_pom.o obj/hvlog/bflib_render.o obj/hvlog/bflib_render_gpoly.o obj/hvlog/bflib_render_gtblock.o obj/hvlog/bflib_render_trig.o obj/hvlog/bflib_semphr.o obj/hvlog/bflib_server_tcp.o obj/hvlog/bflib_sndlib.o obj/hvlog/bflib_sound.o obj/hvlog/bflib_sprfnt.o obj/hvlog/bflib_sprite.o obj/hvlog/bflib_string.o obj/hvlog/bflib_tcpsp.o obj/hvlog/bflib_threadcond.o obj/hvlog/bflib_video.o obj/hvlog/bflib_vidraw.o obj/hvlog/bflib_vidraw_spr_norm.o obj/hvlog/bflib_vidraw_spr_onec.o obj/hvlog/bflib_vidraw_spr_remp.o obj/hvlog/bflib_vidsurface.o obj/hvlog/config.o obj/hvlog/config_campaigns.o obj/hvlog/config_creature.o obj/hvlog/config_crtrmodel.o obj/hvlog/config_crtrstates.o obj/hvlog/config_lenses.o obj/hvlog/config_magic.o obj/hvlog/config_objects.o obj/hvlog/config_players.o obj/hvlog/config_powerhands.o obj/hvlog/config_rules.o obj/hvlog/config_settings.o obj/hvlog/config_slabsets.o obj/hvlog/config_strings.o obj/hvlog/config_terrain.o obj/hvlog/config_cubes.o obj/hvlog/config_textures.o obj/hvlog/config_trapdoor.o obj/hvlog/config_spritecolors.o obj/hvlog/console_cmd.o obj/hvlog/custom_sprites.o obj/hvlog/creature_battle.o obj/hvlog/creature_control.o obj/hvlog/creature_graphics.o obj/hvlog/creature_groups.o obj/hvlog/creature_instances.o obj/hvlog/creature_jobs.o obj/hvlog/creature_senses.o obj/hvlog/creature_states.o obj/hvlog/creature_states_barck.o obj/hvlog/creature_states_combt.o obj/hvlog/creature_states_gardn.o obj/hvlog/creature_states_guard.o obj/hvlog/creature_states_hero.o obj/hvlog/creature_states_lair.o obj/hvlog/creature_states_mood.o obj/hvlog/creature_states_pray.o obj/hvlog/creature_states_prisn.o obj/hvlog/creature_states_rsrch.o obj/hvlog/creature_states_scavn.o obj/hvlog/creature_states_spdig.o obj/hvlog/creature_states_tortr.o obj/hvlog/creature_states_train.o obj/hvlog/creature_states_tresr.o obj/hvlog/creature_states_wrshp.o obj/hvlog/cursor_tag.o obj/hvlog/dungeon_data.o obj/hvlog/dungeon_stats.o obj/hvlog/engine_arrays.o obj/hvlog/engine_camera.o obj/hvlog/engine_lenses.o obj/hvlog/engine_redraw.o obj/hvlog/engine_render.o obj/hvlog/engine_render_data.o obj/hvlog/engine_textures.o obj/hvlog/front_credits.o obj/hvlog/front_credits_data.o obj/hvlog/front_easter.o obj/hvlog/front_fmvids.o obj/hvlog/front_highscore.o obj/hvlog/front_input.o obj/hvlog/front_landview.o obj/hvlog/front_lvlstats.o obj/hvlog/front_lvlstats_data.o obj/hvlog/front_network.o obj/hvlog/front_simple.o obj/hvlog/front_torture.o obj/hvlog/front_torture_data.o obj/hvlog/frontend.o obj/hvlog/frontmenu_options_data.o obj/hvlog/frontmenu_saves_data.o obj/hvlog/frontmenu_select.o obj/hvlog/frontmenu_select_data.o obj/hvlog/frontmenu_ingame_evnt.o obj/hvlog/frontmenu_ingame_evnt_data.o obj/hvlog/frontmenu_ingame_map.o obj/hvlog/frontmenu_ingame_opts.o obj/hvlog/frontmenu_ingame_opts_data.o obj/hvlog/frontmenu_ingame_tabs.o obj/hvlog/frontmenu_ingame_tabs_data.o obj/hvlog/frontmenu_net.o obj/hvlog/frontmenu_net_data.o obj/hvlog/frontmenu_options.o obj/hvlog/frontmenu_saves.o obj/hvlog/frontmenu_specials.o obj/hvlog/game_heap.o obj/hvlog/game_legacy.o obj/hvlog/game_loop.o obj/hvlog/game_lghtshdw.o obj/hvlog/game_merge.o obj/hvlog/game_saves.o obj/hvlog/gui_boxmenu.o obj/hvlog/gui_draw.o obj/hvlog/gui_frontbtns.o obj/hvlog/gui_frontmenu.o obj/hvlog/gui_msgs.o obj/hvlog/gui_parchment.o obj/hvlog/gui_soundmsgs.o obj/hvlog/gui_tooltips.o obj/hvlog/gui_topmsg.o obj/hvlog/kjm_input.o obj/hvlog/lens_api.o obj/hvlog/config_effects.o obj/hvlog/lens_flyeye.o obj/hvlog/lens_mist.o obj/hvlog/light_data.o obj/hvlog/lvl_filesdk1.o obj/hvlog/lvl_script.o obj/hvlog/lvl_script_commands.o obj/hvlog/lvl_script_commands_old.o obj/hvlog/lvl_script_lib.o obj/hvlog/lvl_script_conditions.o obj/hvlog/lvl_script_value.o obj/hvlog/magic.o obj/hvlog/main_game.o obj/hvlog/map_blocks.o obj/hvlog/map_columns.o obj/hvlog/map_ceiling.o obj/hvlog/map_data.o obj/hvlog/map_events.o obj/hvlog/map_locations.o obj/hvlog/map_utils.o obj/hvlog/music_player.o obj/hvlog/net_game.o obj/hvlog/net_sync.o obj/hvlog/packets.o obj/hvlog/packets_cheats.o obj/hvlog/packets_input.o obj/hvlog/packets_misc.o obj/hvlog/player_compchecks.o obj/hvlog/player_compevents.o obj/hvlog/player_complookup.o obj/hvlog/config_compp.o obj/hvlog/player_compprocs.o obj/hvlog/player_comptask.o obj/hvlog/player_computer.o obj/hvlog/player_computer_data.o obj/hvlog/player_data.o obj/hvlog/player_instances.o obj/hvlog/player_states.o obj/hvlog/player_utils.o obj/hvlog/power_hand.o obj/hvlog/power_process.o obj/hvlog/power_specials.o obj/hvlog/room_data.o obj/hvlog/room_entrance.o obj/hvlog/room_garden.o obj/hvlog/room_graveyard.o obj/hvlog/room_jobs.o obj/hvlog/room_lair.o obj/hvlog/room_library.o obj/hvlog/room_list.o obj/hvlog/room_scavenge.o obj/hvlog/room_util.o obj/hvlog/room_workshop.o obj/hvlog/roomspace.o obj/hvlog/roomspace_detection.o obj/hvlog/scrcapt.o obj/hvlog/slab_data.o obj/hvlog/sounds.o obj/hvlog/spdigger_stack.o obj/hvlog/steam_api.o obj/hvlog/tasks_list.o obj/hvlog/thing_corpses.o obj/hvlog/thing_creature.o obj/hvlog/thing_creature_data.o obj/hvlog/thing_data.o obj/hvlog/thing_doors.o obj/hvlog/thing_effects.o obj/hvlog/thing_factory.o obj/hvlog/thing_list.o obj/hvlog/thing_navigate.o obj/hvlog/thing_objects.o obj/hvlog/thing_physics.o obj/hvlog/thing_shots.o obj/hvlog/thing_stats.o obj/hvlog/thing_traps.o obj/hvlog/value_util.o obj/hvlog/vidfade.o obj/hvlog/vidmode_data.o obj/hvlog/vidmode.o obj/hvlog/KeeperSpeechImp.o  obj/hvlog/keeperfx_stdres.res obj/hvlog/main.o obj/hvlog/spng.d obj/hvlog/json/json.d obj/hvlog/json/value.d obj/hvlog/json/json-dom.d obj/hvlog/centitoml/toml_api.d obj/hvlog/unzip.d obj/hvlog/ioapi.d obj/hvlog/actionpt.d obj/hvlog/api.d obj/hvlog/ariadne.d obj/hvlog/ariadne_edge.d obj/hvlog/ariadne_findcache.d obj/hvlog/ariadne_naviheap.d obj/hvlog/ariadne_navitree.d obj/hvlog/ariadne_points.d obj/hvlog/ariadne_regions.d obj/hvlog/ariadne_tringls.d obj/hvlog/ariadne_wallhug.d obj/hvlog/bflib_base_tcp.d obj/hvlog/bflib_basics.d obj/hvlog/bflib_bufrw.d obj/hvlog/bflib_coroutine.d obj/hvlog/bflib_client_tcp.d obj/hvlog/bflib_cpu.d obj/hvlog/bflib_crash.d obj/hvlog/bflib_datetm.d obj/hvlog/bflib_dernc.d obj/hvlog/bflib_enet.d obj/hvlog/bflib_fileio.d obj/hvlog/bflib_filelst.d obj/hvlog/bflib_fmvids.d obj/hvlog/bflib_guibtns.d obj/hvlog/bflib_inputctrl.d obj/hvlog/bflib_keybrd.d obj/hvlog/bflib_main.d obj/hvlog/bflib_math.d obj/hvlog/bflib_memory.d obj/hvlog/bflib_mouse.d obj/hvlog/bflib_mshandler.d obj/hvlog/bflib_mspointer.d obj/hvlog/bflib_netsession.d obj/hvlog/bflib_netsp.d obj/hvlog/bflib_netsp_ipx.d obj/hvlog/bflib_netsync.d obj/hvlog/bflib_network.d obj/hvlog/bflib_planar.d obj/hvlog/bflib_pom.d obj/hvlog/bflib_render.d obj/hvlog/bflib_render_gpoly.d obj/hvlog/bflib_render_gtblock.d obj/hvlog/bflib_render_trig.d obj/hvlog/bflib_semphr.d obj/hvlog/bflib_server_tcp.d obj/hvlog/bflib_sndlib.d obj/hvlog/bflib_sound.d obj/hvlog/bflib_sprfnt.d obj/hvlog/bflib_sprite.d obj/hvlog/bflib_string.d obj/hvlog/bflib_tcpsp.d obj/hvlog/bflib_threadcond.d obj/hvlog/bflib_video.d obj/hvlog/bflib_vidraw.d obj/hvlog/bflib_vidraw_spr_norm.d obj/hvlog/bflib_vidraw_spr_onec.d obj/hvlog/bflib_vidraw_spr_remp.d obj/hvlog/bflib_vidsurface.d obj/hvlog/config.d obj/hvlog/config_campaigns.d obj/hvlog/config_creature.d obj/hvlog/config_crtrmodel.d obj/hvlog/config_crtrstates.d obj/hvlog/config_lenses.d obj/hvlog/config_magic.d obj/hvlog/config_objects.d obj/hvlog/config_players.d obj/hvlog/config_powerhands.d obj/hvlog/config_rules.d obj/hvlog/config_settings.d obj/hvlog/config_slabsets.d obj/hvlog/config_strings.d obj/hvlog/config_terrain.d obj/hvlog/config_cubes.d obj/hvlog/config_textures.d obj/hvlog/config_trapdoor.d obj/hvlog/config_spritecolors.d obj/hvlog/console_cmd.d obj/hvlog/custom_sprites.d obj/hvlog/creature_battle.d obj/hvlog/creature_control.d obj/hvlog/creature_graphics.d obj/hvlog/creature_groups.d obj/hvlog/creature_instances.d obj/hvlog/creature_jobs.d obj/hvlog/creature_senses.d obj/hvlog/creature_states.d obj/hvlog/creature_states_barck.d obj/hvlog/creature_states_combt.d obj/hvlog/creature_states_gardn.d obj/hvlog/creature_states_guard.d obj/hvlog/creature_states_hero.d obj/hvlog/creature_states_lair.d obj/hvlog/creature_states_mood.d obj/hvlog/creature_states_pray.d obj/hvlog/creature_states_prisn.d obj/hvlog/creature_states_rsrch.d obj/hvlog/creature_states_scavn.d obj/hvlog/creature_states_spdig.d obj/hvlog/creature_states_tortr.d obj/hvlog/creature_states_train.d obj/hvlog/creature_states_tresr.d obj/hvlog/creature_states_wrshp.d obj/hvlog/cursor_tag.d obj/hvlog/dungeon_data.d obj/hvlog/dungeon_stats.d obj/hvlog/engine_arrays.d obj/hvlog/engine_camera.d obj/hvlog/engine_lenses.d obj/hvlog/engine_redraw.d obj/hvlog/engine_render.d obj/hvlog/engine_render_data.d obj/hvlog/engine_textures.d obj/hvlog/front_credits.d obj/hvlog/front_credits_data.d obj/hvlog/front_easter.d obj/hvlog/front_fmvids.d obj/hvlog/front_highscore.d obj/hvlog/front_input.d obj/hvlog/front_landview.d obj/hvlog/front_lvlstats.d obj/hvlog/front_lvlstats_data.d obj/hvlog/front_network.d obj/hvlog/front_simple.d obj/hvlog/front_torture.d obj/hvlog/front_torture_data.d obj/hvlog/frontend.d obj/hvlog/frontmenu_options_data.d obj/hvlog/frontmenu_saves_data.d obj/hvlog/frontmenu_select.d obj/hvlog/frontmenu_select_data.d obj/hvlog/frontmenu_ingame_evnt.d obj/hvlog/frontmenu_ingame_evnt_data.d obj/hvlog/frontmenu_ingame_map.d obj/hvlog/frontmenu_ingame_opts.d obj/hvlog/frontmenu_ingame_opts_data.d obj/hvlog/frontmenu_ingame_tabs.d obj/hvlog/frontmenu_ingame_tabs_data.d obj/hvlog/frontmenu_net.d obj/hvlog/frontmenu_net_data.d obj/hvlog/frontmenu_options.d obj/hvlog/frontmenu_saves.d obj/hvlog/frontmenu_specials.d obj/hvlog/game_heap.d obj/hvlog/game_legacy.d obj/hvlog/game_loop.d obj/hvlog/game_lghtshdw.d obj/hvlog/game_merge.d obj/hvlog/game_saves.d obj/hvlog/gui_boxmenu.d obj/hvlog/gui_draw.d obj/hvlog/gui_frontbtns.d obj/hvlog/gui_frontmenu.d obj/hvlog/gui_msgs.d obj/hvlog/gui_parchment.d obj/hvlog/gui_soundmsgs.d obj/hvlog/gui_tooltips.d obj/hvlog/gui_topmsg.d obj/hvlog/kjm_input.d obj/hvlog/lens_api.d obj/hvlog/config_effects.d obj/hvlog/lens_flyeye.d obj/hvlog/lens_mist.d obj/hvlog/light_data.d obj/hvlog/lvl_filesdk1.d obj/hvlog/lvl_script.d obj/hvlog/lvl_script_commands.d obj/hvlog/lvl_script_commands_old.d obj/hvlog/lvl_script_lib.d obj/hvlog/lvl_script_conditions.d obj/hvlog/lvl_script_value.d obj/hvlog/magic.d obj/hvlog/main_game.d obj/hvlog/map_blocks.d obj/hvlog/map_columns.d obj/hvlog/map_ceiling.d obj/hvlog/map_data.d obj/hvlog/map_events.d obj/hvlog/map_locations.d obj/hvlog/map_utils.d obj/hvlog/music_player.d obj/hvlog/net_game.d obj/hvlog/net_sync.d obj/hvlog/packets.d obj/hvlog/packets_cheats.d obj/hvlog/packets_input.d obj/hvlog/packets_misc.d obj/hvlog/player_compchecks.d obj/hvlog/player_compevents.d obj/hvlog/player_complookup.d obj/hvlog/config_compp.d obj/hvlog/player_compprocs.d obj/hvlog/player_comptask.d obj/hvlog/player_computer.d obj/hvlog/player_computer_data.d obj/hvlog/player_data.d obj/hvlog/player_instances.d obj/hvlog/player_states.d obj/hvlog/player_utils.d obj/hvlog/power_hand.d obj/hvlog/power_process.d obj/hvlog/power_specials.d obj/hvlog/room_data.d obj/hvlog/room_entrance.d obj/hvlog/room_garden.d obj/hvlog/room_graveyard.d obj/hvlog/room_jobs.d obj/hvlog/room_lair.d obj/hvlog/room_library.d obj/hvlog/room_list.d obj/hvlog/room_scavenge.d obj/hvlog/room_util.d obj/hvlog/room_workshop.d obj/hvlog/roomspace.d obj/hvlog/roomspace_detection.d obj/hvlog/scrcapt.d obj/hvlog/slab_data.d obj/hvlog/sounds.d obj/hvlog/spdigger_stack.d obj/hvlog/steam_api.d obj/hvlog/tasks_list.d obj/hvlog/thing_corpses.d obj/hvlog/thing_creature.d obj/hvlog/thing_creature_data.d obj/hvlog/thing_data.d obj/hvlog/thing_doors.d obj/hvlog/thing_effects.d obj/hvlog/thing_factory.d obj/hvlog/thing_list.d obj/hvlog/thing_navigate.d obj/hvlog/thing_objects.d obj/hvlog/thing_physics.d obj/hvlog/thing_shots.d obj/hvlog/thing_stats.d obj/hvlog/thing_traps.d obj/hvlog/value_util.d obj/hvlog/vidfade.d obj/hvlog/vidmode_data.d obj/hvlog/vidmode.d obj/hvlog/KeeperSpeechImp.d obj/hvlog/main.d
rm -f bin/keeperfx.exe bin/keeperfx.map
rm -f bin/keeperfx.exe bin/keeperfx.pdb
rm -f bin/keeperfx_hvlog.exe bin/keeperfx_hvlog.map
rm -f bin/keeperfx_hvlog.exe bin/keeperfx_hvlog.pdb
rm -f bin/keeperfx.dll
rm -f obj/enet.a obj/ver_defs.h
rm -f res/*.ico
rm -f obj/keeperfx.*
rm -f tools/png2ico/png2ico tools/png2ico/README tools/png2ico/VERSION tools/png2ico/LICENSE tools/png2ico/doc/png2ico.txt
rm -f tools/pngpal2raw/bin/*
rm -f tools/png2bestpal/bin/*
rm -f tools/po2ngdat/bin/*
rm -f tools/sndbanker/bin/*
rm -f tools/rnctools/bin/*
make -f libexterns.mk clean-libexterns
make[2]: Entering directory '/home/corey/keeperfx'
rm -f -R sdl/bin sdl/include sdl/lib sdl/share
rm -f libexterns
make[2]: Leaving directory '/home/corey/keeperfx'
make -f enet.mk clean
make[2]: Entering directory '/home/corey/keeperfx'
make[2]: Leaving directory '/home/corey/keeperfx'
cd deps/zlib && make -f win32/Makefile.gcc clean
make[2]: Entering directory '/home/corey/keeperfx/deps/zlib'
rm -f libz.a
rm -f zlib1.dll
rm -f libz.dll.a
rm -f *.o
rm -f *.exe
rm -f foo.gz
make[2]: Leaving directory '/home/corey/keeperfx/deps/zlib'
cd deps/zlib && git checkout Makefile zconf.h
Updated 0 paths from the index
rm -f libexterns
rm -f -r pkg
make[1]: Leaving directory '/home/corey/keeperfx'
make[1]: Entering directory '/home/corey/keeperfx'
make -f libexterns.mk
make[2]: Entering directory '/home/corey/keeperfx'
Extracting package: sdl/SDL2-devel-2.28.5-mingw.tar.gz
# Grep is used to remove bogus error messages, return state of tar is also ignored
cd "sdl"; \
tar --strip-components=2 -zxmUf "SDL2-devel-2.28.5-mingw.tar.gz" SDL2-2.28.5/i686-w64-mingw32/bin SDL2-2.28.5/i686-w64-mingw32/include SDL2-2.28.5/i686-w64-mingw32/lib SDL2-2.28.5/i686-w64-mingw32/share 2>&1 | \
grep -v '^.*: Archive value .* is out of .* range.*$'
make[2]: [libexterns.mk:45: sdl/lib/libSDL2main.a] Error 1 (ignored)
cp -f sdl/bin/SDL2.dll sdl/for_final_package/
Finished extracting: sdl/SDL2-devel-2.28.5-mingw.tar.gz

Extracting package: sdl/SDL2_net-devel-2.2.0-mingw.tar.gz
mkdir -p sdl/lib sdl/include/SDL2
cd "sdl"; \
tar -xzf "SDL2_net-devel-2.2.0-mingw.tar.gz"
mv -f sdl/SDL2_net-*/i686-w64-mingw32/include/SDL2/* sdl/include/SDL2/
cp -f -r sdl/SDL2_net-*/i686-w64-mingw32/lib/* sdl/lib/
cp -f sdl/SDL2_net-*/i686-w64-mingw32/bin/SDL2_net.dll sdl/for_final_package/
Finished extracting: sdl/SDL2_net-devel-2.2.0-mingw.tar.gz

Extracting package: sdl/SDL2_mixer-devel-2.8.0-mingw.tar.gz
mkdir -p sdl/lib sdl/include/SDL2
cd "sdl"; \
tar -xzf "SDL2_mixer-devel-2.8.0-mingw.tar.gz"
mv -f sdl/SDL2_mixer-*/i686-w64-mingw32/include/SDL2/* sdl/include/SDL2/
cp -f -r sdl/SDL2_mixer-*/i686-w64-mingw32/lib/* sdl/lib/
cp -f sdl/SDL2_mixer-*/i686-w64-mingw32/bin/SDL2_mixer.dll sdl/for_final_package/
Finished extracting: sdl/SDL2_mixer-devel-2.8.0-mingw.tar.gz

Extracting package: sdl/SDL2_image-devel-2.8.2-mingw.tar.gz
mkdir -p sdl/lib sdl/include/SDL2
cd "sdl"; \
tar -xzf "SDL2_image-devel-2.8.2-mingw.tar.gz"
mv -f sdl/SDL2_image-*/i686-w64-mingw32/include/SDL2/* sdl/include/SDL2/
cp -f -r sdl/SDL2_image-*/i686-w64-mingw32/lib/* sdl/lib/
cp -f sdl/SDL2_image-*/i686-w64-mingw32/bin/SDL2_image.dll sdl/for_final_package/
Finished extracting: sdl/SDL2_image-devel-2.8.2-mingw.tar.gz

touch libexterns
make[2]: Leaving directory '/home/corey/keeperfx'
mv -f "obj/tmp" "obj/ver_defs.h"
cd deps/zlib && make -f win32/Makefile.gcc PREFIX=i686-w64-mingw32- libz.a
make[2]: Entering directory '/home/corey/keeperfx/deps/zlib'
i686-w64-mingw32-gcc  -O3 -Wall -c -o adler32.o adler32.c
make[2]: i686-w64-mingw32-gcc: No such file or directory
make[2]: *** [win32/Makefile.gcc:80: adler32.o] Error 127
make[2]: Leaving directory '/home/corey/keeperfx/deps/zlib'
make[1]: *** [Makefile:627: deps/zlib/libz.a] Error 2
make[1]: Leaving directory '/home/corey/keeperfx'
make: *** [Makefile:436: all] Error 1
PieterVdc commented 4 months ago

make[2]: Entering directory '/home/corey/keeperfx/deps/zlib' i686-w64-mingw32-gcc -O3 -Wall -c -o adler32.o adler32.c make[2]: i686-w64-mingw32-gcc: No such file or directory

hmm zlib is a submodule could you check if it's correctly checked out, it might be a git issue where it only checked out the main repo without the submodules

PieterVdc commented 4 months ago

and the sdl dependencies on your system that would be for native linux builds right? atm only windows version work, but can build on linux and run it trough wine

coreybruce commented 4 months ago

make[2]: Entering directory '/home/corey/keeperfx/deps/zlib' i686-w64-mingw32-gcc -O3 -Wall -c -o adler32.o adler32.c make[2]: i686-w64-mingw32-gcc: No such file or directory

hmm zlib is a submodule could you check if it's correctly checked out, it might be a git issue where it only checked out the main repo without the submodules

Should I double check that the submodules are loaded?

coreybruce commented 4 months ago

and the sdl dependencies on your system that would be for native linux builds right? atm only windows version work, but can build on linux and run it trough wine

Yes, x64 binaries

Oh really? well I'd rather have it natively support Linux by compiling it

PieterVdc commented 4 months ago

natively support Linux by compiling it

there's still a couple things that need to be done before that would work main things are replacing the sound engine with a cross platform one and some blocks of asm that still need to be ported to C if you want to help with those I'd recommend joining the discord https://discord.gg/cXE5RZ8P

Should I double check that the submodules are loaded?

and yes just check if there's stuff in deps/zlib

coreybruce commented 4 months ago

Oh ok well I won't be much help there but I will be a lot of help with the compiling and debugging/reporting issues as well as compiling on multiple architectures beyond x64 with i686 and Arm64

Yep there is a bunch of files in deps/zlib

yani commented 4 months ago

Do you have i686-w64-mingw32-gcc ?

And did you follow the build instructions? https://github.com/dkfans/keeperfx/wiki/Building-KeeperFX

coreybruce commented 4 months ago

Do you have i686-w64-mingw32-gcc ?

And did you follow the build instructions? https://github.com/dkfans/keeperfx/wiki/Building-KeeperFX

I have an actual i686 Linux device to compile and test on but I am compiling on x64

Yeah I did but I am re reading over it again, this doesn't require 32bit multilibs to work right? like this isn't a 32bit game and can actually be compiled for 64bit etc correct?

I just did the manual compile and did the following

git clone --recursive https://github.com/dkfans/keeperfx.git
cd keeperfx
make -j15 all 
PieterVdc commented 4 months ago

Right there's also a lot of longs in the game that would need to be replaced with a int32_t to stay same as the 64 bit, that might also cause issues, atm no working 64-bit version has been made on either os