Ok, I did that. However, I still (not surprisingly) get the other error 
messages:

> src/include/wrapper.h:350:0:
>      error: invalid cast from type ‘wxCStrData’ to type ‘void*’
> src/include/wrapper.h: In member function ‘virtual wxChar* 
> ELJConnection::OnRequest(const wxString&, const wxString&, int*, 
> wxIPCFormat)’:
> 
> src/include/wrapper.h:356:0:
>      error: invalid cast from type ‘wxCStrData’ to type ‘void*’
> 
> src/include/wrapper.h:356:0:
>      error: invalid cast from type ‘wxCStrData’ to type ‘void*’
> src/include/wrapper.h: In member function ‘virtual bool 
> ELJConnection::OnPoke(const wxString&, const wxString&, wxChar*, int, 
> wxIPCFormat)’:
> 
> src/include/wrapper.h:363:0:
>      error: invalid cast from type ‘wxCStrData’ to type ‘void*’
> 
> src/include/wrapper.h:363:0:
>      error: invalid cast from type ‘wxCStrData’ to type ‘void*’
> src/include/wrapper.h: In member function ‘virtual bool 
> ELJConnection::OnStartAdvise(const wxString&, const wxString&)’:
> 
> src/include/wrapper.h:367:0:
>      error: invalid cast from type ‘wxCStrData’ to type ‘void*’
> 
> src/include/wrapper.h:367:0:
>      error: invalid cast from type ‘wxCStrData’ to type ‘void*’
> src/include/wrapper.h: In member function ‘virtual bool 
> ELJConnection::OnStopAdvise(const wxString&, const wxString&)’:
> 
> src/include/wrapper.h:371:0:
>      error: invalid cast from type ‘wxCStrData’ to type ‘void*’
> 
> src/include/wrapper.h:371:0:
>      error: invalid cast from type ‘wxCStrData’ to type ‘void*’
> src/include/wrapper.h: In member function ‘virtual bool 
> ELJConnection::OnAdvise(const wxString&, const wxString&, char*, int, 
> wxIPCFormat)’:
> 
> src/include/wrapper.h:378:0:
>      error: invalid cast from type ‘wxCStrData’ to type ‘void*’
> 
> src/include/wrapper.h:378:0:
>      error: invalid cast from type ‘wxCStrData’ to type ‘void*’

It seems like a lot of the same type of error. Is this also already fixed or 
has it something to do with 2.9?

- Alessandro
On 2 nov. 2011, at 22:50, Dave Tapley wrote:

> Interesting, it looks like this was fixed at some point, but the fix
> never made it in to a release on hackage.
> 
> You'll need to either remove, or more correctly #if out this line:
> #include "wx/tabctrl.h"
> 
> As shown in here:
> http://code.haskell.org/wxhaskell/wxcore/src/include/wrapper.h
> 
> Perhaps someone on this list can get that fix in to hackage?
> 
> Dave,
> 
> 
> On 2 November 2011 19:00, Alessandro Vermeulen
> <a.vermeu...@students.uu.nl> wrote:
>> Dear developers,
>> When building wx-core-0.12.1.7 I get the following error(s):
>> 
>> src/include/wrapper.h:24:24:
>>      error: wx/tabctrl.h: No such file or directory
>> In file included from src/cpp/apppath.cpp:1:0:
>> src/include/wrapper.h: In member function ‘virtual bool
>> ELJConnection::OnExecute(const wxString&, char*, int, wxIPCFormat)’:
>> src/include/wrapper.h:348:0:
>>      error: invalid cast from type ‘wxCStrData’ to type ‘void*’
>> src/include/wrapper.h: In member function ‘virtual wxChar*
>> ELJConnection::OnRequest(const wxString&, const wxString&, int*,
>> wxIPCFormat)’:
>> src/include/wrapper.h:354:0:
>>      error: invalid cast from type ‘wxCStrData’ to type ‘void*’
>> src/include/wrapper.h:354:0:
>>      error: invalid cast from type ‘wxCStrData’ to type ‘void*’
>> src/include/wrapper.h: In member function ‘virtual bool
>> ELJConnection::OnPoke(const wxString&, const wxString&, wxChar*, int,
>> wxIPCFormat)’:
>> src/include/wrapper.h:361:0:
>>      error: invalid cast from type ‘wxCStrData’ to type ‘void*’
>> src/include/wrapper.h:361:0:
>>      error: invalid cast from type ‘wxCStrData’ to type ‘void*’
>> src/include/wrapper.h: In member function ‘virtual bool
>> ELJConnection::OnStartAdvise(const wxString&, const wxString&)’:
>> src/include/wrapper.h:365:0:
>>      error: invalid cast from type ‘wxCStrData’ to type ‘void*’
>> src/include/wrapper.h:365:0:
>>      error: invalid cast from type ‘wxCStrData’ to type ‘void*’
>> src/include/wrapper.h: In member function ‘virtual bool
>> ELJConnection::OnStopAdvise(const wxString&, const wxString&)’:
>> src/include/wrapper.h:369:0:
>>      error: invalid cast from type ‘wxCStrData’ to type ‘void*’
>> src/include/wrapper.h:369:0:
>>      error: invalid cast from type ‘wxCStrData’ to type ‘void*’
>> src/include/wrapper.h: In member function ‘virtual bool
>> ELJConnection::OnAdvise(const wxString&, const wxString&, char*, int,
>> wxIPCFormat)’:
>> src/include/wrapper.h:376:0:
>>      error: invalid cast from type ‘wxCStrData’ to type ‘void*’
>> src/include/wrapper.h:376:0:
>>      error: invalid cast from type ‘wxCStrData’ to type ‘void*’
>> 
>> Environment:
>> GHC 7.0.3 64 Bit
>> OS X 10.7.2 (Lion)
>> wxWidgets 2.9.2 source install with Cocoa.
>> 
>> gcc --version
>> 
>>                                                (19:51:53 02-11)
>> i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1
>> 
>> How can I fix this?
>> Kind regards,
>> Alessandro
>> ------------------------------------------------------------------------------
>> RSA(R) Conference 2012
>> Save $700 by Nov 18
>> Register now
>> http://p.sf.net/sfu/rsa-sfdev2dev1
>> _______________________________________________
>> wxhaskell-devel mailing list
>> wxhaskell-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel
>> 
>> 

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
wxhaskell-devel mailing list
wxhaskell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel

Reply via email to