|
|
On Monday, May 17, 2021 at 1:46:48 PM UTC-7 Ian MacArthur wrote:
I tested on Ubuntu (which is also debian) so I guess it’s not that.
My best guess would be some headers weirdness, though I do not know what.
At the top of the file I posted those snippets form, I have... (edited to remove the WIN32 and OSX portions)
// FLTK headers
#include <FL/Fl.H>
#include <FL/Fl_Double_Window.H>
#include <FL/Fl_Scroll.H>
#include <FL/Fl_Sys_Menu_Bar.H>
#include <FL/Fl_Button.H>
#include <FL/Fl_Progress.H>
#include <FL/Fl_Group.H>
#include <FL/Fl_Native_File_Chooser.H>
#include <FL/Fl_Preferences.H>
#include <FL/x.H>
<snip>
# include <X11/xpm.h>
# include "media/fn5x64.xpm"
And after that XpmCreatePixmapFromData() seems to be happily visible...
Hi again Ian,
Just letting everyone know -- I resolved this issue by moving the #include <X11/xpm.h> to above the various FL includes, then it compile fine. Ugh, the joys of preprocessing directives! :-P
Thanks so much for your time and help Ian! :-)
Will Brokenbourgh
--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/912fab09-b30d-4189-b95b-919e3b49b12fn%40googlegroups.com.
[ Direct Link to Message ] | |
|
| |