Albrecht Schlosser wrote:
> On 18.03.2010, at 08:55, manolo gouy wrote:
>> I doubt the problem comes from my removing of the Fl_Gl_Printer class.
>> The thing is linked in:
>> Fl_Plugin: adding plugin named "opengl.device.fltk.org" at 0x004610B4
>> the problem is that it is lost afterwards:
>> Fl_Plugin: returning plugin named "opengl.device.fltk.org": 0x00000000
>>
>> Also the same code compiled with gcc cross-compiler/cross-linker works,
>> whereas it fails with gcc on msys+mingw+XP.
>> There is probably a very subtle bug in the plugin code.
>
> Yes, maybe we are both right, and there are two problems.
[...]
> ... that doesn't explain the effect that you see (and that I can't
> reproduce here at home). Maybe this is the second problem, and we
> both (me: in my office sytem) have another MinGW version than my
> home versions here. I'll try later in the office, if this is another
> version and if the problem still manifests there.
Yep, it does. I can reproduce it on my office PC.
> To start with version comparing: My home systems have both
>
> mingw-runtime 3.17-1
Office:
mingw-runtime 3.15.1-1
To be precise: these are the installed versions in the *Cygwin*
development environment.
> MinGW says:
>
> $ uname -a
> MINGW32_NT-5.1 PC 1.0.11(0.46/3/2) 2009-07-11 17:46 i686 Msys
>
> The installed MinGW/MSYS versions are from:
>
> MinGW-5.1.6.exe
> MSYS-1.0.11.exe
I have the same versions installed on the office pc. In the MinGW
environment, there is also mingw-runtime 3.17, and it works all
okay. Is it maybe a problem of the mingw runtime (3.15.1) ???
Output from test/cube:
(1) Cygwin with mingw-runtime 3.15:
$ test/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 0x004660B0
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
(2) MinGW with mingw-runtime 3.17:
$ test/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 0x004620B0
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": 0x004620B0
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": 0x004620B0
Fl_Plugin: deleting a plugin manager
Fl_Plugin: deleting a plugin
Ooooohhh...
Manolo, which runtime version do you have? This is from my MinGW system:
$ grep '^#define.*__MINGW32_' /mingw/include/_mingw.h
#define __MINGW32_VERSION 3.17
#define __MINGW32_MAJOR_VERSION 3
#define __MINGW32_MINOR_VERSION 17
#define __MINGW32_PATCHLEVEL 0
Albrecht
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev