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/wxhaskell-users@lists.sourceforge.net/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
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users

Reply via email to