You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Probably not a major concern presently but it'd be nice to easily cross compile. Debian derived distros do not have an easy process as they do not have a mingw64-gtk-3.0 package. So perhaps this bundle can help streamline the process.
I did use it with the following flags to generate a statically linked binary, but fairly certain that I just abused the C compiler as I could not launch the binary in Wine.
I use Fedora myself and found cross compiling for Windows quite a pleasant experience. I do not currently have a Windows installation, so I could only test it using wine, but it seemed to work nicely (except for a few missing icons):
Not having the mingw64-gtk3 package might complicate things somewhat (as you have described). As I do not use a debian based system, I don't think that I can be of much help here. I would however welcome a pull request adding a document describing how it can be done, should you get it to work. I do however think that dynamic linking is the way to go here, primarily for licensing reasons related to the LGPL.
In general GTK (and therefore owlkettle) might not be the best choice for Windows/Cross-Platform development anyway, since (as far as I know), GTK does not adapt its theme correctly to the operating system and therefore looks somewhat out of place. If you still really wanted to target Windows using owlkettle, a better option might be to create a second widgets.nim file which targets a different backend (instead of GTK). Large parts of owlkettle are not inherently GTK specific and could therefore theoretically be reused. This is of course a lot of work, and currently not one of my personal interests/priorities.
TLDR: Even though cross-compiling owlkettle apps to Windows is not one of my personal aims, if you find a way to get it to work properly, I would accept a pull request which adds a docs/cross_compiling.md describing the process for Ubuntu/Debian and Fedora.
Probably not a major concern presently but it'd be nice to easily cross compile. Debian derived distros do not have an easy process as they do not have a
mingw64-gtk-3.0
package. So perhaps this bundle can help streamline the process.I did use it with the following flags to generate a statically linked binary, but fairly certain that I just abused the C compiler as I could not launch the binary in Wine.
The text was updated successfully, but these errors were encountered: