The Gtkmm package provides a C++ interface to GTK+ 2. It can be installed alongside Gtkmm-3.18.0 (the GTK+ 3 version) with no namespace conflicts.
This package is known to build and work properly using an LFS-7.9 platform.
Download MD5 sum: b9ac60c90959a71095f07f84dd39961d
Download size: 10 MB
Estimated disk space required: 296 MB
Estimated build time: 3.6 SBU
First, fix the documents directory name:
sed -e '/^libdocdir =/ s/$(book_name)/gtkmm-2.24.4/' \ -i docs/Makefile.in
Install Gtkmm by running the following commands:
CXXFLAGS="-g -O2 -std=c++11" ./configure --prefix=/usr && make
To test the results, issue: make check.
Now, as the
CXXFLAGS="-g -O2 -std=c++11"
./configure...: while Gtkmm-2.24.4 has not yet been
ported to the 2011 ISO C++ standard, all its dependencies have.
-std=c++11 has to be
used as an option to g++. We pass it into
CXXFLAGS together with the default options.
Last updated on 2016-02-27 08:37:24 -0800