Re: [Haskell-cafe] Install GTK on Windows

2011-03-22 Thread Daniel Díaz
I have installed successfully the gtk package on Windows. GTK version: 2.16 gtk package version: 0.12.0 Haskell Platform version: 2010.2.0.0 I have detailed my steps (very similar to Mark Shroyer steps) here: http://deltadiaz.blogspot.com/2011/03/on-windows-how-to-install-gtk.html It seems

Re: [Haskell-cafe] Install GTK on Windows

2011-03-22 Thread Andy Stewart
Daniel Díaz danield...@asofilak.es writes: I have installed successfully the gtk package on Windows. GTK version: 2.16 gtk package version: 0.12.0 Haskell Platform version: 2010.2.0.0 I have detailed my steps (very similar to Mark Shroyer steps) here:

Re: [Haskell-cafe] Install GTK on Windows

2011-03-16 Thread José Pedro Magalhães
Thanks, that worked! First it was loading stuff from graphviz, and then from sysWOW64... now I finally run threadscope :-) Cheers, Pedro 2011/3/15 Ryan Yates fryguy...@gmail.com Hi Pedro, Perhaps the libglib-2.0.0.dll that is getting loaded is not the one you want. You should be able to

Re: [Haskell-cafe] Install GTK on Windows

2011-03-15 Thread José Pedro Magalhães
Hi all, I'd just like to add that I succeeded in building gtk2hs in Windows XP 64bit with GHC 7.0.2, using the 2.16 bundle from [1] and following the instructions in [2]. However, running the test program of [2] still fails at runtime with The procedure entry point g_assertion_message_expr could

Re: [Haskell-cafe] Install GTK on Windows

2011-03-15 Thread Ryan Yates
Hi Pedro, Perhaps the libglib-2.0.0.dll that is getting loaded is not the one you want. You should be able to use a tool like process explorer [1] to see which specific dlls are getting loaded when you run. Ryan [1] http://technet.microsoft.com/en-us/sysinternals/bb896653 2011/3/15 José Pedro

[Haskell-cafe] Install GTK on Windows

2011-02-25 Thread Daniel Díaz
Hi, cafe, I know this has been treated many times, but I've tried install GTK so hard without any success that I decided to ask for help. Firstly, I followed the instructions listed in HaskellWiki [1]. No results. Then, I followed the instruction from the Mark Shroyer blog [2]. No results. I

Re: [Haskell-cafe] Install GTK on Windows

2011-02-25 Thread Daniel Díaz
El Vie, 25 de Febrero de 2011, 2:34 pm, aditya siram escribió: Hi Daniel, What is the value of PATH, PKG_CONFIG_PATH and INCLUDE in the shell from which you are invoking cabal install ...? -deech PATH: C:\Archivos de programa\Haskell\bin C:\Archivos de programa\Haskell

Re: [Haskell-cafe] Install GTK on Windows

2011-02-25 Thread Andy Stewart
Hi Daniel, Gtk2hs site is down by move server, sadly. The document on http://www.haskell.org/haskellwiki/Gtk2Hs is wrong. http://markshroyer.com/2010/10/gtk2hs-on-windows/ is right. From your error, you missing C libraries that gtk2hs need, or you have install GTK+ C library, but gtk2hs can't

Re: [Haskell-cafe] Install GTK on Windows

2011-02-25 Thread aditya siram
Maybe it's erroring out because you have C:\gtk\bin and C:\Documents ...\gtk+bundle...\bin in the same path. You shouldn't need both. I also don't see any path that mentions the libxml libraries which you will eventually need. When I installed GTK on Windows 7 I also followed the blog post you

Re: [Haskell-cafe] Install GTK on Windows

2011-02-25 Thread Daniel Díaz
Thanks for the responses, but my error remains. I wrote two scripts, following both different instructions. Script 1: @echo off title GTK Haskell Setup echo * Add GTK bin folder. set PATH=%PATH%;C:\Documents and Settings\User\Escritorio\GTK\GTKAIO\bin echo * Add GTK include folder. set

Re: [Haskell-cafe] Install GTK on Windows

2011-02-25 Thread Ryan Yates
In my experience cross platform tools do not work in the presence of spaces in paths. Because of this when on Windows I have the habit of putting any cross platform libraries or tools in a non-spaced path. Another option could be to use the short path names when setting the PATH. GHC and cabal

Re: [Haskell-cafe] Install GTK on Windows

2011-02-25 Thread Daniel Díaz
El Vie, 25 de Febrero de 2011, 10:38 pm, Ryan Yates escribió: In my experience cross platform tools do not work in the presence of spaces in paths. Because of this when on Windows I have the habit of putting any cross platform libraries or tools in a non-spaced path. Another option could