GNOME Bugzilla – Bug 341549
Build dia on win32 using mingw
Last modified: 2019-03-20 11:24:52 UTC
The ability to build dia on win32 using msys/mingw would be great.
Created attachment 65323 [details] [review] dia-win32-mingw.diff Some work towards fixing this bug. It builds but doesn't run, supposedly the reason is that for plugins only .a and .la files are built, no dlls (so it doesn't find the standard objects and aborts). Also "make install" needs to be fixed so everything ends up in the correct place (e.g. libdia.dll in $prefix/bin). Finally i had to get winspool.dll to build the win32 printing code (e.g. from http://www.dll-files.com/dllindex/dll-files.shtml?winspool )
Created attachment 65783 [details] [review] dia-win32-mingw-02.diff Most stuff works now, remaining problems: + "locale" and "help" don't end up in the correct prefix for the win32 dist + Linking of dia.exe aborts with an error but the actual executable is created. Use "-k" for building and installing if it happens (might be cause by libtool-cache).
Sorry, I thought I had commented on this long time ago. Adding this patch is fine with although I only got a working mingw installation on windowze once, and was never able to reproduce. But I can ckeck the interference of this stuff on Linux and with the msvc build. Unfortuneatly it seems to bit bit-rotten now.
adjusting severity
I think this issue should be closed since we've just moved to Meson over on gitlab: https://gitlab.gnome.org/GNOME/dia/merge_requests/14 Therefore currently the only supported way to build on Windows is using msys/mingw.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/dia/issues/164.