[Haskell-cafe] Segmentation fault/access violation when CPLUS_INCLUDE_PATH not set correctly
Henk-Jan van Tuyl
hjgtuyl at chello.nl
Sat Dec 28 22:39:37 UTC 2013
OK, done that; I asked myself, but I didn't know the answer :-). The
problem is most likely not wxHaskell specific, but something related to
compiling/linking.
Regards,
Henk-Jan van Tuyl
On Sat, 28 Dec 2013 17:32:36 +0100, Carter Schonwald
<carter.schonwald at gmail.com> wrote:
> 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
--
More information about the Haskell-Cafe
mailing list