Skip to content

Commit

Permalink
Add documentation on how to build Cairo in Linux Debian and derivatives.
Browse files Browse the repository at this point in the history
  • Loading branch information
fab672000 committed Dec 25, 2018
1 parent 550ba7e commit 5c7118f
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion README.Cairo.txt
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,20 @@ on the various supported operating systems.
3.1 Linux
---------

From Greg ([email protected]):
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 <fltk_dir> -B <your_build_dir>
cd <your_build_dir>
make

3.1.2 CentOS from Greg ([email protected])
---------------------------------------------------

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:

Expand Down

0 comments on commit 5c7118f

Please sign in to comment.