The gtkmm sources contain some demos and tests. Open the MSYS2 MINGW 64-bit shell and go to the mingw-w64-gtkmm4 directory, where you built the package.
Then, to build the demos, cd into src/build-x86_64-w64-mingw32/demos and launch: make check
After the build process has ended you will find the demo in gtk-demo/gtkmm-demo.exe. You can run it with:
cd gtk-demo
./gtkmm-demo
You can also run with the gtk inspector enabled to see some more info:
Hi, I try to re-compile Gtkmm, this time i have an error which i had not before:
when trying to compile glibmm:
config.status: error: in /e/packages/mingw-w64-glibmm-next/src/build-x86_64-w64-mingw32': config.status: error: Something went wrong bootstrapping makefile fragments for automatic dependency tracking. Try re-running configure with the '--disable-dependency-tracking' option to at least be able to build the package (albeit without support for automatic dependency tracking). See config.logâ for more details
Mmm I donât know what error is this. But if you have already installed the packages, you donât need to build any of glibmm, cairomm, pangomm and atkmm. Only re-build gtkmm.
In fact i recompile everythings; even gtk4; i have not any problem in gtk4; but with glibmm; i have this problem of dependencies; i use ( makepkg-mingw -d or makepkg-mingw --nodeps) for ignoring dependencies without succes.
Maybe you you are doing it right already, but be sure to use the MSYS2 MSYS shell to run makepkg-mingw (not the MINGW 32/64 bit shells). If the problem persists try to run:
export MAKE=gmake
Before makepkg-mingw.
This seems to be an issue with recent releases of autotools, will check more.
For gmake, i think i should install gmake: I have this error:
checking whether gmake supports GNU make features⌠no
configure: error: in `/e/packages/mingw-w64-glibmm-next/src/build-x86_64-w64-mingw32â:
configure: error: The GNU make program is required to build glibmm.