... and a follow up problem (might not be related to each other) while executing
cmake ../freeablo
Code: Select all
CMake Error at CMakeLists.txt:20 (find_package):
By not providing "FindQt5Widgets.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"Qt5Widgets", but CMake did not find one.
Could not find a package configuration file provided by "Qt5Widgets" with
any of the following names:
Qt5WidgetsConfig.cmake
qt5widgets-config.cmake
Add the installation prefix of "Qt5Widgets" to CMAKE_PREFIX_PATH or set
"Qt5Widgets_DIR" to a directory containing one of the above files. If
"Qt5Widgets" provides a separate development package or SDK, be sure it has
been installed.
-- Configuring incomplete, errors occurred!
EDIT: Ok I found
this thread which might target some of these issues. I decided to have a try with windows setup. I did following:
- Installed VS 2017 community edition (hope this is not an issue, as currently 2015 is recommended in the readme)
- Downloaded the
window repo
- Pulled the freeablo repo
- Copied DIABDAT.MPQ and Diablo.exe (patched to 1.9)
- Run
git submodule update --init
- Executed the cmake.bat file
This installed QT and made a build-folder with Debug, Release, CMakeFiles etc. ...
How would I need to open this now in VS? I expected some kind of project files, but there is only build/CMakeFiles/3.9.0/VCTargetsPath.vcxproj (and .user) which does not show much when I open it.
Furthermore, I am in general not able to start it, even with the binary distribution:
"The program can't start because DiabloUI.dll is missing from your computer."