{"action":"created","issue":{"url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/15568","repository_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA","labels_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/15568/labels{/name}","comments_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/15568/comments","events_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/15568/events","html_url":"https://github.com/CleverRaven/Cataclysm-DDA/issues/15568","id":136857820,"number":15568,"title":"[MSYS2] Latest release has issues","user":{"login":"NickGrease","id":854582,"avatar_url":"https://avatars.githubusercontent.com/u/854582?v=3","gravatar_id":"","url":"https://api.github.com/users/NickGrease","html_url":"https://github.com/NickGrease","followers_url":"https://api.github.com/users/NickGrease/followers","following_url":"https://api.github.com/users/NickGrease/following{/other_user}","gists_url":"https://api.github.com/users/NickGrease/gists{/gist_id}","starred_url":"https://api.github.com/users/NickGrease/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NickGrease/subscriptions","organizations_url":"https://api.github.com/users/NickGrease/orgs","repos_url":"https://api.github.com/users/NickGrease/repos","events_url":"https://api.github.com/users/NickGrease/events{/privacy}","received_events_url":"https://api.github.com/users/NickGrease/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-27T01:06:53Z","updated_at":"2016-02-29T04:50:49Z","closed_at":null,"body":"Win 7/64 - mingw64\r\n\r\nTL;DR If your using MSYS2 and its working - don't update. If your trying to install for the first time, use the [2105](https://sourceforge.net/projects/msys2/files/Base/x86_64/) installer and skip the `pacman -Su` step\r\n\r\nThe latest installer (http://msys2.github.io/) has some issues, the worst being that compiling and building CDDA produces a non functioning cataclysm exe (running it simply produces a \"the program has stopped working\" message) with no errors during the build.\r\n\r\nAlso with the latest msys2 installer, when installing there were a number of warnings about circular dependencies that weren't present with the old installer.\r\n\r\nEven using the old installer, if you follow the guide [here](https://github.com/CleverRaven/Cataclysm-DDA/blob/master/COMPILING.md#7-run-in-msys2-terminal) and do `pacman -Su` you're back to producing a non-functioning cataclysm exe.\r\n\r\nNow I'm the first to admit that I'm still learning msys2 (and I've learnt a lot the last two days) and this *may* be something on my end - but you'll have to take my word for it - short of formatting my hd, I did everything I could to rule out that possibility. With that said, I do seem to be the only person on all the internets with this problem - which could mean there's something specific to this repo and something that `update-core` updates. I don't really know, but I've been at this since yesterday morning, finally got it working, and now its time for a drink.\r\n"},"comment":{"url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/comments/190037552","html_url":"https://github.com/CleverRaven/Cataclysm-DDA/issues/15568#issuecomment-190037552","issue_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/15568","id":190037552,"user":{"login":"remyroy","id":303593,"avatar_url":"https://avatars.githubusercontent.com/u/303593?v=3","gravatar_id":"","url":"https://api.github.com/users/remyroy","html_url":"https://github.com/remyroy","followers_url":"https://api.github.com/users/remyroy/followers","following_url":"https://api.github.com/users/remyroy/following{/other_user}","gists_url":"https://api.github.com/users/remyroy/gists{/gist_id}","starred_url":"https://api.github.com/users/remyroy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remyroy/subscriptions","organizations_url":"https://api.github.com/users/remyroy/orgs","repos_url":"https://api.github.com/users/remyroy/repos","events_url":"https://api.github.com/users/remyroy/events{/privacy}","received_events_url":"https://api.github.com/users/remyroy/received_events","type":"User","site_admin":false},"created_at":"2016-02-29T04:50:49Z","updated_at":"2016-02-29T04:50:49Z","body":"It compiles fine without SOUND which mean that the dependencies for SOUND are messed up. In theory, applying this patch to the makefile should include the missing dependencies but it seems like modplug and fluidsynth are still missing for some reason.\r\n\r\n```patch\r\ndiff --git a/Makefile b/Makefile\r\nindex 790bb73..a16b112 100644\r\n--- a/Makefile\r\n+++ b/Makefile\r\n@@ -351,7 +351,7 @@ ifdef SOUND\r\n   endif\r\n\r\n   ifdef MSYS2\r\n-    LDFLAGS += -lmad\r\n+    LDFLAGS += -lmad -lvorbisfile -lvorbis -logg -lmodplug -lflac -lfluidsynth\r\n   endif\r\n\r\n   CXXFLAGS += -DSDL_SOUND\r\n```\r\n\r\nI might investigate some more later on. For now, here is the output log I get with these:\r\n\r\n```\r\n$ make MSYS2=1 RELEASE=1 TILES=1 LOCALIZE=1 SOUND=1 LUA=1 NATIVE=win64 -j8 -O\r\n/bin/sh: astyle: command not found\r\nCannot run an astyle check, your system either does not have astyle, or it is too old.\r\nmake -C tests\r\ng++ -Wl,-stack,12000000,-subsystem,windows -o cataclysm-tiles.exe objwin/tiles/overmap.o objwin/tiles/help.o objwin/tiles/submap.o objwin/tiles/mod_manager_ui.o objwin/tiles/cata_utility.o objwin/tiles/monfaction.o objwin/tiles/main_menu.o objwin/tiles/iexamine.o objwin/tiles/mutation_data.o objwin/tiles/mission_end.o objwin/tiles/color.o objwin/tiles/input.o objwin/tiles/mission_fail.o objwin/tiles/addiction.o objwin/tiles/action.o objwin/tiles/messages.o objwin/tiles/mondefense.o objwin/tiles/mission_start.o objwin/tiles/gamemode.o objwin/tiles/monstergenerator.o objwin/tiles/version.o objwin/tiles/sounds.o objwin/tiles/tileray.o objwin/tiles/weather_data.o objwin/tiles/ui.o objwin/tiles/faction.o objwin/tiles/posix_time.o objwin/tiles/coordinate_conversions.o objwin/tiles/mapgen.o objwin/tiles/monattack.o objwin/tiles/catalua.o objwin/tiles/editmap.o objwin/tiles/computer.o objwin/tiles/mondeath.o objwin/tiles/mapgenformat.o objwin/tiles/iuse.o objwin/tiles/player_activity.o objwin/tiles/dependency_tree.o objwin/tiles/cata_tiles.o objwin/tiles/scenario.o objwin/tiles/bionics.o objwin/tiles/artifact.o objwin/tiles/npcmove.o objwin/tiles/crafting_gui.o objwin/tiles/vehicle_selector.o objwin/tiles/name.o objwin/tiles/monmove.o objwin/tiles/event.o objwin/tiles/basecamp.o objwin/tiles/line.o objwin/tiles/init.o objwin/tiles/char_validity_check.o objwin/tiles/sdltiles.o objwin/tiles/requirements.o objwin/tiles/armor_layers.o objwin/tiles/savegame_legacy.o objwin/tiles/ammo.o objwin/tiles/monster.o objwin/tiles/lua_console.o objwin/tiles/activity_item_handling.o objwin/tiles/drawing_primitives.o objwin/tiles/construction.o objwin/tiles/veh_interact.o objwin/tiles/iuse_software_minesweeper.o objwin/tiles/iuse_actor.o objwin/tiles/options.o objwin/tiles/mission.o objwin/tiles/animation.o objwin/tiles/mongroup.o objwin/tiles/iuse_software.o objwin/tiles/rng.o objwin/tiles/output.o objwin/tiles/damage.o objwin/tiles/npctalk.o objwin/tiles/start_location.o objwin/tiles/ranged.o objwin/tiles/trap.o objwin/tiles/mission_companion.o objwin/tiles/map_selector.o objwin/tiles/lightmap.o objwin/tiles/inventory.o objwin/tiles/trapfunc.o objwin/tiles/iuse_software_kitten.o objwin/tiles/json.o objwin/tiles/mapsharing.o objwin/tiles/activity_handlers.o objwin/tiles/item_location.o objwin/tiles/debug.o objwin/tiles/game.o objwin/tiles/calendar.o objwin/tiles/newcharacter.o objwin/tiles/mission_place.o objwin/tiles/missiondef.o objwin/tiles/character.o objwin/tiles/recipe_dictionary.o objwin/tiles/mod_manager.o objwin/tiles/advanced_inv.o objwin/tiles/mapgen_functions.o objwin/tiles/overmapbuffer.o objwin/tiles/melee.o objwin/tiles/craft_command.o objwin/tiles/visitable.o objwin/tiles/material.o objwin/tiles/field.o objwin/tiles/mutation.o objwin/tiles/npc.o objwin/tiles/text_snippets.o objwin/tiles/vehicle_group.o objwin/tiles/mapdata.o objwin/tiles/player.o objwin/tiles/active_item_cache.o objwin/tiles/crafting.o objwin/tiles/morale.o objwin/tiles/savegame_json.o objwin/tiles/iuse_software_snake.o objwin/tiles/veh_type.o objwin/tiles/wish.o objwin/tiles/wincurse.o objwin/tiles/weather.o objwin/tiles/mapbuffer.o objwin/tiles/defense.o objwin/tiles/profession.o objwin/tiles/catacharset.o objwin/tiles/tutorial.o objwin/tiles/live_view.o objwin/tiles/iuse_software_sokoban.o objwin/tiles/path_info.o objwin/tiles/translations.o objwin/tiles/creature_tracker.o objwin/tiles/item_group.o objwin/tiles/item_action.o objwin/tiles/vehicle.o objwin/tiles/speech.o objwin/tiles/item_factory.o objwin/tiles/simplexnoise.o objwin/tiles/pathfinding.o objwin/tiles/weather_gen.o objwin/tiles/inventory_ui.o objwin/tiles/mattack_actors.o objwin/tiles/savegame.o objwin/tiles/effect.o objwin/tiles/skill.o objwin/tiles/clzones.o objwin/tiles/main.o objwin/tiles/auto_pickup.o objwin/tiles/bodypart.o objwin/tiles/worldfactory.o objwin/tiles/itype.o objwin/tiles/item.o objwin/tiles/filesystem.o objwin/tiles/map.o objwin/tiles/pickup.o objwin/tiles/bonuses.o objwin/tiles/cursesport.o objwin/tiles/creature.o objwin/tiles/consumption.o objwin/tiles/martialarts.o objwin/tiles/mtype.o objwin/tiles/resource.o -s -m64 -static -lintl -liconv -LC:/msys32/mingw64/lib -lSDL2_mixer -lmingw32 -lSDL2 -lpthread -lmad -lvorbisfile -lvorbis -logg -lmodplug -lflac -lfluidsynth -LC:/msys32/mingw64/lib -llua -lm -L/mingw64/lib -lmingw32 -lSDL2 -mwindows -lSDL2_ttf -lSDL2_image -lfreetype -lpng -lz -ltiff -lbz2 -lharfbuzz -lglib-2.0 -llzma -lws2_32 -lintl -liconv -lwebp -ljpeg -luuid -lgdi32 -lwinmm -limm32 -lole32 -loleaut32 -lversion\r\nC:/msys32/mingw64/lib\\libSDL2_mixer.a(dynamic_modplug.o):(.text+0xd): undefined reference to `__imp_ModPlug_Load'\r\nC:/msys32/mingw64/lib\\libSDL2_mixer.a(dynamic_modplug.o):(.text+0x1b): undefined reference to `__imp_ModPlug_Unload'\r\nC:/msys32/mingw64/lib\\libSDL2_mixer.a(dynamic_modplug.o):(.text+0x29): undefined reference to `__imp_ModPlug_Read'\r\nC:/msys32/mingw64/lib\\libSDL2_mixer.a(dynamic_modplug.o):(.text+0x37): undefined reference to `__imp_ModPlug_Seek'\r\nC:/msys32/mingw64/lib\\libSDL2_mixer.a(dynamic_modplug.o):(.text+0x45): undefined reference to `__imp_ModPlug_GetSettings'\r\nC:/msys32/mingw64/lib\\libSDL2_mixer.a(dynamic_modplug.o):(.text+0x53): undefined reference to `__imp_ModPlug_SetSettings'\r\nC:/msys32/mingw64/lib\\libSDL2_mixer.a(dynamic_modplug.o):(.text+0x61): undefined reference to `__imp_ModPlug_SetMasterVolume'\r\nC:/msys32/mingw64/lib\\libSDL2_mixer.a(dynamic_fluidsynth.o):(.text+0x11): undefined reference to `__imp_delete_fluid_player'\r\nC:/msys32/mingw64/lib\\libSDL2_mixer.a(dynamic_fluidsynth.o):(.text+0x1f): undefined reference to `__imp_delete_fluid_settings'\r\nC:/msys32/mingw64/lib\\libSDL2_mixer.a(dynamic_fluidsynth.o):(.text+0x2d): undefined reference to `__imp_delete_fluid_synth'\r\nC:/msys32/mingw64/lib\\libSDL2_mixer.a(dynamic_fluidsynth.o):(.text+0x3b): undefined reference to `__imp_fluid_player_add'\r\nC:/msys32/mingw64/lib\\libSDL2_mixer.a(dynamic_fluidsynth.o):(.text+0x49): undefined reference to `__imp_fluid_player_add_mem'\r\nC:/msys32/mingw64/lib\\libSDL2_mixer.a(dynamic_fluidsynth.o):(.text+0x57): undefined reference to `__imp_fluid_player_get_status'\r\nC:/msys32/mingw64/lib\\libSDL2_mixer.a(dynamic_fluidsynth.o):(.text+0x65): undefined reference to `__imp_fluid_player_play'\r\nC:/msys32/mingw64/lib\\libSDL2_mixer.a(dynamic_fluidsynth.o):(.text+0x73): undefined reference to `__imp_fluid_player_set_loop'\r\nC:/msys32/mingw64/lib\\libSDL2_mixer.a(dynamic_fluidsynth.o):(.text+0x81): undefined reference to `__imp_fluid_player_stop'\r\nC:/msys32/mingw64/lib\\libSDL2_mixer.a(dynamic_fluidsynth.o):(.text+0x8f): undefined reference to `__imp_fluid_settings_setnum'\r\nC:/msys32/mingw64/lib\\libSDL2_mixer.a(dynamic_fluidsynth.o):(.text+0x9d): undefined reference to `__imp_fluid_synth_get_settings'\r\nC:/msys32/mingw64/lib\\libSDL2_mixer.a(dynamic_fluidsynth.o):(.text+0xab): undefined reference to `__imp_fluid_synth_set_gain'\r\nC:/msys32/mingw64/lib\\libSDL2_mixer.a(dynamic_fluidsynth.o):(.text+0xb9): undefined reference to `__imp_fluid_synth_sfload'\r\nC:/msys32/mingw64/lib\\libSDL2_mixer.a(dynamic_fluidsynth.o):(.text+0xc7): undefined reference to `__imp_fluid_synth_write_s16'\r\nC:/msys32/mingw64/lib\\libSDL2_mixer.a(dynamic_fluidsynth.o):(.text+0xd5): undefined reference to `__imp_new_fluid_player'\r\nC:/msys32/mingw64/lib\\libSDL2_mixer.a(dynamic_fluidsynth.o):(.text+0xe3): undefined reference to `__imp_new_fluid_settings'\r\nC:/msys32/mingw64/lib\\libSDL2_mixer.a(dynamic_fluidsynth.o):(.text+0xf1): undefined reference to `__imp_new_fluid_synth'\r\ncollect2.exe: error: ld returned 1 exit status\r\nMakefile:551: recipe for target 'cataclysm-tiles.exe' failed\r\nmake: *** [cataclysm-tiles.exe] Error 1\r\nmake: *** Waiting for unfinished jobs....\r\nmake[1]: Entering directory '/home/Remy/Cataclysm-DDA/tests'\r\ng++ -Wl,-stack,12000000,-subsystem,windows -o cata_test -DRELEASE -DGIT_VERSION -DTILES -DLOCALIZE obj/player_test.o obj/map_iterator_test.o obj/shadowcasting_test.o obj/iuse_test.o obj/rewrite_vsnprintf_test.o obj/reloading_test.o obj/fake_messages.o obj/monster_test.o obj/creature_test.o obj/line_test.o obj/overmap_test.o obj/savegame_test.o obj/test_main.o obj/npc_test.o ../cataclysm.a -ffast-math -Os -Wall -Wextra -Werror --std=c++11 -MMD -m64 -IC:/msys32/mingw64/include/SDL2 -DSDL_SOUND -IC:/msys32/mingw64/include -DLUA -I/mingw64/include/SDL2 -IC:/msys32/mingw64/include/SDL2 -IC:/msys32/mingw64/include/SDL2 -I../src -Wno-unused-variable -Wno-sign-compare -s -m64 -static -lintl -liconv -LC:/msys32/mingw64/lib -lSDL2_mixer -lmingw32 -lSDL2 -lpthread -lmad -lvorbisfile -lvorbis -logg -lmodplug -lflac -lfluidsynth -LC:/msys32/mingw64/lib -llua -lm -L/mingw64/lib -lmingw32 -lSDL2 -mwindows -lSDL2_ttf -lSDL2_image -lfreetype -lpng -lz -ltiff -lbz2 -lharfbuzz -lglib-2.0 -llzma -lws2_32 -lintl -liconv -lwebp -ljpeg -luuid -lgdi32 -lwinmm -limm32 -lole32 -loleaut32 -lversion -L.\r\nC:/msys32/mingw64/lib\\libSDL2_mixer.a(dynamic_modplug.o):(.text+0xd): undefined reference to `__imp_ModPlug_Load'\r\nC:/msys32/mingw64/lib\\libSDL2_mixer.a(dynamic_modplug.o):(.text+0x1b): undefined reference to `__imp_ModPlug_Unload'\r\nC:/msys32/mingw64/lib\\libSDL2_mixer.a(dynamic_modplug.o):(.text+0x29): undefined reference to `__imp_ModPlug_Read'\r\nC:/msys32/mingw64/lib\\libSDL2_mixer.a(dynamic_modplug.o):(.text+0x37): undefined reference to `__imp_ModPlug_Seek'\r\nC:/msys32/mingw64/lib\\libSDL2_mixer.a(dynamic_modplug.o):(.text+0x45): undefined reference to `__imp_ModPlug_GetSettings'\r\nC:/msys32/mingw64/lib\\libSDL2_mixer.a(dynamic_modplug.o):(.text+0x53): undefined reference to `__imp_ModPlug_SetSettings'\r\nC:/msys32/mingw64/lib\\libSDL2_mixer.a(dynamic_modplug.o):(.text+0x61): undefined reference to `__imp_ModPlug_SetMasterVolume'\r\nC:/msys32/mingw64/lib\\libSDL2_mixer.a(dynamic_fluidsynth.o):(.text+0x11): undefined reference to `__imp_delete_fluid_player'\r\nC:/msys32/mingw64/lib\\libSDL2_mixer.a(dynamic_fluidsynth.o):(.text+0x1f): undefined reference to `__imp_delete_fluid_settings'\r\nC:/msys32/mingw64/lib\\libSDL2_mixer.a(dynamic_fluidsynth.o):(.text+0x2d): undefined reference to `__imp_delete_fluid_synth'\r\nC:/msys32/mingw64/lib\\libSDL2_mixer.a(dynamic_fluidsynth.o):(.text+0x3b): undefined reference to `__imp_fluid_player_add'\r\nC:/msys32/mingw64/lib\\libSDL2_mixer.a(dynamic_fluidsynth.o):(.text+0x49): undefined reference to `__imp_fluid_player_add_mem'\r\nC:/msys32/mingw64/lib\\libSDL2_mixer.a(dynamic_fluidsynth.o):(.text+0x57): undefined reference to `__imp_fluid_player_get_status'\r\nC:/msys32/mingw64/lib\\libSDL2_mixer.a(dynamic_fluidsynth.o):(.text+0x65): undefined reference to `__imp_fluid_player_play'\r\nC:/msys32/mingw64/lib\\libSDL2_mixer.a(dynamic_fluidsynth.o):(.text+0x73): undefined reference to `__imp_fluid_player_set_loop'\r\nC:/msys32/mingw64/lib\\libSDL2_mixer.a(dynamic_fluidsynth.o):(.text+0x81): undefined reference to `__imp_fluid_player_stop'\r\nC:/msys32/mingw64/lib\\libSDL2_mixer.a(dynamic_fluidsynth.o):(.text+0x8f): undefined reference to `__imp_fluid_settings_setnum'\r\nC:/msys32/mingw64/lib\\libSDL2_mixer.a(dynamic_fluidsynth.o):(.text+0x9d): undefined reference to `__imp_fluid_synth_get_settings'\r\nC:/msys32/mingw64/lib\\libSDL2_mixer.a(dynamic_fluidsynth.o):(.text+0xab): undefined reference to `__imp_fluid_synth_set_gain'\r\nC:/msys32/mingw64/lib\\libSDL2_mixer.a(dynamic_fluidsynth.o):(.text+0xb9): undefined reference to `__imp_fluid_synth_sfload'\r\nC:/msys32/mingw64/lib\\libSDL2_mixer.a(dynamic_fluidsynth.o):(.text+0xc7): undefined reference to `__imp_fluid_synth_write_s16'\r\nC:/msys32/mingw64/lib\\libSDL2_mixer.a(dynamic_fluidsynth.o):(.text+0xd5): undefined reference to `__imp_new_fluid_player'\r\nC:/msys32/mingw64/lib\\libSDL2_mixer.a(dynamic_fluidsynth.o):(.text+0xe3): undefined reference to `__imp_new_fluid_settings'\r\nC:/msys32/mingw64/lib\\libSDL2_mixer.a(dynamic_fluidsynth.o):(.text+0xf1): undefined reference to `__imp_new_fluid_synth'\r\ncollect2.exe: error: ld returned 1 exit status\r\nMakefile:26: recipe for target 'cata_test' failed\r\nmake[1]: *** [cata_test] Error 1\r\nmake[1]: Leaving directory '/home/Remy/Cataclysm-DDA/tests'\r\nMakefile:797: recipe for target 'tests' failed\r\nmake: *** [tests] Error 2\r\ntools/json_format_check.sh\r\n```"}}