OK, thanks, I set that variable as you suggested, but I still get the error
below:
[22 of 22] Compiling Graphics.UI.WXCore ( src\haskell\Graphics\UI\WXCore.hs,
dist\build\Graphics\UI\WXCore.o )
In file included from c:/wxWidgets-2.8.10/include/wx/memory.h:16,
from c:/wxWidgets-2.8.10/include/wx/object.h:20,
from c:/wxWidgets-2.8.10/include/wx/wx.h:16,
from src/include/wrapper.h:20,
from src\cpp\apppath.cpp:1:0:
c:/wxWidgets-2.8.10/include/wx/string.h:176:18: string: No such file or
directory
In file included from c:/wxWidgets-2.8.10/include/wx/memory.h:16,
from c:/wxWidgets-2.8.10/include/wx/object.h:20,
from c:/wxWidgets-2.8.10/include/wx/wx.h:16,
from src/include/wrapper.h:20,
from src\cpp\apppath.cpp:1:0:
c:/wxWidgets-2.8.10/include/wx/string.h:181: error: expected initializer
before "wxStdString"
c:/wxWidgets-2.8.10/include/wx/string.h:714: error: expected `,' or `...'
before '&' token
c:/wxWidgets-2.8.10/include/wx/string.h:715: error: ISO C++ forbids
declaration of `wxStdString' with no type
c:/wxWidgets-2.8.10/include/wx/string.h:715: error:
`wxString::wxString(int)' and `wxString::wxString(int)' cannot be overloaded
c:/wxWidgets-2.8.10/include/wx/string.h: In constructor
`wxString::wxString(int)':
c:/wxWidgets-2.8.10/include/wx/string.h:715: error: `s' was not declared in
this scope
cabal.exe: 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
I noticed that the directory 'c++' does not exist inside C:\MinGW\include.
>From what package would that come? I've
installed gcc-c++-4.4.0-mingw32-bin.tar.gz, but that doesn't contain an
'include' directory.
Thanks,
Lyle
On Fri, Nov 20, 2009 at 9:05 AM, Henk-Jan van Tuyl <hjgt...@chello.nl>wrote:
> On Fri, 20 Nov 2009 09:33:21 +0100, Lyle Kopnicky <li...@qseep.net> wrote:
>
> I am now getting pretty far through the cabal build (using
>> wxWidgets-2.8.10
>> and MinGW on Windows 7 64-bit), but am getting this error:
>>
>> [22 of 22] Compiling Graphics.UI.WXCore (
>> src\haskell\Graphics\UI\WXCore.hs,
>> dist\build\Graphics\UI\WXCore.o )
>> In file included from c:/wxWidgets-2.8.10/include/wx/memory.h:16,
>> from c:/wxWidgets-2.8.10/include/wx/object.h:20,
>> from c:/wxWidgets-2.8.10/include/wx/wx.h:16,
>> from src/include/wrapper.h:20,
>>
>> from src\cpp\apppath.cpp:1:0:
>> c:/wxWidgets-2.8.10/include/wx/string.h:176:18: string: No such file or
>> directory
>>
>
> The file "string" is a C++ include file that can be found using a seperate
> search path; as I wrote last Sunday to the wxHaskell users mailinglist:
> Set
> CPLUS_INCLUDE_PATH=C:\MinGW\include\c++\3.4.5;C:\MinGW\include\c++\3.4.5\mingw32\
> before
> cabal install wx
>
> Your path may of course be different. "Set" is an MS-DOS command; you don't
> need to start an MSYS shell to compile wxHaskell.
>
> --
> 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