From: shelarcy <she...@gm...> - 2007-12-03 04:49:30
|
Hi Neil, On Mon, 03 Dec 2007 06:21:01 +0900, Neil Bartlett <njb...@gm...> 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/wxh...@li.../msg00180.html Best Regards, -- shelarcy <shelarcy hotmail.co.jp> http://page.freett.com/shelarcy/ |