Francesco Montorsi wrote: > Jaakko Salli ha scritto: > >> Francesco Montorsi wrote: >> >>>> I'm compiling a component for wxWidgets 2.7.0, >>>> and it seems that bakefile-generated makefiles >>>> are not generated correctly for it. In the >>>> resulting makefile.vc, for instance, I would >>>> need to manually adjust WX_VERSION to 27 before >>>> it builds. >>>> >>>> >>> you can fix this using: >>> >>> <set var="WX_VERSION_DEFAULT">27</set> >>> >>> just after >>> >>> <include file="$(WXCODE_BAKEFILEDIR)/defaults.bkl"/> >>> >>> >> That didn't work, but <set var="WX_VERSION">27</set> >> seemed to do the trick instead. >> > strange - need to look into this later. > If its any help, <set var="WX_VERSION_DEFAULT">27</set> only worked for me if it was placed before the include line, and the default value was commented out in defaults.bkl.
>> Also, I'm getting following error message, with wxWidgets >> 2.7.0 only, even now with the version set: >> >> [6/6] generating autoconf from mycomp.bkl >> ...\wxCode\build\bakefiles\wxhacks.bkl:53: error: option 'WX_DIR' >> already defined >> included from ...\wxCode\build\bakefiles\defaults.bkl:87 >> included from ...\wxCode\components\mycomp\build\mycomp.bkl:7 >> [bakefile_gen] error: bakefile exited with error >> > I've checked in a little fix for that; it should work now. > Indeed it does. Thanks, Jaakko ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ wxCode-users mailing list wxCode-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxcode-users