On 18.03.2010, at 07:55, Matthias Melcher wrote: > > On 17.03.2010, at 23:20, manolo gouy wrote: >> I did a complete msys FLTK install. >> I removed the static keyword only and obtain this output: >> $ cube >> Fl_Plugin: creating a plugin, class "fltk:device", name >> "opengl.device.fltk.org" > ^^ this line means that the plugin class is instantiated. > >> Fl_Plugin: creating a plugin manager for class "fltk:device" >> Fl_Plugin: adding plugin named "opengl.device.fltk.org" at 0x004610B4 > ^^ this line registers the plugin with the application database > >> Fl_Plugin: deleting a plugin manager >> Fl_Plugin: creating a plugin manager for class "fltk:device" >> Fl_Plugin: returning plugin named "opengl.device.fltk.org": 0x00000000 > ^^ this line means that even though the plugin was registered, it now does > not find it anymore.
I can't reproduce this. Neither on Windows (MinGW/MSYS) nor on Linux. > So there must be an issue within the plugin code. I will try to get my hands > on a Linux machine Manolo wrote: msys (i.e. Windows/MinGW+MSYS). > and step through the lines with gdb. Probably not today though. ... if you can reproduce it. BTW: removing the static keyword *should* not have any influence on the static'ness of the plugin object, since it is outside of a function definition. The only difference should be the visibility outside of the object module. Thus, I can't imagine that *any* compiler/linker would make a difference there. <joke>Except maybe MS compilers, because they _must_ always do something different ;-) </joke> Albrecht _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
