FLTK: Difference between revisions
From CBLFS
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| (9 intermediate revisions by 5 users not shown) | |||
| Line 1: | Line 1: | ||
{| style="text-align: left; background-color: AliceBlue;" | {| style="text-align: left; background-color: AliceBlue;" | ||
|- | |-valign="top" | ||
!Download Source: | !Download Source: | ||
| ftp:// | | ftp://ftp.easysw.com/pub/fltk/{{FLTK-Version}}/fltk-{{FLTK-Version}}-source.tar.bz2 | ||
|-valign="top" | |||
|} | |} | ||
---- | ---- | ||
{{Package-Introduction|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.|http://www.fltk.org/}} | |||
== Dependencies == | == Dependencies == | ||
| Line 11: | Line 14: | ||
=== 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 19: | Line 39: | ||
Compile the package: | Compile the package: | ||
./configure --prefix=/usr && | ./configure --prefix=/usr --enable-shared && | ||
make | make | ||
| Line 33: | Line 53: | ||
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" ./configure --prefix=/usr \ | CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" ./configure --prefix=/usr \ | ||
--x-libraries=${XORG_PREFIX}/lib && | --x-libraries=${XORG_PREFIX}/lib --enable-shared && | ||
make | make | ||
| Line 46: | Line 66: | ||
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" ./configure --prefix=/usr \ | CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" ./configure --prefix=/usr \ | ||
--x-libraries=${XORG_PREFIX}/lib32 --libdir=/usr/lib32 && | --x-libraries=${XORG_PREFIX}/lib32 --libdir=/usr/lib32 --enable-shared && | ||
make | make | ||
| Line 59: | Line 79: | ||
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" ./configure --prefix=/usr \ | CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" ./configure --prefix=/usr \ | ||
--x-libraries=${XORG_PREFIX}/lib64 --libdir=/usr/lib64 && | --x-libraries=${XORG_PREFIX}/lib64 --libdir=/usr/lib64 --enable-shared && | ||
make | make | ||
| Line 67: | Line 87: | ||
mv -v /usr/bin/fltk-config{,-64} && | mv -v /usr/bin/fltk-config{,-64} && | ||
ln -sfv multiarch_wrapper /usr/bin/fltk-config | ln -sfv multiarch_wrapper /usr/bin/fltk-config | ||
= Contents = | |||
{|style="text-align: left" | |||
|-valign="top" | |||
!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" | |||
!Installed Programs: | |||
|fltk-config, fluid | |||
|-valign="top" | |||
!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 === | |||
{| style="text-align: left;" | |||
|-valign="top" | |||
!fltk-config | |||
|is a script to assist configuring packages that are building against FLTK. | |||
|-valign="top" | |||
!fluid | |||
|is the FLTK development program. | |||
|} | |||
[[Category:Graphics Libraries]] | |||
Latest revision as of 15:08, 19 March 2009
| Download Source: | ftp://ftp.easysw.com/pub/fltk/1.1.10/fltk-1.1.10-source.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. |