From 5c7118f8d9a4a89742c33d411e5f207b9108b32e Mon Sep 17 00:00:00 2001 From: fabien Date: Tue, 25 Dec 2018 12:25:35 -0600 Subject: Add documentation on how to build Cairo in Linux Debian and derivatives. --- README.Cairo.txt | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'README.Cairo.txt') diff --git a/README.Cairo.txt b/README.Cairo.txt index 10ec3934c..3e94196ea 100644 --- a/README.Cairo.txt +++ b/README.Cairo.txt @@ -117,7 +117,20 @@ on the various supported operating systems. 3.1 Linux --------- - From Greg (erco@seriss.com): + 3.1.1 Debian and derivatives (like Ubuntu) + ----------------------------------------------------- + + Run from a terminal command line: + sudo apt install libcairo2-dev + + Then build fltk using the cairo additional option using: + cmake -G"Unix Makefiles" -DOPTION_CAIRO:BOOL=ON -S -B + cd + make + + 3.1.2 CentOS from Greg (erco@seriss.com) + --------------------------------------------------- + To get FLTK 1.3.x (r9204) to build on Centos 5.5, I found that I only needed to install the "cairo-devel" package, ie: -- cgit v1.2.3