Thanks shelarcy. I have followed these suggestions but I get exactly  
the same error when building wxHaskell from darcs. Should I use the  
patched wxHaskell 0.9.4 from Riftor's site? If so, will that patch be  
merged back into the darcs repository?

Incidentally I tried to use 2.6.4, but then wxWidgets itself does not  
build. I think due to some changes in the Carbon APIs in Mac OS X  
Leopard.

Many thanks,
Neil


On 3 Dec 2007, at 04:49, shelarcy wrote:

> Hi Neil,
>
> On Mon, 03 Dec 2007 06:21:01 +0900, Neil Bartlett <[EMAIL PROTECTED] 
> > wrote:
>> Could somebody confirm the correct version of wxWidgets to compile  
>> against for
>> Mac OS X? The website states that wxMAC 2.5.1 is required, but  
>> several parts of
>> the website appear to be out of date, and also 2.5.1 is more than  
>> three years
>> old now.
>
> wxHaskell uses deprecated wxWidgets 2.4 API.
> So you must use previous stable version - wxWidgets 2.6.x - or  
> wxWidets 2.8.x
> with compatiblily mode for wxWidgets 2.4 API.
>
>> I have tried compiling a recent checkout of wxHaskell with wxMAC  
>> 2.8.7 and GHC 6.8,
>> but the following error occurs:
>
> Because you don't use compatiblity mode.
> You must add --enable-compat24 option in configuration phase.
>
> ./configure --enable-unicode --disable-shared --enable-compat24
>
> And after installing wxWidgets, you must set
> #define WXWIN_COMPATIBILITY_2_4 1 to your wxHaskell's setup.h.
>
> http://riftor.g615.co.uk/content.php?view=53&type=2
> http://www.haskell.org/pipermail/libraries/2007-June/007653.html
>
>
> And Jeremy is working on supporting wxWidget 2.8 API now.
> See below thread.
> http://www.mail-archive.com/[email protected]/msg00180.html
>
>
> Best Regards,
>
> -- 
> shelarcy <shelarcy    hotmail.co.jp>
> http://page.freett.com/shelarcy/


-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
wxhaskell-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users

Reply via email to