I tried to use a FileChooser widget, but get a compile error inside FLTK:

                 from Src/fltk_cde.c:27:
fltk/FL/fl_ask.H: At global scope:
fltk/FL/fl_ask.H:60: error: expected ‘,’ or ‘...’ before numeric 
constant
fltk/FL/fl_ask.H:60: error: args to be formatted is not ‘...’

Since I can compile FLTK itself without a problem, there must be something 
missing in my Makefile :
----------------------------------------------------------------
#
includes   = -Iinclude  -Ifltk
libdirs    = -L/usr/lib -Lfltk/lib -Lfltk
defines     = -DWIN32 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
# window libs
wlibs       = -lole32 -luuid -lcomctl32  -lwsock32
# linux libs
xlibs64     = -L/usr/X11R6/lib64 -lX11 -lpthread -lXft
xlibs       = -L/usr/X11R6/lib   -lX11 -lpthread
#
#fltklib     = -lfltk_forms -lfltk_images -lfltk_jpeg -lfltk_png -lfltk_z -lfltk
fltklib     = -lfltk_forms -lfltk_images   -lfltk
#

lin   :
        g++ -Wall  -std=c++98 -O3 -o emulith $(libdirs) $(includes) $(files) 
$(fltklib) $(xlibs)
 -----------------------------------------

But I am at a loss as to where I should look....
Any pointers as to what is missing ?


_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to