Author: greg.ercolano
Date: 2011-12-09 09:43:50 -0800 (Fri, 09 Dec 2011)
New Revision: 9205
Log:
Updates for Centos 5.5 builds
Modified:
branches/branch-1.3/README.Cairo.txt
Modified: branches/branch-1.3/README.Cairo.txt
===================================================================
--- branches/branch-1.3/README.Cairo.txt 2011-12-08 19:31:18 UTC (rev
9204)
+++ branches/branch-1.3/README.Cairo.txt 2011-12-09 17:43:50 UTC (rev
9205)
@@ -11,7 +11,11 @@
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,7 +108,53 @@
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 ([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:
+
+ 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
==================
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit