The libcairomm-1.0 package provides a C++ interface to Cairo.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
Download (HTTP): https://www.cairographics.org/releases/cairomm-1.14.0.tar.xz
Download MD5 sum: 75a08d50eb08b97667e4ea2be6efa1ad
Download size: 592 KB
Estimated disk space required: 9.5 MB (with tests)
Estimated build time: less than 0.1 SBU (with tests)
Cairo-1.18.0 and libsigc++-2.12.1
Boost-1.83.0 (for tests)
Install Cairomm-1.0 by running the following commands:
mkdir bld && cd bld && meson setup .. \ --prefix=/usr \ --buildtype=release \ -Dbuild-tests=true \ -Dboost-shared=true && ninja
To run the test suite, run: ninja test.
Now, as the root
user:
ninja install
-Dbuild-tests=true
: This switch is for building
the unit tests. Remove if you have not installed Boost-1.83.0.
-Dboost-shared=true
: This switch has the package
use the shared version of boost libraries. It is required if you have
not installed the boost static libraries, and you have passed
-Dbuild-tests=true
.
-Dbuild-documentation=true
: This switch builds the
html documentation if doxygen is installed.