SwiftGtk looks great! I've only just started to try it out, but so far it looks very useful and impressive!
The documentation at https://github.com/rhx/SwiftGtk implies that I can just add the SwiftGtk dependency to an existing project, then build as usual. But I've found that I can't do that and successfully build via swift build. On Ubuntu 17.04 that leads to this error:
Compile Swift Module 'GLib' (6 sources)
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "glib_bridging.h"
^
/home/adam/ythol/.build/checkouts/CGLib.git--785524013056038983/glib_bridging.h:196:10: error: 'glib-unix.h' file not found
So I think you should either (a) make it possible to build via swift build, or (b) update the doc to indicate that I need to copy various files from the SwiftHelloGTK project (build.sh, config.sh and so on) into my project.
SwiftGtk looks great! I've only just started to try it out, but so far it looks very useful and impressive!
The documentation at https://github.com/rhx/SwiftGtk implies that I can just add the SwiftGtk dependency to an existing project, then build as usual. But I've found that I can't do that and successfully build via
swift build. On Ubuntu 17.04 that leads to this error:So I think you should either (a) make it possible to build via
swift build, or (b) update the doc to indicate that I need to copy various files from the SwiftHelloGTK project (build.sh, config.sh and so on) into my project.