
Hello, I'm attempting to use GTK+3 to create a Desktop, but I am having a problem installing all of the dependencies. I keep getting the following error: GUI cabal: version >=0.9.0 of pkg-config is required I am using Cygwin on a Windows 10 operating system. What is needed to fix this? Is this the best way to do a desktop GUI in Haskell? Thanks in advance and thank you for your time.

I wouldn't go that route on Windows. I would make my winapi lib wrapper,\and make standard Windows GUI. Perhaps someone did that already. Greets, Branimir. On 28.2.21. 1:41 пре подне, A. Mc. wrote:
Hello,
I'm attempting to use GTK+3 to create a Desktop, but I am having a problem installing all of the dependencies. I keep getting the following error: GUI cabal: version >=0.9.0 of pkg-config is required I am using Cygwin on a Windows 10 operating system. What is needed to fix this? Is this the best way to do a desktop GUI in Haskell? Thanks in advance and thank you for your time.
_______________________________________________ Haskell-Cafe mailing list To (un)subscribe, modify options or view archives go to: http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe Only members subscribed via the mailman list are allowed to post.

Hi A. Mc., Just in case it helps: Its perfectly fine to create a Haskell windows desktop application in Gtk. I've done it, and I deployed commercial desktop applications in the past (AFAIK, they were in production for over a decade without issues and they may still be used). Gtk has a mailing list that, as of last year, was still active: gtk2hs-users@lists.sourceforge.net. It's *very* low traffic. If installing or getting gtk to work gives you headaches, you may want to consider Wx. I had some issues last time I tried wx on mac (IIRC 2020), but those issues may no longer be there. If you have questions, feel free to drop me a line. I may not be able to spend time debugging low-level details, but I may be able to help if I hit the same roadblock. Cheers Ivan On Sat, 27 Feb 2021 at 20:08, Branimir Maksimovic < branimir.maksimovic@gmail.com> wrote:
I wouldn't go that route on Windows. I would make my winapi lib wrapper,\and make
standard Windows GUI. Perhaps someone did that already.
Greets, Branimir. On 28.2.21. 1:41 пре подне, A. Mc. wrote:
Hello,
I'm attempting to use GTK+3 to create a Desktop, but I am having a problem installing all of the dependencies. I keep getting the following error: GUI cabal: version >=0.9.0 of pkg-config is required I am using Cygwin on a Windows 10 operating system. What is needed to fix this? Is this the best way to do a desktop GUI in Haskell? Thanks in advance and thank you for your time.
_______________________________________________ Haskell-Cafe mailing list To (un)subscribe, modify options or view archives go to:http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe Only members subscribed via the mailman list are allowed to post.
_______________________________________________ Haskell-Cafe mailing list To (un)subscribe, modify options or view archives go to: http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe Only members subscribed via the mailman list are allowed to post.

On Sat, 27 Feb 2021, A. Mc. wrote:
I'm attempting to use GTK+3 to create a Desktop, but I am having a problem installing all of the dependencies. I keep getting the following error: GUI cabal: version >=0.9.0 of pkg-config is required
I understand this error message as: You need to install pkg-config first. pkg-config is the tool that manages path and versions of installed C libraries and Cabal uses it to query existence and compiler flags of installed C libraries.
I am using Cygwin on a Windows 10 operating system. What is needed to fix this? Is this the best way to do a desktop GUI in Haskell?
On Windows I used MSYS2 and this helped a lot to install components like pkg-config and other C libraries plus their interfaces.

This is not directly related but I once spent some time trying to satisfy pkg-config dependencies on Windows. This is what I ended up with: https://github.com/input-output-hk/cardano-node/blob/8bb0d2322d81bb9e73553f5... In particular you can install pkg-config with \`choco install pgkconfiglite\` using chocolatey package manager. Best regards, Marcin Szamotulski Sent from ProtonMail mobile \-------- Original Message -------- On 28 Feb 2021, 08:34, Henning Thielemann < lemming@henning-thielemann.de> wrote:
On Sat, 27 Feb 2021, A. Mc. wrote:
I'm attempting to use GTK+3 to create a Desktop, but I am having a problem installing all of the dependencies. I keep getting the following error: GUI cabal: version >=0.9.0 of pkg-config is required
I understand this error message as: You need to install pkg-config first. pkg-config is the tool that manages path and versions of installed C libraries and Cabal uses it to query existence and compiler flags of installed C libraries.
I am using Cygwin on a Windows 10 operating system. What is needed to fix this? Is this the best way to do a desktop GUI in Haskell?
On Windows I used MSYS2 and this helped a lot to install components like pkg-config and other C libraries plus their interfaces.\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ Haskell-Cafe mailing list To (un)subscribe, modify options or view archives go to: http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe Only members subscribed via the mailman list are allowed to post.

February 28, 2021 6:15 PM, coot@coot.me wrote:
In particular you can install pkg-config with `choco install pgkconfiglite` using chocolatey package manager.
I believe chocolatey can also install msys, and has support for telling cabal-install about it. If you haven't installed anything with chocolatey before, `choco install haskell-dev` should get you a GHC and MSYS, which should get you `pkg-config`. If you've installed cabal before msys, you will need to force a reinstall (so that it detects msys and configures itself accordingly). After installing msys (either directly or via `choco install haskell-dev`), run `choco install cabal -y --reinstall`. HTH, -- Jack
-------- Original Message -------- On 28 Feb 2021, 08:34, Henning Thielemann wrote:
On Sat, 27 Feb 2021, A. Mc. wrote:
I'm attempting to use GTK+3 to create a Desktop, but I am having a problem installing all of the dependencies. I keep getting the following error: GUI cabal: version >=0.9.0 of pkg-config is required
I understand this error message as: You need to install pkg-config first. pkg-config is the tool that manages path and versions of installed C libraries and Cabal uses it to query existence and compiler flags of installed C libraries.
I am using Cygwin on a Windows 10 operating system. What is needed to fix this? Is this the best way to do a desktop GUI in Haskell?
On Windows I used MSYS2 and this helped a lot to install components like pkg-config and other C libraries plus their interfaces._______________________________________________ Haskell-Cafe mailing list To (un)subscribe, modify options or view archives go to: http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe Only members subscribed via the mailman list are allowed to post.

On Sun, Feb 28, 2021 at 3:43 AM A. Mc. <47dragonfyre@gmail.com> wrote:
Hello,
I'm attempting to use GTK+3 to create a Desktop, but I am having a problem installing all of the dependencies. I keep getting the following error: GUI cabal: version >=0.9.0 of pkg-config is required
I am using Cygwin on a Windows 10 operating system. What is needed to fix this? Is this the best way to do a desktop GUI in Haskell?
Thanks in advance and thank you for your time. _______________________________________________ Haskell-Cafe mailing list To (un)subscribe, modify options or view archives go to: http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe Only members subscribed via the mailman list are allowed to post.
Haskell Stack comes with a MSYS environment, which can be used to install pkg-config and various dependencies.
participants (7)
-
A. Mc.
-
Branimir Maksimovic
-
coot@coot.me
-
Gleb Popov
-
Henning Thielemann
-
Ivan Perez
-
jack@jackkelly.name