fltk-config(1)

fltk-config1

Script to get information about the installed version of fltk.

Usage

fltk-config [--prefix [=DIR]] [--exec-prefix [=DIR]] [--version] [--api-version] [--use-gl] [--use-images] [--use-glut] [--cc] [--cxx] [--cflags] [--cxxflags] [--ldflags] [--ldstaticflags] [--libs] [-Dname [=value]] [-g] [--compile program.cxx]

Overview

fltk-config is a utility script that can be used to get information about the current version of FLTK that is installed on the system, what compiler and linker options to use when building FLTK-based applications, and to build simple FLTK applications.

The following options are supported:

--api-version

Displays the current FLTK API version number, e.g. "1.1".

--cc
--cxx

Displays the C/C++ compiler that was used to compile FLTK.

--cflags
--cxxflags

Displays the C/C++ compiler options to use when compiling source files that use FLTK.

--compile program.cxx

Compiles the source file program.cxx into program. This option implies "--post program".

-g

Enables debugging information when compiling with the --compile option.

--ldflags

Displays the linker options to use when linking a FLTK application.

--ldstaticflags

Displays the linker options to use when linking a FLTK application to the static FLTK libraries.

--libs

Displays the full path to the FLTK library files, to be used for dependency checking.

--use-gl

Enables OpenGL support.

--use-glut

Enables GLUT support.

--use-images

Enables image file support.

--version

Displays the current FLTK version number, e.g. "1.1.0".

Releases

12 releases since Debian 3.1 (Sarge); the text changed 3 times.

  1. 3.1
  2. 4.0
  3. 5.0–12
  4. 13–Arch

--cc since Debian 4.0 (Etch); --cxx since Debian 4.0 (Etch).

--post until Debian 4.0 (Etch).

Authors

Bill Spitzak and others.

From fltk 1.4.5-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.