Actions
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
.
- Do not install in "Program files" or in a path which contains spaces. We recommend to install in
- 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/mingw1120_64/bin
./configure CXXFLAGS=-O2 --enable-shared=no
mingw32-make
- Download and uncompress the latest release from : https://github.com/protocolbuffers/protobuf/releases (for example:
- 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
andd-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 andrelease -f Makefile-Core
for the build configuration Release. Replace 'Core' by 'GUI' for the GUI project.
- Add
-e
as an argument and check1Run in terminal
in the Run Settings tab of the Core project. - You can now compile and run the two projects.
1 Without this option the Core cannot be launched in debug mode (stderr cannot be used).
Updated by Greg Burri over 2 years ago · 102 revisions