From: Mark D. <mar...@zn...> - 2006-09-10 21:51:38
|
Eric, As a temp fix assuming you are using wxWidgets 2.6.x or later you can comment out the three lines for SetTransparent() CleanUpClasses InitializeClasses for the wxLogTrace stuff, you can either comment them out or change from wxLogTrace(wxT('My Message')) to wxLogTrace('%s', wxT('My Message')) That done, it should build. (it builds on a VC6 built perl) Whether it works or not is a different question :-) With regard to your earlier question (packaging Win32::OLE), have you tried simply loading Win32::OLE before you load Wx::ActiveX? So 'use Win32::OLE;' at the top of your script? Regards Mark Eric Wilhelm wrote: > # from Mattia Barbon > # on Sunday 10 September 2006 07:20 am: > >> Graciliano seems MIA. I sent a couple of emails once but >> no answer came. I think somebody should take over Wx::ActiveX >> if he can no longer be contacted. > > I would love to, but I can't get it to build. I might have something > wrong in my setup, but it looks like there's a problem of it being > built for 2.4 compatibility. I get lots of errors about wxLogTrace() > having a different prototype as well as SetTransparent() undeclared > (and looking in the include/wx/msw/window.h source I find that inside > of "#if WXWIN_COMPATIBILITY_2_4".) > > But the real showstopper appears to be: > > ActiveX.xs: In function > `void boot_Wx__ActiveX(PerlInterpreter*, CV*)': > ActiveX.xs:36: error: > `CleanUpClasses' is not a member of `wxClassInfo' > ActiveX.xs:37: error: > `InitializeClasses' is not a member of `wxClassInfo' > > We've been using the binary build off of sourceforge, but I don't see > any source there. What's the secret to getting this to build? > > I'm using the camelpack, and never did get WxPerl to build from source > either, so I've probably got troubles. I'm not sure how to get > wxWidgets to build from source either -- think the configure or > something was the trouble. > > Thanks, > Eric |