FLTK (pronounced "fulltick") is a cross-platform C++ GUI toolkit. FLTK provides modern GUI functionality and supports 3D graphics via OpenGL and its built-in GLUT emulation libraries used for creating graphical user interfaces for applications.
This package is known to build and work properly using an LFS-7.6 platform.
Download (HTTP): http://fltk.org/pub/fltk/1.3.2/fltk-1.3.2-source.tar.gz
Download MD5 sum: 9f7e707d4fb7a5a76f0f9b73ff70623d
Download size: 4.1 MB
Estimated disk space required: 75 MB
Estimated build time: 1.0 SBU
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/fltk
The tar extraction directory is fltk-1.3.2 and not fltk-1.3.2-source as indicated by the tarball name.
Install FLTK by running the following commands:
patch -Np1 -i ../fltk-1.3.2-tigervnc-1.patch && patch -Np1 -i ../fltk-1.3.2-dynamic_libs-1.patch && sed -i -e '/FL_PATCH_VERSION=/ s/1/2/' configure && sed -i -e '/cat./d' documentation/Makefile && ./configure --prefix=/usr \ --enable-threads \ --enable-xft \ --enable-shared && make
If you wish to create the api documentation, issue:
make -C documentation html
The tests for the package are interactive. To execute the tests,
In addition, there are 70 other executable test programs in the
test directory that can be run
Now, as the
make docdir=/usr/share/doc/fltk-1.3.2 install
If desired, install some example games built as a part of the
tests, extra documentation and example programs. As the
make -C test install-linux && make -C documentation install-linux
patch ...tigervnc-1.patch: Install patches to make the libraries compatible with tigervnc.
patch ...dynamic_libs-1.patch: Allow building dynamic libraries.
sed ... configure: configure: Fix output of fltk-config --version.
documentation/Makefile: Avoid installing pages in
Last updated on 2014-05-18 18:40:17 -0500