[Haskell-cafe] Segmentation fault/access violation when CPLUS_INCLUDE_PATH not set correctly

Carter Schonwald carter.schonwald at gmail.com
Sat Dec 28 16:32:36 UTC 2013


File bug report with the wxhaskell maintainer.  And ask them! :-)

Cheers
-carter

On Saturday, December 28, 2013, Henk-Jan van Tuyl wrote:

>
> 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 at 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 at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20131228/d829f4c9/attachment.html>


More information about the Haskell-Cafe mailing list