From: Andrew <sob...@gm...> - 2007-02-08 14:23:41
|
Hi, thanks for all the replies. It turns out that I really did need to compile wxwidgets/perl myself, because I also wanted to compile Wx::ActiveX, which requires a built wxwidgets source tree. I discovered the make errors I was getting with the supplied wxwidgets makefiles were caused by having cygwin (sh) in my PATH. After removing cygwin from my PATH, wxwidgets compiled successfully with mingw32-make and the supplied makefiles. There is a minor error in the Wx docs/INSTALL.pod under the MinGW 1.1 (wxWidgets 2.5.x) section: where it says cd ..\..\contrib\src\stc, I believe this should be ..\..\contrib\build\stc. Attached are patches (adapted from Simon Flack's patches on the Wx::ActiveX cpan page) I applied to Wx::ActiveX 0.05 to compile against wxwidgets 2.6 (cvs head) and 2.8.0 respectively. There is one (minor) remaining issue. The wxPerl installation we are currently using (the wxPerl 0.26/ wxwidgets 2.6.2 binary release) picks up the wxwidgets dlls automatically from lib/MSWin32-x86-multi-thread/auto/Wx/*.dll. My compiled version doesn't find the dlls automatically, I have to add lib/auto/Wx (where they were installed) to my PATH. Does anyone know the reason for this, and is there a way to make my compiled dlls be found automatically (without adding the directory to PATH)? I have tried copying them to $arch/auto/Wx but no joy. cheers, Andrew |