Difference between revisions of "FLTK"

From CBLFS
Jump to navigationJump to search
Line 10: Line 10:
 
== Introduction to FLTK ==
 
== Introduction to FLTK ==
  
<Package Description Needed>
+
FLTK (pronounced "fulltick") is a cross-platform C++ GUI toolkit for UNIX, Linux, Microsoft Windows, and MacOS X. FLTK provides modern GUI functionality without the bloat and supports 3D graphics via OpenGL and its built-in GLUT emulation.
 +
 
 +
<b>Project Homepage:</b> http://www.fltk.org/
  
 
== Dependencies ==
 
== Dependencies ==
Line 16: Line 18:
 
=== Required ===
 
=== Required ===
 
* [[X Window System]]
 
* [[X Window System]]
 +
 
=== Optional ===
 
=== Optional ===
 
* [[libjpeg]]
 
* [[libjpeg]]
 
* [[libpng]]
 
* [[libpng]]
 +
 +
== Configuration Information ==
 +
 +
{|style="text-align: left"
 +
|<i>--enable-shared:</i> turn on shared libraries.
 +
|-valign="top"
 +
|<i>--enable-localjpeg:</i> use local JPEG library.
 +
|-valign="top"
 +
|<i>--enable-localzlib:</i> use local ZLIB library.
 +
|-valign="top"
 +
|<i>--enable-localpng:</i> use local PNG library.
 +
|-valign="top"
 +
|<i>--enable-xinerama:</i> turn on Xinerama support.
 +
|-valign="top"
 +
|<i>--enable-xft:</i> turn on Xft support.
 +
|}
  
 
== Non-Multilib ==
 
== Non-Multilib ==
Line 75: Line 94:
 
= Contents =
 
= Contents =
  
{| style="text-align: left;"
+
{|style="text-align: left"
 
|-valign="top"
 
|-valign="top"
! Installed Programs:
+
!Installed Directories:
| ???
+
|/usr/include/FL, /usr/share/doc/fltk, /usr/share/doc/fltk/examples, /usr/share/doc/fltk/examples/pixmaps, /usr/share/man/cat3
 
|-valign="top"
 
|-valign="top"
! Installed Libraries:
+
!Installed Programs:
| ???
+
|fltk-config, fluid
 
|-valign="top"
 
|-valign="top"
! Installed Directories:
+
!Installed Libraries:
| ???
+
|libfltk.a, libfltk_forms.a, libfltk_gl.a, libfltk_images.a, libfltk.so, libfltk_forms.so, libfltk_gl.so, libfltk_images.so
 
|}
 
|}
  
Line 91: Line 110:
 
{| style="text-align: left;"
 
{| style="text-align: left;"
 
|-valign="top"
 
|-valign="top"
! program1
+
!fltk-config
| ???
+
|is a script to assist configuring packages that are building against FLTK.
|-valign="top"
 
! program2
 
| ???
 
 
|-valign="top"
 
|-valign="top"
! library1.{so,a}
+
!fluid
| ???
+
|is the FLTK development program.
 
|}
 
|}

Revision as of 21:34, 11 February 2007

Download Source: ftp://ftp3.easysw.com/pub/fltk/snapshots/fltk-1.1.10.tar.bz2

Introduction to FLTK

FLTK (pronounced "fulltick") is a cross-platform C++ GUI toolkit for UNIX, Linux, Microsoft Windows, and MacOS X. FLTK provides modern GUI functionality without the bloat and supports 3D graphics via OpenGL and its built-in GLUT emulation.

Project Homepage: http://www.fltk.org/

Dependencies

Required

Optional

Configuration Information

--enable-shared: turn on shared libraries.
--enable-localjpeg: use local JPEG library.
--enable-localzlib: use local ZLIB library.
--enable-localpng: use local PNG library.
--enable-xinerama: turn on Xinerama support.
--enable-xft: turn on Xft support.

Non-Multilib

Compile the package:

./configure --prefix=/usr --enable-shared &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" ./configure --prefix=/usr \
    --x-libraries=${XORG_PREFIX}/lib --enable-shared &&
make

Install the package

make install &&
mv -v /usr/bin/fltk-config{,-32}

N32

Compile the package:

CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" ./configure --prefix=/usr \
    --x-libraries=${XORG_PREFIX}/lib32 --libdir=/usr/lib32 --enable-shared &&
make

Install the package

make install &&
mv -v /usr/bin/fltk-config{,-n32}

64Bit

Compile the package:

CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" ./configure --prefix=/usr \
    --x-libraries=${XORG_PREFIX}/lib64 --libdir=/usr/lib64 --enable-shared &&
make

Install the package

make install &&
mv -v /usr/bin/fltk-config{,-64} &&
ln -sfv multiarch_wrapper /usr/bin/fltk-config

Contents

Installed Directories: /usr/include/FL, /usr/share/doc/fltk, /usr/share/doc/fltk/examples, /usr/share/doc/fltk/examples/pixmaps, /usr/share/man/cat3
Installed Programs: fltk-config, fluid
Installed Libraries: libfltk.a, libfltk_forms.a, libfltk_gl.a, libfltk_images.a, libfltk.so, libfltk_forms.so, libfltk_gl.so, libfltk_images.so

Short Descriptions

fltk-config is a script to assist configuring packages that are building against FLTK.
fluid is the FLTK development program.
Retrieved from "?title=FLTK&oldid=7788"