- main.cpp taken from link
- The base template of CMakeLists.txt taken from link
- Some things are taken from link
- and link
MSYS2 link
Update the packages:
pacman -Syu
(use it twice)
You need to install the following packages in MSYS2:
pacman -S mingw-w64-ucrt-x86_64-toolchain
(GCC, gdb, pkg-conf and etc.)pacman -S mingw-w64-ucrt-x86_64-cmake
(CMake, ninja)pacman -S mingw-w64-ucrt-x86_64-gtkmm-4.0
(gtkmm-4.0, GTK-4 and etc.)pacman -S mingw-w64-ucrt-x86_64-ntldd
(ntldd)
Add C:\msys64\ucrt64\bin
to %PATH%
Visual Studio Code link
Install the related plugins:
Or just install:
- C/C++ Extension Pack link
Download this repository, open the directory in VSCode and try to build.
The copy_dependencies.bat
copies everything necessary for the offline working of the application without MSYS2 (it may need to be improved). To call the help, run .bat
without parameters.