L.S.,

I am trying to install wxHaskell on a Windows system and get the following  
error messages, how
do I solve this?

> cabal install wx
:
:
[22 of 22] Compiling Graphics.UI.WXCore (  
src\haskell\Graphics\UI\WXCore.hs, dist\build\Graphics\UI\WXCore.o )
In file included from C:/usr/x/Haskell/wxMSW-2.8.10/include/wx/memory.h:16,
                  from C:/usr/x/Haskell/wxMSW-2.8.10/include/wx/object.h:20,
                  from C:/usr/x/Haskell/wxMSW-2.8.10/include/wx/wx.h:16,
                  from src/include/wrapper.h:20,

                  from src\cpp\apppath.cpp:1:0:
C:/usr/x/Haskell/wxMSW-2.8.10/include/wx/string.h:176:18: string: No such  
file or directory
In file included from C:/usr/x/Haskell/wxMSW-2.8.10/include/wx/memory.h:16,
                  from C:/usr/x/Haskell/wxMSW-2.8.10/include/wx/object.h:20,
                  from C:/usr/x/Haskell/wxMSW-2.8.10/include/wx/wx.h:16,
                  from src/include/wrapper.h:20,

                  from src\cpp\apppath.cpp:1:0:
C:/usr/x/Haskell/wxMSW-2.8.10/include/wx/string.h:181: error: expected  
initializer before "wxStdString"
C:/usr/x/Haskell/wxMSW-2.8.10/include/wx/string.h:714: error: expected `,'  
or `...' before '&' token
C:/usr/x/Haskell/wxMSW-2.8.10/include/wx/string.h:715: error: ISO C++  
forbids declaration of `wxStdString' with no type
C:/usr/x/Haskell/wxMSW-2.8.10/include/wx/string.h:715: error:  
`wxString::wxString(int)' and `wxString::wxString(int)' cannot be  
overloaded
C:/usr/x/Haskell/wxMSW-2.8.10/include/wx/string.h: In constructor  
`wxString::wxString(int)':
C:/usr/x/Haskell/wxMSW-2.8.10/include/wx/string.h:715: error: `s' was not  
declared in this scope
cabal: Error: some packages failed to install:
wx-0.12.1.2 depends on wxcore-0.12.1.2 which failed to install.
wxcore-0.12.1.2 failed during the building phase. The exception was:
exit: ExitFailure 1




Regards,
Henk-Jan van Tuyl


--
http://Van.Tuyl.eu/
http://members.chello.nl/hjgtuyl/tourdemonad.html
--

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users

Reply via email to