From: Francesco M. <f18...@ya...> - 2006-02-08 20:52:12
|
John Labenski ha scritto: > On 2/8/06, Francesco Montorsi <f18...@ya...> wrote: >> Hi John, >> maybe the right place to post this would be wxCode mailing list but >> since it also regards wxLua I'm posting it here... >> >> Nor the wxStEdit CVS nor the archive I've downloaded from SF contain the >> configure script. That was easy for me to fix but probably not for the >> generic user which has not passed the last months experimenting with >> bakefile and autoconf :) >> So I suggest to generate it and add it to CVS. > > If you could do this easily it would be great. I just copied the > bakefile stuff for wxStEdit from one of your projects a long time ago > and haven't updated them since. done >> Second, I've got problems about missing wx/stedit/setup.h file; I copied >> setup0.h in setup.h and solved this. Should this file be generated by >> the configure script ? > > It's one of those things where the user should set it up the way they > like. I don't want to put it into CVS since it'll just get overwritten > and be annoying. I suppose that configure could just copy it for > people. updated configure to do it >> Last, I have problems with the usual void* -> int conversions which on >> 64bit machines like mine are not valid. >> >> Since I have access to wxCode CVS, I could check in the required changes... > > Please do, I can't think of where this would be in wxStEdit off the > top of my head. you can see them in cvs diffs ;) I'm currently stopped by errors about include paths like: #include "../../contrib/src/stc/scintilla/include/Platform.h" // for PRectangle #include "../../contrib/src/stc/scintilla/include/PropSet.h" // for SString which refer to non-existent files in my wxCode tree. These should be really transformed into something else... unfortunately I checked the wxWidgets contrib section and I've found that on Unix scintilla headers are not installed anywhere... so my proposed fix is: 1) on win32, add the %WXWIN%/contrib/src/stc/scintilla/include path 2) on unix, add a check for these headers. If they are not available, tell the user to use the --with-wxdir option to indicate the full path of the wxWidgets source tree and use it to install scintilla headers. Or else, ask the wxdev to add scintilla headers to install rules. Francesco |