976 B
-
Download MSYS2 from https://www.msys2.org/
https://github.com/msys2/msys2-installer/releases/download/2023-03-18/msys2-x86_64-20230318.exe
-
After installation open "MSYS2 MINGW64" from Menu Start
-
Install required packages with
pacman -S mingw-w64-x86_64-gcc mingw-w64-x86_64-cmake mingw-w64-x86_64-autotools git
-
Browse to MultiCraft directory, for example
cd /c/Users/username/Documents/MultiCraft
-
Build inside build/windows directory with
./Start cmake --build . -j
-
Check libraries linked with multicraft.exe using command below. It should show only system libraries.
objdump -x ../../bin/multicraft.exe | grep dll
The "make -j" and even "make -jnproc
" eats a lot of memory (when building libcurl).
If it's a problem, then change NPROC to 1 or so.
Also, don't install any other packages that are not for mingw because then some libraries search headers in /usr/include rather than /mingw64/include and fail to compile.