Hm.  The static initializers are problematic on Windows as well, which is
why I stayed with wxWindows-2.4.2.  Perhaps the same solution works on
Linux?

Does *anyone* have wxHaskell and ghci working together on Linux, without
having to restart ghci after each GUI?

  - Conal

On Dec 30, 2007 4:35 PM, Mads Lindstrøm <[EMAIL PROTECTED]> wrote:

> Hi Conal
>
> > I'm setting up a linux dev machine (ubuntu 7.10).  What do folks
> > recommend for wxWidgets and wxHaskell?  I like using wxHaskell in
> > ghci, in case that's a consideration on Linux as it is on Windows.
>
> I am afraid you will have to forget about wxhaskell, linux, and GHCi
> working together. When you have started a Wxhaskell app in GHCi once,
> you will have to restart GHCi before starting another Wxhaskell app. It
> is late and might remember wrongly, but I do believe it has something to
> do with GHCi not reinitializing C-libraries.
>
> I am running Debian, which is closely related to Ubuntu, and I am using
> the WxWidgets based on gtk2.6.3-0.10. But any Gtk2.6 will properly do.
>
> As far as I remember, you must also enable (not disable) opengl when
> compiling wxwidgets. Also this page
> http://wxhaskell.sourceforge.net/building.html says the same.
>
>
> Greetings,
>
> Mads
>
> >  Thanks,  - Conal
> >
> -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2005.
> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > _______________________________________________ wxhaskell-users mailing
> list wxhaskell-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wxhaskell-users
>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users

Reply via email to