Phew, after much pain and suffering, LOL, I finally managed to get build system setup to build sfml/csfml with visual studio 2019. Upgrading to the latests dev build does fix the crash issues.
I've been trying to build csfml for a few hours now. It's so complicated, sheez. I'm stuck on the SFMLConfig.cmake issue. The SFMLConfig.cmake.in file does not work, something about version unknown. How do I compile csfml for windows x64 bits?
I'm using CSFML audio and I got it working with Physfs. It loads and plays the music stream just from from within a zip archive. Everything seems to work fine, but when it will fault when I call sfMusic_destroy.
So I then tested with sfMusic_createFromFile, there is no crash. So what could be going on with sfMusic_createFromStream that would cause the crash?