From: Neil B. <njb...@gm...> - 2007-12-02 21:27:28
|
Hi, Could somebody confirm the correct version of wxWidgets to compile =20 against for Mac OS X? The website states that wxMAC 2.5.1 is required, =20= but several parts of the website appear to be out of date, and also =20 2.5.1 is more than three years old now. I have tried compiling a recent checkout of wxHaskell with wxMAC 2.8.7 =20= and GHC 6.8 on Mac OS 10.5, and the following error occurs: wxc/src/extra.cpp: At global scope: wxc/src/extra.cpp:324: error: conflicting return type specified for =20 =91virtual void wxcHtmlWindow::OnCellClicked(wxHtmlCell*, wxCoord, =20 wxCoord, const wxMouseEvent&)=92 /usr/local/include/wx-2.8/wx/html/htmlwin.h:210: error: overriding =20 =91virtual bool wxHtmlWindowMouseHelper::OnCellClicked(wxHtmlCell*, =20 wxCoord, wxCoord, const wxMouseEvent&)=92 wxc/src/extra.cpp: In function =91long int wxGetNumberFromUser(wxChar*, =20= wxChar*, wxChar*, long int, long int, long int, wxWindow*, int, int)=92: wxc/src/extra.cpp:1919: error: cannot convert =91wxPoint=92 to =91int=92 = for =20 argument =918=92 to =91long int wxGetNumberFromUser(wxChar*, wxChar*, =20= wxChar*, long int, long int, long int, wxWindow*, int, int)=92 make: *** [out/wxc/extra.o] Error 1 Many thanks Neil= |