>
> So on Linux and MSWindows, please remove the "trick" as well as the =
> "static" keyword and let me know if this now works.=20
>
> Fl_Plugin should create this:
>
> // before even main() is called:
> Fl_Plugin: creating a plugin, class "fltk:device", name =
> "opengl.device.fltk.org"
> Fl_Plugin: creating a plugin manager for class "fltk:device"
> Fl_Plugin: adding plugin named "opengl.device.fltk.org" at 0x0x175314
> Fl_Plugin: deleting a plugin manager
>
> // as soon as the window is printed
> Fl_Plugin: creating a plugin manager for class "fltk:device"
> Fl_Plugin: returning plugin named "opengl.device.fltk.org": 0x0x175314
> Fl_Plugin: deleting a plugin manager
>
> // when quitting the app
> Fl_Plugin: deleting a plugin
>

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"
Fl_Plugin: creating a plugin manager for class "fltk:device"
Fl_Plugin: adding plugin named "opengl.device.fltk.org" at 0x004610B4
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
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
Fl_Plugin: deleting a plugin manager
Fl_Plugin: deleting a plugin

As you can guess, the GL stuff does not appear on paper.
Clearly, the problem is with returning plugin of zero value.

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

Reply via email to