It would be nice if the problem in the message at the end was reported on the wxHaskell wiki, since I spent a lot of time trying to cure this error message, only to find that it is not curable by me.
So I compiled my example program with ghc instead of ghci. The program runs, but displays an error message and tells us: loeki:Opgave doaitse$ ghc --make Turtle.hs [1 of 1] Compiling Main ( Turtle.hs, Turtle.o ) Linking Turtle ... loeki:Opgave doaitse$ ls EnableGUI.hs Origineel Turtle.hi Turtle.hs~ Turtle.pdf ghc-small Opnieuw.bat Turtle Turtle.hs Turtle.o editor start.bat loeki:Opgave doaitse$ ./Turtle 13:20:56: Debug: wxColour::Set - couldn't set to colour string 'GREY' [Debug] 13:20:56: Adding duplicate image handler for 'PNG file' [Debug] 13:20:56: Adding duplicate image handler for 'JPEG file' [Debug] 13:20:56: Adding duplicate image handler for 'TIFF file' [Debug] 13:20:56: Adding duplicate image handler for 'GIF file' [Debug] 13:20:56: Adding duplicate image handler for 'PNM file' [Debug] 13:20:56: Adding duplicate image handler for 'PCX file' [Debug] 13:20:56: Adding duplicate image handler for 'Windows icon file' [Debug] 13:20:56: Adding duplicate image handler for 'Windows cursor file' [Debug] 13:20:56: Adding duplicate image handler for 'Windows animated cursor file' [Debug] 13:20:56: Adding duplicate image handler for 'TGA file' [Debug] 13:20:56: Adding duplicate image handler for 'XPM file' [Debug] 13:20:57: ../src/common/event.cpp(1389): assert "m_dynamicEvents" failed in SearchDynamicEventTable(): caller should check that we have dynamic events (see attachment for error message on screen) Any idea what to do about this (I installed wxWidgets through macports) Doaitse On 25 feb 2010, at 11:34, Jeremy O'Donoghue wrote: > Hi Robert, > > This is really a GHC bug (see > http://sourceforge.net/mailarchive/forum.php?thread_name=20100127213837.GA234%40dewdrop.local&forum_name=wxhaskell-devel > for details), but it is something we will have to fix in wxHaskell since > I think the prospect of a fix in GHC is a long way off (it requires > moving GHC onto a very new MinGW base for compiler etc.). > > It is a high priority item for me in wxHaskell terms, but since > wxHaskell is a leisure-time project for me, I don't get very much time > to work on it. However, rest assured that it is being looked at. > > Best regards > Jeremy > > On Wed, 24 Feb 2010 19:45 +0000, "Robert Rothenberg" <rob...@gmail.com> > wrote: >> I installed wxHaskell using cabal. Running ghci -package wx >> BouncingBalls.hs gives me: >> GHCi, version 6.10.4: http://www.haskell.org/ghc/ :? for help >> Loading package ghc-prim ... linking ... done. >> Loading package integer ... linking ... done. >> Loading package base ... linking ... done. >> Loading package syb ... linking ... done. >> Loading package base-3.0.3.1 ... linking ... done. >> Loading package array-0.2.0.0 ... linking ... done. >> Loading package stm-2.1.1.2 ... linking ... done. >> Loading package bytestring-0.9.1.4 ... linking ... done. >> Loading package containers-0.2.0.1 ... linking ... done. >> Loading package filepath-1.1.0.2 ... linking ... done. >> Loading package old-locale-1.0.0.1 ... linking ... done. >> Loading package old-time-1.0.0.2 ... linking ... done. >> Loading package unix-2.3.2.0 ... linking ... done. >> Loading package directory-1.0.0.3 ... linking ... done. >> Loading package parsec-2.1.0.1 ... linking ... done. >> Loading package time-1.1.2.4 ... linking ... done. >> Loading package wxdirect-0.12.1.1 ... linking ... done. >> Loading package wxcore-0.12.1.2 ... <command line>: can't load >> .so/.DLL for: stdc++ (libstdc++.so: cannot open shared object file: No >> such file or directory) >> >> stdc++ library is installed. >> >> ------------------------------------------------------------------------------ >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> wxhaskell-users mailing list >> wxhaskell-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wxhaskell-users >> > -- > Jeremy O'Donoghue > jeremy.odonog...@gmail.com > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > wxhaskell-users mailing list > wxhaskell-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wxhaskell-users
<<inline: Screen shot 2010-09-09 at 13.21.12.png>>
------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________ wxhaskell-users mailing list wxhaskell-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-users