DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New] Link: http://www.fltk.org/str.php?L2632 Version: 1.3-current If you refer to the header file Fl_Export.H, you will see that FL_EXPORT is defined to 3 possible values: # if defined(FL_DLL) # ifdef FL_LIBRARY # define FL_EXPORT __declspec(dllexport) # else # define FL_EXPORT __declspec(dllimport) # endif /* FL_LIBRARY */ # else # define FL_EXPORT # endif /* FL_DLL */ The intent, then, is that if the BUILD defines FL_DLL and FL_LIBRARY, then FL_EXPORT will be set for building the DLL. If you set only FL_DLL then FL_EXPORT will be set for *using* the DLL, but FL_LIBRARY must *not* be defined in that case. Or you can set neither FL_DLL or FL_LIBRARY and in that case FL_EXPORT will have no value, and that is the "normal" mode for all general building - and may work for using the DLL too, of course. Is that not what you want? What values does your build set for FL_DLL and FL_LIBRARY ? It sounds to me like your build may be setting them inappropriately, as no one else is reporting issues with this. Well, not so far, anyway! Link: http://www.fltk.org/str.php?L2632 Version: 1.3-current _______________________________________________ fltk-bugs mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-bugs
