Hi Dmitri,<br><br>I built gtk2hs on Windows with GHC 6.6.1 and gtk2hs-0.9.11. Here&#39;s are the steps that worked for me: (not sure I didn&#39;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&#39;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&#39;ve installed that stuff you can start a MSYS shell. You&#39;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> &lt;<a href="mailto:dokondr@gmail.com">dokondr@gmail.com</a>&gt; 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> &lt;<a href="mailto:malte@gmx-topmail.de" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">malte@gmx-topmail.de
</a>&gt; 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>&gt; It looks like Graphics.SOE does not anymore exist&nbsp;&nbsp;in GHC&nbsp;&nbsp;6.6.1.<br>&gt; Where one can get it or what to use&nbsp;&nbsp;instead of it?<br><br>You may try Gtk2Hs, which includes an implementation of SOE, called
<br>Graphics.SOE.Gtk.&nbsp;&nbsp;(It works independently of the actual Gtk API.)&nbsp;&nbsp;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.&nbsp; 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>
&nbsp;&nbsp;&nbsp; runGraphics (<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; do w &lt;- openWindow &quot;Graphics Test&quot; (300, 300)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; drawInWindow w (text (100, 200) &quot;Hello Graphics World&quot;)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; k &lt;- getKey w<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; closeWindow w<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; )<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>