Bug in gtkd?

Johnson Jones via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Aug 3 13:31:24 PDT 2017


On Thursday, 3 August 2017 at 15:11:46 UTC, Mike Wey wrote:
> On 03-08-17 05:00, Johnson Jones wrote:
>> On Wednesday, 2 August 2017 at 14:51:45 UTC, Mike Wey wrote:
>>> On 02-08-17 08:04, Johnson Jones wrote:
>>>> Ok, Using msys I was able to get glade 3.20 running. Maybe 
>>>> that will fix everything.
>>>
>>> Great, unfortunately "Use msys2" seems to be the official way 
>>> to install anything GTK related on windows.
>> 
>> ... Also, I cannot seem to load a jpg using an imageview
>> 
>> (test.exe:1628): Gtk-WARNING **: Could not load 
>> image 'a.jpg': Couldn't recognize the image file format for 
>> file 'a.jpg'
>> 
>> Just a normal jpg. Tried a bmp, same thing. It shows fine in 
>> glade itself.
>> 
>
> It looks like the pixbuf loaders are missing from the installer.

I tried to use the mingw version of gtk with no luck. It first 
looks in C:\MinGW even though I have MinGW installed somewhere 
else. Using a junction doesn't help becomes then it when it finds 
the dll it has missing symbols

"The Procedure Entry Point gdk_pixbuf_gettext could not be 
located in the dynamic link library 
C:\MinGW\lib\gdk-pix-buf-2.0\2.10.0\loaders\libpixbufloader-gdip-jpeg.dll".

I actually just copied over the loaders rather than using the 
full gtk mingw install because when I do that it complains about 
some lib??svg missing. I guess one can't mix mingw installs with 
non-mingw... but the gtk mingw install is incomplete too ;/

I hope this isn't going to be an on going thing... seems I've 
wasted quite a bit of time to try and get gdk to work. I probably 
could have written my own gui by now.


More information about the Digitalmars-d-learn mailing list