-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Hi,
I don't know if support for platforms differing from Windows is covered right now. In fact, I have no idea if this software is intended to be used or maintained by other people; I couldn't really find discussions of it outside of your website, and .gitmodules currently uses an SSH remote URL instead of HTTPS. I suppose it's a program similar in idea to what you can get for games via the Steam Workshop, only that it covers mods for Vanilla Duke3D and/or unofficial source ports?
Either way, I've been trying to build it. The old Windows executable from 2009 doesn't work for me (tested via Wine); I can tell it appears to depend on debug runtime DLLs from VC++ 2005.
After using a local installation of CMake 3.27.7, it seemed to start downloading various packages into ~/.hunter and preparing them, until it ended with the following error, probably for 7-Zip:
[hunter ** FATAL ERROR **] Bad `hunter_config` format (variable value is empty): BUILD_CPP_LIB=
[hunter ** FATAL ERROR **] [Directory:/mnt/hdd/Games/duke3d/Duke3D_Mod_Manager/Libraries/Core/CMake]
It looks like BUILD_CPP_LIB is set to ON for Windows and not set at all otherwise, judging from the value of BUILD_7Z_CPP_LIB as defined under the submodule file Libraries/Core/CMake/Hunter/HunterConfig.cmake.
After re-running CMake with the addition of -DBUILD_7Z_CPP_LIB=OFF, it managed to progress until it reported the following file was not found:
~/.hunter/_Base/5299724/f845a29/af3f2be/Build/SevenZip/Source/cmake/Config.cmake.in
It's apparently a problem of case sensitivity on Linux, because this file exists (emphasis on cmake vs. CMake):
~/.hunter/_Base/5299724/f845a29/af3f2be/Build/SevenZip/Source/CMake/Config.cmake.in
Unfortunately, renaming the directory or even making a copy didn't seem to assist - the whole structure would be re-generated from what I saw. Same with editing the location of Config.cmake.in within the CMakeLists.txt file itself.
Let's hope this report proves to be useful.