File bug report with the wxhaskell maintainer.  And ask them! :-)<div><br></div><div>Cheers</div><div>-carter<br><br>On Saturday, December 28, 2013, Henk-Jan van Tuyl  wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
L.S.,<br>
<br>
When I compile an application against an experimental version of wxHaskell*, the application always ends with the message:<br>
  Segmentation fault/access violation in generated code<br>
, unless I set the environment variable CPLUS_INCLUDE_PATH to<br>
  C:\Program Files\Haskell Platform\2013.2.0.0\mingw\lib\<u></u>gcc\mingw32\4.5.2\include\c++\<br>
, which is the same value as used when compiling wxHaskell.<br>
<br>
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.<br>
<br>
Why is this and how can create an application that also works on another computer?<br>
<br>
Regards,<br>
Henk-Jan van Tuyl<br>
<br>
<br>
* wxHaskell is a binding to the wxWidgets GUI library, which is written in C++<br>
<br>
<br>
-- <br>
Folding@home<br>
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.<br>
<a href="http://folding.stanford.edu/" target="_blank">http://folding.stanford.edu/</a><br>
<br>
<br>
<a href="http://Van.Tuyl.eu/" target="_blank">http://Van.Tuyl.eu/</a><br>
<a href="http://members.chello.nl/hjgtuyl/tourdemonad.html" target="_blank">http://members.chello.nl/<u></u>hjgtuyl/tourdemonad.html</a><br>
Haskell programming<br>
--<br>
______________________________<u></u>_________________<br>
Haskell-Cafe mailing list<br>
<a>Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/<u></u>mailman/listinfo/haskell-cafe</a><br>
</blockquote></div>