Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Sign up[MSYS2] Latest release has issues #15568
Comments
This comment has been minimized.
This comment has been minimized.
|
MSYS2 fails right now for me because it seems to be missing some dependencies for TILES and SOUND.
Let me check if I can fix this. |
This comment has been minimized.
This comment has been minimized.
|
It compiles and runs 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. diff --git a/Makefile b/Makefile
index 790bb73..a16b112 100644
--- a/Makefile
+++ b/Makefile
@@ -351,7 +351,7 @@ ifdef SOUND
endif
ifdef MSYS2
- LDFLAGS += -lmad
+ LDFLAGS += -lmad -lvorbisfile -lvorbis -logg -lmodplug -lflac -lfluidsynth
endif
CXXFLAGS += -DSDL_SOUNDI might investigate some more later on. For now, here is the output log I get with these:
|
This comment has been minimized.
This comment has been minimized.
|
Add the flag DYNAMIC_LINKING=1
I had the same problem, the above gets you past the errors, just have to add |
This comment has been minimized.
This comment has been minimized.
|
Like I said, I'm still learning - seems everything is working now. Understanding that updates in MSYS2 (and Arch) are rolling releases and need time to propagate as well as time for packages to update, is something I wasn't really aware of. So other than having to compile with dynamic linking enabled, everything is pretty much sorted. |
NickGrease
closed this
Mar 3, 2016
This comment has been minimized.
This comment has been minimized.
|
The culprit for this problem is the change to the mingw-w64-x86_64-SDL2_mixer package. To be specific, it is this change. They updated to 2.0.1 and they scraped a few things enabling static linking. If I have a few minutes, I might check it out to create a pull request bringing back static linking. |
This comment has been minimized.
This comment has been minimized.
|
Thanks for looking into this, I'd be embarrassed to admit how many hours I spent fumbling around trying to figure that out. I had narrowed it down to the 4 SDL packages, so I was close I guess, but I really had no idea what I was doing or looking for. I did learn a lot about bash and pacman and have a much better understand of msys2, so it was worth the time. Thanks again for looking into this, static linking would be nice - but I'm just happy to know that it's not my computer that was causing the problem. |
NickGrease commentedFeb 27, 2016
Win 7/64 - mingw64
TL;DR If your using MSYS2 and its working - don't update. If your trying to install for the first time, use the 2105 installer and skip the
pacman -SustepThe 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.
Also with the latest msys2 installer, when installing there were a number of warnings about circular dependencies that weren't present with the old installer.
Even using the old installer, if you follow the guide here and do
pacman -Suyou're back to producing a non-functioning cataclysm exe.Now 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-coreupdates. 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.