Hi Dmitri,<br><br>I built gtk2hs on Windows with GHC 6.6.1 and gtk2hs-0.9.11. Here's are the steps that worked for me: (not sure I didn't missed some)<br><br>First you need to install a GTK+ development package for windows. I think mine comes from
<a href="http://gladewin32.sourceforge.net/modules/wfdownloads/">http://gladewin32.sourceforge.net/modules/wfdownloads/</a><br><br>Then you must have MSYS and MinGW installed on your computer. You'll find information on how to install this here:
<a href="http://hackage.haskell.org/trac/ghc/wiki/Building/Windows">http://hackage.haskell.org/trac/ghc/wiki/Building/Windows</a>.<br><br>Once you've installed that stuff you can start a MSYS shell. You'll need to set some environment variables for GTK (adapt to your path):
<br>
export GTK_BASEPATH=/c/GTK_2.0<br>
export GTK_CONFIG_PATH=/c/GTK_2.0/lib/pkgconfig<br>
<br>Cd to the gtk2hs source directory and type:<br>
./configure --prefix=/c/Progra~1/Haskell<br>make<br>make install<br><br>Hope this helps.<br><br>Good luck,<br><br>Olivier.<br><br><div><span class="gmail_quote">On 7/18/07, <b class="gmail_sendername">Dmitri O.Kondratiev
</b> <<a href="mailto:dokondr@gmail.com">dokondr@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><span class="q">
<br><div><span class="gmail_quote">On 7/17/07, <b class="gmail_sendername">Malte Milatz</b> <<a href="mailto:malte@gmx-topmail.de" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">malte@gmx-topmail.de
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Dmitri O.Kondratiev:<br>> It looks like Graphics.SOE does not anymore exist in GHC 6.6.1.<br>> Where one can get it or what to use instead of it?<br><br>You may try Gtk2Hs, which includes an implementation of SOE, called
<br>Graphics.SOE.Gtk. (It works independently of the actual Gtk API.) Use<br>then the darcs version, because I remember an SOE bug fixed since the<br>last release.<br><br>Malte<br><br></blockquote></div><br></span>Malte,
<br>
Thanks. The problem is that I need to run SOE on Win32. When I try to
run a simple SOE app. in GHCi with Gtk2Hs Win32 release, this code:<br>
<br>
module GWindow where<br>
import Graphics.SOE.Gtk<br>
<br>
<br>
main() =<br>
runGraphics (<br>
do w <- openWindow "Graphics Test" (300, 300)<br>
drawInWindow w (text (100, 200) "Hello Graphics World")<br>
k <- getKey w<br>
closeWindow w<br>
)<br><br><span class="gmail_quote">displays a window and hangs.<br>
<br>
I can get development release of </span>Gtk2Hs with darcs, but how can I build it on Win32?<br>
<br>
Dima<div><span class="e" id="q_113d98b1639046cb_2"><br>
<span class="gmail_quote"><br>
</span><br clear="all"><br>-- <br>Dmitri O. Kondratiev<br><a href="mailto:dokondr@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">dokondr@gmail.com</a><br><a href="http://www.geocities.com/dkondr" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.geocities.com/dkondr</a>
</span></div><br>_______________________________________________<br>Haskell-Cafe mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a>
<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br><br></blockquote></div>
<br>