summaryrefslogtreecommitdiff
path: root/README.Cairo.txt
diff options
context:
space:
mode:
authorGreg Ercolano <erco@seriss.com>2011-12-09 17:43:50 +0000
committerGreg Ercolano <erco@seriss.com>2011-12-09 17:43:50 +0000
commit15e00887fe6f1a2b747a26272986589087e16f50 (patch)
treecd13dae54e959c44507bc7717e0eb49e5794f70e /README.Cairo.txt
parent931f01a589d03e6ee5acfcbc289926f7e5465ae9 (diff)
Updates for Centos 5.5 builds
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9205 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'README.Cairo.txt')
-rw-r--r--README.Cairo.txt52
1 files changed, 51 insertions, 1 deletions
diff --git a/README.Cairo.txt b/README.Cairo.txt
index 38fc6ffa2..84e811bb8 100644
--- a/README.Cairo.txt
+++ b/README.Cairo.txt
@@ -11,7 +11,11 @@ README.Cairo.txt - 2010-10-25 - Cairo rendering support for FLTK
2.1 Configuration
2.2 Currently supported features
2.3 Future considerations
- 3 DOCUMENT HISTORY
+ 3 PLATFORM SPECIFIC NOTES
+ 3.1 Linux
+ 3.2 Windows
+ 3.3 Mac OSX
+ 4 DOCUMENT HISTORY
@@ -104,6 +108,52 @@ Note that it should be possible to compile so FLTK_HAVE_CAIRO works even if
FLTK_USE_CAIRO does not, and so that turning on FLTK_USE_CAIRO does not break any
programs written for FLTK_HAVE_CAIRO.
+ PLATFORM SPECIFIC NOTES
+=========================
+
+The folowing are notes about building FLTK with Cairo support
+on the various supported operating systems.
+
+ 3.1 Linux
+ ---------
+
+ 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:
+
+ sudo yum install cairo-devel
+
+ ..and then rebuild fltk:
+
+ make distclean
+ ./configure --enable-cairo
+ make
+
+ If you get this error:
+
+ [..]
+ Linking cairo_test...
+ /usr/bin/ld: cannot find -lpixman-1
+ collect2: ld returned 1 exit status
+ make[1]: *** [cairo_test] Error 1
+
+ ..remove "-lpixman-1" from fltk's Makefile, i.e. change this line:
+
+ -CAIROLIBS = -lcairo -lpixman-1
+ +CAIROLIBS = -lcairo
+
+ ..then another 'make' should finish the build without errors.
+ You should be able to then run the test/cairo_test program.
+
+ 3.2 Windows
+ -----------
+ TBD
+
+ 3.3 Mac OSX
+ -----------
+ TBD
+
+
DOCUMENT HISTORY
==================