From: Dave R. <dav...@ma...> - 2002-05-15 00:00:53
|
I'm trying my hand at this using the latest CVS versions of wxMAC and wxPerl. a couple of months ago... my previous attempt at installing wxMAC was unsuccessful. everything appeared to compile and install, and running the minimal sample brought up a window, yet I was unable to interact with it. my previous attempt at installing wxPerl (0.10, along with the previous attempt at wxMAC) appeared to compile and install. I've never been able to run the wxPerl minimal sample, although perl -c minimal.pl would compile. and now... my latest attempt at installing wxMAC appears to have been successful. the above problems are no longer apparent and all the samples I have run appear to work as expected. my latest attempts at installing wxPerl (0.10 and 0.11) are not going well, but giving different results. I gave up trying to install 0.10 as it appears MenuItems work differently. as my previous attempt compiled (yet didn't run), I assumed that wxMAC had changed and that I would need wxPerl 0.11 to continue. when trying to get 0.11 to compile, I found the following: 1) /distrib/mac/shared-ld-sh the Makefiles that Makefile.PL outputs contains this reference. under 0.10, the output used to be "c++ -shared". 2) wxRegion::Offset Wx.c: In function `void XS_Wx__Region_Offset(CV *)': Wx.c:7100: no matching function for call to `wxRegion::Offset (wxCoord &, wxCoord &)' 3) ColourDialog Frames.c: In function `void XS_Wx__ColourDialog_new(CV *)': Frames.c:5330: invalid use of undefined type `class Wx_ColourDialog' cpp/typedef.h:140: forward declaration of `class Wx_ColourDialog' Frames.c:5332: type `wxObject' is not a base type for type `Wx_ColourDialog' XS/ColourDialog.xs: In function `void XS_Wx__ColourDialog_GetColourData(CV *)': XS/ColourDialog.xs:25: invalid use of undefined type `class wxGenericColourDialog' cpp/typedef.h:140: forward declaration of `class wxGenericColourDialog' Frames.c: In function `void XS_Wx__ColourDialog_ShowModal(CV *)': Frames.c:5370: invalid use of undefined type `class wxGenericColourDialog' cpp/typedef.h:140: forward declaration of `class wxGenericColourDialog' 4) Wx_Cursor *newImage() XS/Cursor.xs: In function `void XS_Wx__Cursor_newImage(CV *)': XS/Cursor.xs:46: no matching function for call to `wxCursor::wxCursor (wxImage &)' 5) Wx_Icon::LoadFile() XS/Icon.xs: In function `void XS_Wx__Icon_LoadFile(CV *)': XS/Icon.xs:99: no matching function for call to `wxIcon::LoadFile (wxString &, long int &)' 6) Wx_Bitmap::SetMask() XS/Bitmap.xs: In function `void XS_Wx__Bitmap_SetMask(CV *)': /usr/local/include/wx/mac/bitmap.h:35: `wxMask::wxMask(const wxMask &)' is private XS/Bitmap.xs:328: within this context having "worked around" those, I got everything to compile without other errors. unsurprisingly, perl minimal.pl still compiles but fails to display a window. I would very much like to see wxPerl running under OS X and am available to any extent to help with compiling, test, debugging. I hope the above is helpful - please let me know what other steps I can take to help. regards, /dave |