fltk-config --cxxflags in different linux distros

31 views
Skip to first unread message

Robert Arkiletian

unread,
Nov 29, 2025, 4:48:32 PMNov 29
to fltkg...@googlegroups.com
The python wrapper build script of FLTK calls "fltk-config --cxxflags"

Debian 13 output:

-I/usr/include/cairo -I/usr/include -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/pixman-1

Arch Linux output:

-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/build/fltk/src=/usr/src/debug/fltk -flto=auto -ffat-lto-objects -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT

Without those include directories that are in Debian, I am unable to build the python wrapper of FLTK for Arch Linux. So my question: Is this the responsibility of the Arch FLTK packager to add those directories in the output of "fltk-config --cxxflags" or is it my responsibility to add them in the build script for the python wrapper for Arch? 

imm

unread,
Nov 29, 2025, 6:09:38 PMNov 29
to General FLTK
Is this the fltk-config from a fltk tarball (and which version) or is it some distro provided version?

The output you show (particularly for the arch one) just looks a bit.... odd to me. And I know that in the past some distros have decided to "improve" our fltk-config; seldom in a good way!
--
Ian
From my Fairphone FP3

Robert Arkiletian

unread,
Nov 29, 2025, 6:28:27 PMNov 29
to fltk.general
They are both the linux distro packaged version of FLTK (not from source tarball). Arch Linux is version 1.4.4 and the Debian one is 1.4.3.
The package build script for FLTK for Arch is here


Robert Arkiletian

unread,
Nov 30, 2025, 12:56:34 PMNov 30
to fltk.general
Turns out there was no problem. I was using a derivative distro of Arch Linux which somehow managed to hang the build process of the python wrapper without the extra include directories. Using pure Arch Linux, there are no problems building the python wrapper. I apologize for posting this issue here. It had nothing to do with FLTK. 
 
Reply all
Reply to author
Forward
0 new messages