r1 - 13 Jul 2004 - 13:27:26 - BobKrzaczekYou are here: TWiki >  Help Web  > BuildingFltk
Tags:
create new tag
, view all tags
  • Version: 1.1.5rc1
  • Summary: A toolkit for building platform-independent GUI (similar in spirit to GTK).

Summary

(from the README file)

WHAT IS FLTK?

The Fast Light Tool Kit ("FLTK", pronounced "fulltick") is a a cross-platform C++ GUI toolkit for UNIX(r)/Linux(r) (X11), Microsoft(r) Windows(r), and MacOS?(r) X. FLTK provides modern GUI functionality without the bloat and supports 3D graphics via OpenGL?(r) and its built-in GLUT emulation. It was originally developed by Mr. Bill Spitzak and is currently maintained by a small group of developers across the world with a central repository in the US.

Obtaining

Start at http://www.fltk.org/ and you should be able to find it.

Prerequisites

Build

Solaris, Forte, 32 bit

Fix your PATH variable.
   PATH=/bin:/usr/ccs/bin:/opt/SUNWspro/bin:/cis/bin
   export PATH

Configure the kit. If OpenGL is ever supported as part of the standard toolkit in the Center, go ahead and change this accordingly, but right now the admins load a plain vanilla Solaris image. Also, as of 1.1.5 RC1, the configure script and Makefiles didn't propagate CPPFLAGS and LDFLAGS properly; hence, the silliness you see here with CC and CXX.

   CC='cc -I/cis/include -L/cis/lib -R/cis/lib' \
   CXX='CC -I/cis/include -L/cis/lib -R/cis/lib' \
   ./configure --prefix=/cis \
      --disable-shared --disable-gl

Compile the software. It should build mostly clean, without errors. You will get a few image-format-specific warnings, though.

   gmake clean all

There is no test, unfortunately, so just go straight for the install.

   sudo gmake install

Documentation is installed automatically, so there's no special steps needed.

Solaris, Forte, 64 bit

Solaris, GCC, 32 bit

Solaris, GCC, 64 bit

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r1 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback