John Labenski ha scritto: > On 12/26/06, Doug Currie <[EMAIL PROTECTED]> wrote: >> On Tuesday, December 26, 2006 Francesco Montorsi wrote: >> >>> I don't remember right now if wxCode bakefiles/autoconf stuff fully support >>> the >>> mkdir mybuild && cd mybuild && ../configure >>> trick. >> It seems to work well for wxWidgets and wxLua except for this one >> file. >> >>> Calling configure in the root dir (./configure) doesn't solve the problem? >> I don't think it would; in that case pencil.ico would be in ./art/pencil.ico > > Can we not just have no path for pencil.ico and add an -I include > directive for it? I can't test in MSW right now, but IIRC the include > paths work in RC files, but maybe not for icons? Dunno. > > wxstedit.rc > pencil16 ICON "pencil.ico" I don't know if this will work... probably it does only if a copy of pencil.ico is in the same folder of wxstedit.rc; so I'd suggest to move wxstedit.rc in art\ (if the -I trick fails).
>>> and then define SRCDIR to be $(srcdir) for MSYS but I don't really know if >>> other >>> win32 compilers would like it. >> Maybe the Makefile should cd into the $(srcdir)/./samples/stedit >> directory and execute $(WINDRES) there. This might make it more >> compatible with the "other" IDE. >> >> Is the sample even needed for wxLua? The only reason I'm making it is >> for the stedit prerequisite for wxLua. Maybe the sample should not be >> in the 'all:' target of wxstedit's Makefile to avoid the problem for >> those, like me, who are only trying to get the wxstedit library? if you're trying to get only the wxstedit library, then even if the sample fails to compile, you should already have the library correctly placed in lib\... > It really should be built for people who just want to use wxStEdit > since it's a test to see that things work. Hopefully we can fix this > since the sample program is very small and should compile quickly. > > ===================== > > Franscesco, what is the status of the wxCode bakefiles? What bakefile > should I use to regenerate wxCode projects in the future? wxCode bakefiles are ok. The problem is that the WINDRES-hack has been added to wxpresets "recently" (I'd say 5-6 months ago) and maybe the change didn't go in wx 2.6.3 and maybe you used those wxpresets together with the wxCode bakefiles to regen wxstedit makefiles.... to see if your wx presets are recent enough look at wx_unix.bkl; they should contain a line like: <set var="WINDRES">$(WX_RESCOMP)</set> Francesco ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users