STR #3514

GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]

Return to Bugs & Features | Post Text | Post File | Prev | Next ]

STR #3514

Application:FLTK Library
Status:5 - New
Priority:4 - High, e.g. key functionality not working
Scope:2 - Specific to an operating system
Subsystem:Build Files
Summary:Bundled image libs on Linux are incompatible with Xft
Created By:AlbrechtS
Assigned To:AlbrechtS
Fix Version:Unassigned
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

Post File ]

No files

Trouble Report Comments:

Post Text ]
Name/Time/Date Text top right image
#1 AlbrechtS
03:00 Feb 28, 2019
Under Linux it is not possible to build any application with the bundled image libs with Xft because is linked to a shared version of libpng and indirectly to libz.

From my Ubuntu 18.04 system (edited to remove unnecessary details):

$ ldd /usr/lib/x86_64-linux-gnu/ | egrep 'jpeg|png|libz' => /usr/lib/x86_64-linux-gnu/ (0x00..) => /lib/x86_64-linux-gnu/ (0x00..)

One possible solution would be to disable --enable-localpng and --enable-localzlib configure switches and corresponding CMake options if FLTK is configured to use Xft (which is the default).
#2 AlbrechtS
03:04 Feb 28, 2019
For further information see the thread "Fl_Native_File_Chooser() crash with FLTK 1.4" in fltk.general:

and particularly Manolo's reply:
"OK. I can replicate what you report under Ubuntu with test/native-filechooser."

and follow-up's.
#3 djcj
12:00 Feb 28, 2019
Giving at least a warning in such a case would be nice.  
#4 AlbrechtS
02:25 Mar 03, 2019
Sure, that's the intention.  
bottom left image   bottom right image

Return to Bugs & Features | Post Text | Post File ]


Comments are owned by the poster. All other content is copyright 1998-2021 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to ''.