File bug report with the wxhaskell maintainer. And ask them! :-)
L.S.,
When I compile an application against an experimental version of wxHaskell*, the application always ends with the message:
Segmentation fault/access violation in generated code
, unless I set the environment variable CPLUS_INCLUDE_PATH to
C:\Program Files\Haskell Platform\2013.2.0.0\mingw\lib\gcc\mingw32\4.5.2\include\c++\
, which is the same value as used when compiling wxHaskell.
If I copy the contents of C:\Programs\Haskell Platform\2013.2.0.0\ to some other location and let CPLUS_INCLUDE_PATH point to the new location of directory c++, the segmentation fault message reappears.
Why is this and how can create an application that also works on another computer?
Regards,
Henk-Jan van Tuyl
* wxHaskell is a binding to the wxWidgets GUI library, which is written in C++
--
Folding@home
What if you could share your unused computer power to help find a cure? In just 5 minutes you can join the world's biggest networked computer and get us closer sooner. Watch the video.
http://folding.stanford.edu/
http://Van.Tuyl.eu/
http://members.chello.nl/hjgtuyl/tourdemonad.html
Haskell programming
--
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe