在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):gtk2hs/gtk2hs开源软件地址(OpenSource Url):https://github.com/gtk2hs/gtk2hs开源编程语言(OpenSource Language):Haskell 93.3%开源软件介绍(OpenSource Introduction):Gtk2HsGtk2Hs is a GUI library for Haskell based on GTK+. GTK+ is an extensive and mature multi-platform toolkit for creating graphical user interfaces. For all new application development you should consider using haskell-gi as it has much more complete bindings. Cairo and WebKitGTK JavaScriptCore do not have GObject introspection data so you will still need to use the Gtk2Hs packages for those (even when using haskell-gi for everything else). Installing C librariesThe following commands will install most of the C libraries used by the Gtk2Hs and haskell-gi. Fedora
Ubuntu/Debian
Arch Linux
OS X MacPorts
You will also need to build a MacPorts compatible of GHC. First install GHC some other way then unpack the source for the GHC version you want to use and run:
Then make sure the OS X HomebrewUnlike MacPorts you will not need a custom build of GHC for homebrew since it uses the system
And if you got an error about that pkg-config can not find libffi when installing haskell-gi or something like that, you need
to find out where your brew installed libffi, and add the pkg_config(e.g. TIPS: If you installed GTK with homebrew, you do not need to install X11 on macOS. The one installed by brew was linked with GTK+'s Quartz backend, and you can use macOS's native display manager, keyboard, and pointing device. Windows MSYS2Install MSYS2 and Chocolatey. Then in a shell with administrator privileges:
Install Extra Tools
(make sure Building with stackWhile you currently cannot have the tools automatically installed with
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论