On Wed, 27 Aug 2014 20:40:20 +0200, S D Swierstra <doaitse.swiers...@gmail.com> wrote:
> I installed the new wxWidgets on my MacBook, and then tried to install > wx: : > ... > Configuring wxc-0.91.0.0... > Configuring wxc to build against wxWidgets 3.0.1.0 > > Building wxc > /usr/bin/gcc -Isrc/include -I/usr/local/include/wx-3.0 > -I/usr/local/lib/wx/include/osx_cocoa-unicode-3.0 -D__WXOSX_COCOA__ > -D__WXOSX__ -D__WXMAC__ -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 > -DwxcREFUSE_MEDIACTRL -fPIC -c src/cpp/apppath.cpp -o > dist/build/src/cpp/apppath.o > In file included from src/cpp/apppath.cpp:1: > In file included from src/include/wrapper.h:20: > In file included from /usr/local/include/wx-3.0/wx/wx.h:15: > In file included from /usr/local/include/wx-3.0/wx/object.h:19: > In file included from /usr/local/include/wx-3.0/wx/memory.h:15: > In file included from /usr/local/include/wx-3.0/wx/string.h:46: > /usr/local/include/wx-3.0/wx/strvararg.h:30:18: fatal error: > 'tr1/type_traits' file not found > #include <tr1/type_traits> > ^ > 1 error generated. > Updating documentation index > /Users/doaitse/Library/Haskell/share/doc/index.html > > Any idea how to proceed? > > Doaitse The file that is not found is a C++ header file, I use on my Windows system the command: Set CPLUS_INCLUDE_PATH=%HASKELL_COMPILER_DIR%\mingw\lib\gcc\mingw32\4.5.2\include\c++ so that the compiler can find the C++ header files (note that the GCC version differs depending on the version and bitness of GHC). Henk-Jan -- 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 -- ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ _______________________________________________ wxhaskell-users mailing list wxhaskell-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-users