Can't build it
Closed this issue · 1 comments
Deleted user commented
When I execute ./build.sh
:
./build.sh
Cloning https://github.com/rhx/SwiftGtk.git
HEAD is now at 64d5474 Add convenience methods for text views and text buffers
Resolved version: 3.18.0
Cloning https://github.com/rhx/CGtk.git
HEAD is now at 91228fb Add types from gtk+-3.20
Resolved version: 1.0.7
Cloning https://github.com/rhx/SwiftGdk.git
HEAD is now at ba73d61 Run clean.sh from distclean.sh
Resolved version: 3.18.0
Cloning https://github.com/rhx/CGdk.git
HEAD is now at b70871e Link against gdk-3 rather than 3.0
Resolved version: 1.0.2
Cloning https://github.com/rhx/SwiftGdkPixbuf.git
HEAD is now at 26fda9b Ignore signal and property associated types for global type aliases
Resolved version: 2.46.0
Cloning https://github.com/rhx/CGdkPixbuf.git
HEAD is now at 739a1ab Add empty, private structs so they get properly exported to Swift
Resolved version: 1.0.0
Cloning https://github.com/rhx/SwiftGIO.git
HEAD is now at b3105eb Ignore signal and property associated types for global type aliases
Resolved version: 2.46.0
Cloning https://github.com/rhx/SwiftGObject.git
HEAD is now at 666c71a Remove hard-coded PATH
Resolved version: 2.46.0
Cloning https://github.com/rhx/SwiftGLib.git
HEAD is now at 1192855 Remove hard-coded PATH
Resolved version: 2.46.0
Cloning https://github.com/rhx/CGLib.git
HEAD is now at 9c610fd Enable [swift_infer_import_as_member]
Resolved version: 1.0.12
Cloning https://github.com/rhx/SwiftGModule.git
HEAD is now at d2cdf8b Ignore signal and property associated types for global type aliases
Resolved version: 2.46.0
Cloning https://github.com/rhx/SwiftPangoCairo.git
HEAD is now at 81915d0 Run clean.sh from distclean.sh
Resolved version: 2.46.0
Cloning https://github.com/rhx/SwiftCairo.git
HEAD is now at 90d67ce Ignore signal and property associated types for global type aliases
Resolved version: 2.46.0
Cloning https://github.com/rhx/CCairo.git
HEAD is now at bd6ba57 Fix cairo library name
Resolved version: 1.0.2
Cloning https://github.com/rhx/SwiftPango.git
HEAD is now at 737985e Run clean.sh from distclean.sh
Resolved version: 2.46.0
Cloning https://github.com/rhx/CPango.git
HEAD is now at 803b906 Fix cairo library name
Resolved version: 1.0.2
Cloning https://github.com/rhx/SwiftAtk.git
HEAD is now at 8bcd126 Run clean.sh from distclean.sh
Resolved version: 2.46.0
Cloning https://github.com/rhx/CAtk.git
HEAD is now at 694cbaa Add private structs so that public types get exported to Swift
Resolved version: 1.0.0
Generate Swift Wrapper for Atk-2.46.0
./gir-to-swift.sh: 24: ./gir-to-swift.sh: gir2swift: not found
Generate Swift Wrapper for Cairo-2.46.0
*** does not exist!
Make sure libgirepository1.0-dev is installed
and can be found in /usr /usr/local or by pkg-config!
Generate Swift Wrapper for GIO-2.46.0
*** does not exist!
Make sure libgirepository1.0-dev is installed
and can be found in /usr /usr/local or by pkg-config!
Generate Swift Wrapper for GLib-2.46.0
*** does not exist!
Make sure libgirepository1.0-dev is installed
and can be found in /usr /usr/local or by pkg-config!
Generate Swift Wrapper for GModule-2.46.0
*** does not exist!
Make sure libgirepository1.0-dev is installed
and can be found in /usr /usr/local or by pkg-config!
Generate Swift Wrapper for GObject-2.46.0
*** does not exist!
Make sure libgirepository1.0-dev is installed
and can be found in /usr /usr/local or by pkg-config!
Generate Swift Wrapper for Gdk-3.18.0
./gir-to-swift.sh: 24: ./gir-to-swift.sh: gir2swift: not found
Generate Swift Wrapper for GdkPixbuf-2.46.0
./gir-to-swift.sh: 24: ./gir-to-swift.sh: gir2swift: not found
Generate Swift Wrapper for Gtk-3.18.0
./gir-to-swift.sh: 24: ./gir-to-swift.sh: gir2swift: not found
Generate Swift Wrapper for Pango-2.46.0
./gir-to-swift.sh: 24: ./gir-to-swift.sh: gir2swift: not found
Generate Swift Wrapper for PangoCairo-2.46.0
./gir-to-swift.sh: 24: ./gir-to-swift.sh: gir2swift: not found
error: noModules(GModule)
Ubuntu 16.04 with Swift 3.0 Preview 2, libgtk-3-dev
is installed, maybe I miss something else?
Thanks!
rhx commented
You need to build gir2swift (see https://github.com/rhx/gir2swift) first and put it somewhere in your PATH so it can be found. At the moment, this is in a very early pre-alpha stage, so the generated code will still change a lot (particularly in light of the source-breaking changes coming up in Swift beta 3).