From: Francesco M. <f18...@ya...> - 2006-02-09 17:50:41
|
Hi, John Labenski ha scritto: >> 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. > > 3) I removed the dependence on them by just copying the needed class > declarations from the scintilla headers. :) (the license is ok with > that) > > I started working on this before and I thought I changed some things, > but maybe I never committed them. Anyway all the #includes are gone > now. I'm trying to keep the code as similar as possible to the > original since some of the export functions are not trivial. much better and simpler solution ;) Now the configure script of wxStEdit successfully compiles it. However I have to report a bug in samples/stedit program: when I run it and type something in the first row of untitled.txt, everything is okay. When I hit enter to go in the row below, any key pressed is just ignored and nothing appears on the screen... This is with Ubuntu 5.10, GTK2, wxCVS (maybe a little outdated - I'll update it...). Francesco |