Skip to content

The "Hello world" project from the official gtkmm help. Automatically copies dependencies, which allows you to distribute the application without MSYS2 (the feature is still raw).

Notifications You must be signed in to change notification settings

start-with-zero/simple-gtkmm-4-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 

Repository files navigation

A simple gtkmm 4.0 project with the ability to distribute without MSYS2

Links

  1. main.cpp taken from link
  2. The base template of CMakeLists.txt taken from link
  3. Some things are taken from link
  4. and link

MSYS2

MSYS2 link
Update the packages:

  1. pacman -Syu (use it twice)

You need to install the following packages in MSYS2:

  1. pacman -S mingw-w64-ucrt-x86_64-toolchain (GCC, gdb, pkg-conf and etc.)
  2. pacman -S mingw-w64-ucrt-x86_64-cmake (CMake, ninja)
  3. pacman -S mingw-w64-ucrt-x86_64-gtkmm-4.0 (gtkmm-4.0, GTK-4 and etc.)
  4. pacman -S mingw-w64-ucrt-x86_64-ntldd (ntldd)

Add C:\msys64\ucrt64\bin to %PATH%

Visual Studio Code

Visual Studio Code link
Install the related plugins:

  1. C/C++ link
  2. CMake Tools link
  3. CMake Language Support link

Or just install:

  1. C/C++ Extension Pack link

Project

Download this repository, open the directory in VSCode and try to build.

Notes

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.

About

The "Hello world" project from the official gtkmm help. Automatically copies dependencies, which allows you to distribute the application without MSYS2 (the feature is still raw).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published