armdevvel / mxe-STATIC

MXE (M cross environment) (For ARM32 Windows development)
https://mxe.cc
Other
4 stars 2 forks source link

gtk3: glib-compile-resources not generated #6

Closed treeswift closed 2 years ago

treeswift commented 2 years ago

After a successful glib build (for both the host (x64) and the target (armv7) architectures), the following dangling symlink is generated:

.../mxe/usr/armv7-w64-mingw32/bin/glib-compile-resources -> .../mxe/usr/x86_64-pc-linux-gnu/bin/glib-compile-resources

Symlinking /usr/bin/glib-compile-resources (i.e. using the distro-provided version, 2.64.6 in my case) into both locations fixed the build for me, for now. However, AFAIU, the resource compiler needs to be generated by the host glib build rather than provided as an external dependency.

Maybe my trial and error builds somehow omitted this target (I can retry a clean build of host GLib if needed).

pahaze commented 2 years ago

Nah, you don't need to do a clean build unless you want to, but that was my fault IIRC. The whole --target and --host options still confuse me a bit.

pahaze commented 2 years ago

I'll try to check this out later today. I'm getting a new drive, more fun for ARM stuff.

pahaze commented 2 years ago

Fixed by using host version (GTK3 builds fine)