SFTtech / openage

Free (as in freedom) open source clone of the Age of Empires II engine 🚀
http://openage.dev
Other
12.79k stars 1.13k forks source link

How to run in windows #1669

Open moozen-cn opened 3 months ago

moozen-cn commented 3 months ago

Compile:

cmake -DCMAKE_TOOLCHAIN_FILE="D:\Developer\vcpkg\scripts\buildsystems\vcpkg.cmake" -DDOWNLOAD_NYAN=YES -DFLEX_EXECUTABLE="D:\Developer\win_flex_bison-2.5.25\win_flex.exe" -DCMAKE_INSTALL_PREFIX="./install" -DWANT_OPENGL=YES -DWANT_VULKAN=NO -G "Visual Studio 17 2022" -A x64 ../

Run:

python -m openage --add-dll-search-path=D:\Git\openage\build\libopenage\RelWithDebInfo main

Cannot find qml library, but it is in that path image then, I fix import QtQuick 2.4 -> import QtQuick image

image

the openage window like this: image

TheJJ commented 3 months ago

thanks. so you needed to patch some things in the code in order for it to work? can you send this patch please, so we may integrate it for everyone?

did the build documentation work, or did you need adjustments there as well?