From: <msz...@ya...> - 2007-02-22 06:01:05
|
Hi! Joseph has change to the <wxlike-libname> for the DatabaseLayer librari= es=20 naming. This is a good feature I belieave, but how do I point to this=20 libraries from inside my bakefile (wxarg.bkl). I've been using <sys-lib> for now but this doesn't work now=20 (obviously ... :) ). Btw, any idea when the new wx bakefile stuff will be ready? Should I wait for this to make my source release? I would really like a replacement for the "compsample" template. Well, thanks in advanced, Regards, Mat=EDas=20 __________________________________________________ Preguntá. Respondé. Descubrí. Todo lo que querías saber, y lo que ni imaginabas, está en Yahoo! Respuestas (Beta). ¡Probalo ya! http://www.yahoo.com.ar/respuestas |
From: Francesco M. <f18...@ya...> - 2007-02-22 12:04:05
|
Matías Szeftel ha scritto: > Hi! Joseph has change to the <wxlike-libname> for the DatabaseLayer libraries > naming. This is a good feature I belieave, but how do I point to this > libraries from inside my bakefile (wxarg.bkl). > > I've been using <sys-lib> for now but this doesn't work now > (obviously ... :) ). in the new bakefile framework there will be a <wxlike-lib> tag which will act like <sys-lib> just for libs following wx rule naming ;) > Btw, any idea when the new wx bakefile stuff will be ready? as soon as I manage to fix a nasty bug I've found. The best thing would be to find a workaround for it since bakefile 0.2.3 is far anyway and until then you'd require to patch your installation of bakefile if I commit my bakefile changes... > Should I wait for this to make my source release? possibly yes. I'll try to look again at that bug tonight. Francesco |
From: <msz...@ya...> - 2007-02-22 13:31:18
|
Francesco Montorsi escribió: > Matías Szeftel ha scritto: > >> Hi! Joseph has change to the <wxlike-libname> for the DatabaseLayer libraries >> naming. This is a good feature I belieave, but how do I point to this >> libraries from inside my bakefile (wxarg.bkl). >> >> I've been using <sys-lib> for now but this doesn't work now >> (obviously ... :) ). >> > in the new bakefile framework there will be a <wxlike-lib> tag which will act > like <sys-lib> just for libs following wx rule naming ;) > > Great! The bakefile framework you say, are the presets for wxWidgets and wxCode? Will it have 2.8.0 version as default? >> Btw, any idea when the new wx bakefile stuff will be ready? >> > as soon as I manage to fix a nasty bug I've found. > The best thing would be to find a workaround for it since bakefile 0.2.3 is far > anyway and until then you'd require to patch your installation of bakefile if I > commit my bakefile changes... > > > >> Should I wait for this to make my source release? >> > possibly yes. I'll try to look again at that bug tonight. > > Francesco > > I've just downloaded the 2.2 version of bakefile. And I can't create msvc2005 projects. Is this the bug you have to fix? Thanks for all. Regards, Matías. __________________________________________________ Preguntá. Respondé. Descubrí. Todo lo que querías saber, y lo que ni imaginabas, está en Yahoo! Respuestas (Beta). ¡Probalo ya! http://www.yahoo.com.ar/respuestas |
From: Francesco M. <f18...@ya...> - 2007-02-23 22:35:08
|
Matías Szeftel ha scritto: > Francesco Montorsi escribió: >> Matías Szeftel ha scritto: >> >>> Hi! Joseph has change to the <wxlike-libname> for the DatabaseLayer libraries >>> naming. This is a good feature I belieave, but how do I point to this >>> libraries from inside my bakefile (wxarg.bkl). >>> >>> I've been using <sys-lib> for now but this doesn't work now >>> (obviously ... :) ). >>> >> in the new bakefile framework there will be a <wxlike-lib> tag which will act >> like <sys-lib> just for libs following wx rule naming ;) >> >> > Great! The bakefile framework you say, are the presets for wxWidgets and > wxCode? right > Will it have 2.8.0 version as default? yes > I've just downloaded the 2.2 version of bakefile. And I can't create > msvc2005 projects. seems strange, it works fine for many other projects I have baked... > Is this the bug you have to fix? no, it's a bug described on the bakefile mailing list (see thread "endless loop while reordering tags"). I've found the cause of the bug but unfortunately it's not clear to me how to fix it... I'm waiting Vaclav's opinion on it. Francesco |
From: <msz...@ya...> - 2007-02-24 05:57:34
|
Francesco Montorsi escribió: > Matías Szeftel ha scritto: > >> I've just downloaded the 2.2 version of bakefile. And I can't create >> msvc2005 projects. >> > seems strange, it works fine for many other projects I have baked... > > This is the output I get: [1/5] generating msvs2005prj from centro_salud.bkl WARNING: Arbitrary commands are not implemented for project files. ... //many times ... WARNING: Arbitrary commands are not implemented for project files. E:\Disco Backup\BACKUP (D)\Proyectos\build\bakefiles\targets.bkl:60: error: unknown template '__phony' included from E:\Disco Backup\BACKUP (D)\Proyectos\build\bakefiles\wxcode.bkl:19 included from E:\Disco Backup\BACKUP (D)\Proyectos\CentroSalud-SVN\build\centro_salud.bkl:52 [bakefile_gen] error: bakefile exited with error And this is my bakefile file, nothing special: <?xml version="1.0" ?> <!-- RCS-ID: $Id: centro_salud.bkl,v 1.5 2007/01/08 11:05:34 mszeftel Exp $ --> <makefile> <!-- Set the defaults for the variables used by wxCode bakefiles --> <set var="WXCODE_BAKEFILEDIR">../../build/bakefiles</set> <include file="$(WXCODE_BAKEFILEDIR)/defaults.bkl"/> <!-- ================================================================= --> <!-- Settings for this component --> <!-- ================================================================= --> <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Set the name of the folder which contains this component and thus should always be in lowercase, wxCode/component/MYCOMPONENT_NAME --> <set var="COMP_NAME">CentroSalud</set> <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> <!-- Library file settings --> <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> <!-- COMP_SRC lists the component's sources with path relative to ../src --> <set var="COMP_SRC"> ../src/PrincipalFrm.cpp ../src/PrincipalFrmApp.cpp ../src/MaestroFrm.cpp ../src/MaestroAnalistas.cpp ../src/MaestroPacientes.cpp ../src/AnalistasListCtrl.cpp ../src/PacientesListCtrl.cpp ../src/CajaPanel.cpp ../src/CajaListCtrl.cpp </set> <!-- COMP_HDR lists the component's headers with path relative to ../include --> <set var="COMP_HDR"> ../include/PrincipalFrm.h ../include/PrincipalFrmApp.h ../include/MaestroFrm.h ../include/MaestroAnalistas.h ../include/MaestroPacientes.h ../include/AnalistasListCtrl.h ../include/PacientesListCtrl.h ../include/CajaPanel.h ../include/CajaListCtrl.h </set> <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> <!-- Include the wxCode bakefile after defining the COMP_XXXX vars... --> <include file="$(WXCODE_BAKEFILEDIR)/wxcode.bkl"/> <exe id="CentroSalud" template="compsample"> <res-include>../src</res-include> <win32-res>../src/CentroSalud.rc</win32-res> <sources>$(COMP_SRC)</sources> <headers>$(COMP_HDR)</headers> <wx-lib>xml</wx-lib> <wx-lib>core</wx-lib> <wx-lib>base</wx-lib> <!-- base must be last wx-lib --> </exe> </makefile> I might be missing something, but it works ok with the other formats. Regards, Matías __________________________________________________ Preguntá. Respondé. Descubrí. Todo lo que querías saber, y lo que ni imaginabas, está en Yahoo! Respuestas (Beta). ¡Probalo ya! http://www.yahoo.com.ar/respuestas |
From: Francesco M. <f18...@ya...> - 2007-03-03 12:32:49
|
Hi, please try to update your bakefile as described in "IMPORTANT: new bakefile build system" mail and retry. It should then work. Francesco Matías Szeftel ha scritto: > Francesco Montorsi escribió: >> Matías Szeftel ha scritto: >> >>> I've just downloaded the 2.2 version of bakefile. And I can't create >>> msvc2005 projects. >>> >> seems strange, it works fine for many other projects I have baked... >> >> > > This is the output I get: > > [1/5] generating msvs2005prj from centro_salud.bkl > WARNING: Arbitrary commands are not implemented for project files. > ... > //many times > ... > WARNING: Arbitrary commands are not implemented for project files. > E:\Disco Backup\BACKUP (D)\Proyectos\build\bakefiles\targets.bkl:60: > error: unknown template '__phony' > included from E:\Disco Backup\BACKUP > (D)\Proyectos\build\bakefiles\wxcode.bkl:19 > included from E:\Disco Backup\BACKUP > (D)\Proyectos\CentroSalud-SVN\build\centro_salud.bkl:52 > [bakefile_gen] error: bakefile exited with error > > And this is my bakefile file, nothing special: > > <?xml version="1.0" ?> > > <!-- RCS-ID: $Id: centro_salud.bkl,v 1.5 2007/01/08 11:05:34 mszeftel > Exp $ --> > > <makefile> > > <!-- Set the defaults for the variables used by wxCode bakefiles --> > <set var="WXCODE_BAKEFILEDIR">../../build/bakefiles</set> > <include file="$(WXCODE_BAKEFILEDIR)/defaults.bkl"/> > > <!-- > ================================================================= --> > <!-- Settings for this > component --> > <!-- > ================================================================= --> > > <!-- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Set the name of the folder which contains this component and thus > should always be in lowercase, wxCode/component/MYCOMPONENT_NAME --> > <set var="COMP_NAME">CentroSalud</set> > > > <!-- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> > <!-- Library file > settings --> > <!-- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> > > <!-- COMP_SRC lists the component's sources with path relative to > ../src --> > <set var="COMP_SRC"> > ../src/PrincipalFrm.cpp > ../src/PrincipalFrmApp.cpp > ../src/MaestroFrm.cpp > ../src/MaestroAnalistas.cpp > ../src/MaestroPacientes.cpp > ../src/AnalistasListCtrl.cpp > ../src/PacientesListCtrl.cpp > ../src/CajaPanel.cpp > ../src/CajaListCtrl.cpp > </set> > <!-- COMP_HDR lists the component's headers with path relative to > ../include --> > <set var="COMP_HDR"> > ../include/PrincipalFrm.h > ../include/PrincipalFrmApp.h > ../include/MaestroFrm.h > ../include/MaestroAnalistas.h > ../include/MaestroPacientes.h > ../include/AnalistasListCtrl.h > ../include/PacientesListCtrl.h > ../include/CajaPanel.h > ../include/CajaListCtrl.h > </set> > > <!-- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> > <!-- Include the wxCode bakefile after defining the COMP_XXXX > vars... --> > <include file="$(WXCODE_BAKEFILEDIR)/wxcode.bkl"/> > > > <exe id="CentroSalud" template="compsample"> > <res-include>../src</res-include> > <win32-res>../src/CentroSalud.rc</win32-res> > > <sources>$(COMP_SRC)</sources> > <headers>$(COMP_HDR)</headers> > > > <wx-lib>xml</wx-lib> > <wx-lib>core</wx-lib> > <wx-lib>base</wx-lib> <!-- base must be last wx-lib --> > </exe> > > </makefile> > > I might be missing something, but it works ok with the other formats. > > Regards, Matías > > > > > > __________________________________________________ > Preguntá. Respondé. Descubrí. > Todo lo que querías saber, y lo que ni imaginabas, > está en Yahoo! Respuestas (Beta). > ¡Probalo ya! > http://www.yahoo.com.ar/respuestas > > > > ------------------------------------------------------------------------- > 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 |