Howtos - Hack on Windows » History » Revision 105
Revision 104 (Greg Burri, 05/12/2026 12:42 AM) → Revision 105/115 (Greg Burri, 05/12/2026 12:43 AM)
h1. Howtos - Hack on Windows 10 & 11 You need to: # Install _Git for Windows_ (needed by _Tortoise Git_) : https://gitforwindows.org/. ## Do not install in "Program files" or in a path which contains spaces. We recommend to install in @C:\git@. # Install _Qt_ and _Qt Creator_ from https://www.qt.io/download-qt-installer ## Select the latest version of MinGW 64 bits during installation (11.2.0 for instance) # Install protobuf library source ## Download and uncompress the latest release from : https://github.com/protocolbuffers/protobuf/releases (for example: @protobuf-cpp-3.11.4.zip@) ## Rename the directory to @protobuf@ ## Launch "Git Bash" and go to @/c/protobuf@ then type : ### @export MAKE=mingw32-make@ ### @PATH=$PATH:/c/Qt/Tools/mingw1310_64/bin:/c/Qt/Tools/CMake_64/bin@ @PATH=$PATH:/c/Qt/Tools/mingw1310_64/bin;/c/Qt/Tools/CMake_64/bin@ ### @./configure CXXFLAGS=-O2 --enable-shared=no@ ### @mingw32-make@ # Git clone the repository : ## _git://github.com/Ummon/D-LAN.git_ if you just want clone the repository (read-only). ## _git@github.com:Ummon/D-LAN.git_ if you have a full access (read+write). # Set up _Qt Creator_ ## Launch _Qt Creator_ ## Open the projects @d-lan/application/GUI.pro@ and @d-lan/application/Core.pro@ ## For both projects: ### Uncheck _Shadow build_ in the _Build Settings_ tab. ### Add the argument @debug -f Makefile-Core@ to _Make_ for the build configuration _Debug_ and @release -f Makefile-Core@ for the build configuration _Release_. Replace _'Core'_ by _'GUI'_ for the _GUI_ project. ## Add @-e@ as an argument and check[1] @Run in terminal@ in the _Run Settings_ tab of the _Core_ project. ## You can now compile and run the two projects. fn1. Without this option the Core cannot be launched in debug mode (stderr cannot be used).