Describe the bug
I'm getting linking errors when I had build libfltk with "cmake -DOPTION_PRINT_SUPPORT=OFF":
/usr/bin/ld: /home/[...]/usr/lib/libfltk.a(Fl_Printer.cxx.o):(.data.rel.ro._ZTV25Fl_PostScript_File_Device[_ZTV25Fl_PostScript_File_Device]+0x10): undefined reference to `Fl_PostScript_File_Device::end_current()'
/usr/bin/ld: /home/[...]/usr/lib/libfltk.a(Fl_Printer.cxx.o):(.data.rel.ro._ZTV25Fl_PostScript_File_Device[_ZTV25Fl_PostScript_File_Device]+0x18): undefined reference to `Fl_PostScript_File_Device::set_current()'
collect2: error: ld returned 1 exit status
To Reproduce
I need to build fluid first since it requires print support and OpenGL.
After that I can build FLTK with most features disabled.
Expected behavior
Make it possible to build with "-DOPTION_PRINT_SUPPORT=OFF", since that is an option in cmake.
Screenshots
-
FLTK Version
1.4 master branch commit 7d7edcf
FLTK Configure / Build Options
CMAKE_BUILD_TYPE Release
CMAKE_INSTALL_PREFIX /home/[...]/usr
FLTK_BUILD_EXAMPLES OFF
FLTK_BUILD_FLTK_OPTIONS OFF
FLTK_BUILD_FLUID OFF
FLTK_BUILD_TEST OFF
FLUID_PATH /home/[...]/fluid
OPTION_ARCHFLAGS -O3
OPTION_BUILD_SHARED_LIBS OFF
OPTION_CAIRO OFF
OPTION_CAIROEXT OFF
OPTION_CREATE_LINKS OFF
OPTION_FILESYSTEM_SUPPORT OFF
OPTION_LARGE_FILE OFF
OPTION_OPTIM -O3
OPTION_PRINT_SUPPORT OFF
OPTION_USE_CAIRO OFF
OPTION_USE_GL OFF
OPTION_USE_KDIALOG OFF
OPTION_USE_PANGO OFF
OPTION_USE_SVG OFF
OPTION_USE_SYSTEM_LIBJPEG ON
OPTION_USE_SYSTEM_LIBPNG ON
OPTION_USE_SYSTEM_ZLIB ON
OPTION_USE_THREADS ON
OPTION_USE_XFT ON
OPTION_USE_XRENDER ON
Operating System / Platform:
Linux: Ubuntu 23.04
Linux/Unix Runtime, if applicable:
Additional context
-
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: <fltk/fltk/issues/734@github.com>
[ Direct Link to Message ] |