Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gdk-pixbuf2 cannot find -lstaticpixbufloader-gdiplus #4726

Closed
StuartWhelan opened this issue Dec 1, 2018 · 1 comment
Closed

gdk-pixbuf2 cannot find -lstaticpixbufloader-gdiplus #4726

StuartWhelan opened this issue Dec 1, 2018 · 1 comment

Comments

@StuartWhelan
Copy link

StuartWhelan commented Dec 1, 2018

I installed a new version of msys2 on 64bit Windows 10 (1803) to build a gtk3 application.

I had the gdk-pixbuf2 2.38.0-1 package installed.

When I compiled I received:

gcc -o gtk3.exe gtk3.c $(pkg-config --cflags --libs gtk+-3.0) /usr/lib/gcc/x86_64-pc-msys/7.3.0/../../../../x86_64-pc-msys/bin/ld: cannot find -lstaticpixbufloader-gdiplus

I could not find any reference to a library called staticpixbufloader anyone on my pc.

I downgraded to gdk-pixbuf2 2.36.9-1 and was able to compile and run successfully.

I can see that https://gitlab.gnome.org/GNOME/gdk-pixbuf/blob/gdk-pixbuf-2-36/gdk-pixbuf/meson.build#L107 contains a reference to this library

@lazka
Copy link
Member

lazka commented Dec 2, 2018

Thanks, that's mesonbuild/meson#3939. We'll need to patch the .pc file to remove staticpixbufloader for now (you can do that too in the meantime)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants