Closed eisnerguy1 closed 3 years ago
This function is available since SDL 2.0.5. could you check what was installed?
This function is available since SDL 2.0.5. could you check what was installed?
I've got sdl2 2.0.14_1, sdl2_mixer 2.0.4 & sdl2_ttf 2.0.15. The were installed with Homebrew if that makes any difference.
-- Found SDL2_ttf: /Library/Frameworks/SDL2_ttf.framework -- Found SDL2: /Users/eisnerguy1/Library/Frameworks/SDL2.framework -- Found SDL2_mixer: /Library/Frameworks/SDL2_mixer.framework
Most likely, old versions of SDL2 frameworks were picked by CMake. Usually, Homebrew doesn't install anything to
~/Library
nor to/Library/Frameworks
directories.
Yep, that was the issue. I copied the the current versions of the .framework files to the appropriate locations and everything builds without errors
I did try building the source with Hellfire not enabled in CMakeLists.txt and it still launched Hellfire despite not being built to enable it. I've got Diabdat.mpq, hellfire.mpq, hfmonk.mpq, hfmusic.mpq & hfvoice.mpq in /Users/eisnerguy1/Library/Application Support/diasurgical/devilution/.
If I make sure that just Diabdat.mpq and the non-Hellfire app are in the same folder, everything works as expected. But, when the non-Hellfire app is either in the same directory of the Hellfire mpg files, or the Hellfire mpq files are in the directory listed above, alongside Diabdat.mpq, Hellfire still launches.
Yeah, we are working on unifying the binaries. As you have noticed it will detect the game based on the available mpq files, but also you can force it to ignore hellfire with --diablo
. Currently there are still 3 minor parts of hellfire not unified so that is why it still appears as a CMake option.
I'm trying to compile on macOS 10.14.6 and I'm running into an issue:
The only changes I made to CMakeLists.txt were:
Am I missing something super obvious?