Hi, i'm trying to use bakefiles system included in wxcode (latest SVN
version), but I cannot create makefiles files because of this error:

[1/6] generating gnu from wxxs.bkl
[2/6] generating watcom from wxxs.bkl
/home/michal/Src/Projekty/wxCode/build/bakefiles/presets/wxcode.bkgen:16: error: unknown tag 'add-formats' included from /home/michal/Src/Projekty/wxCode/components/wxxs/build/wxxs.bkl:9 /home/michal/Src/Projekty/wxCode/build/bakefiles/presets/wxcode.bkgen:16: error: unknown tag 'add-formats' included from /home/michal/Src/Projekty/wxCode/components/wxxs/build/wxxs.bkl:9
[bakefile_gen] waiting for remaining jobs to finish after error...
[bakefile_gen] error: bakefile exited with error (1)

My bakefile configuration files works fine with my local copy of bakefile preset files, but don't work with files included in wxcode SVN repo (paths to bakefile presets are updated in accordance to wxCode). Another components included in the wxcode repo work fine so I compared my configuration files with the others working but I cannot
find any important difference...

My OS is Ubuntu 8.10. Any idea what can be broken in my config files?

Regards
Michal

<?xml version="1.0" ?>

<!-- RCS-ID: $Id: Bakefiles.bkgen 687 2007-11-17 12:53:49Z frm $ -->

<bakefile-gen xmlns="http://www.bakefile.org/schema/bakefile-gen";>

    <include file="../../../build/bakefiles/presets/wxcode.bkgen"/>

    <input>wxxs.bkl</input>

    <disable-formats>msvc6prj,msvs2003prj,msvs2005prj</disable-formats>

</bakefile-gen>

<?xml version="1.0" ?>

<!-- RCS-ID: $Id: mycomp.bkl 550 2007-04-22 13:14:49Z frm $ -->

<makefile>

    <include file="presets/wxcode.bkgen" once="1"/>

    <set-comp-name>wxxs</set-comp-name>

    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
    <!-- Library settings                                                  -->
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->

    <lib id="wxxs_lib" template="wxcode-lib" cond="WX_SHARED=='0'"/>
    <dll id="wxxs_dll" template="wxcode-dll" cond="WX_SHARED=='1'">
        <wx-lib>xml</wx-lib>
        <wx-lib>core</wx-lib>
        <wx-lib>base</wx-lib> <!-- base must be last wx-lib -->
    </dll>

    <!-- This makes the MSVC6 project files much nicer... -->
    <set var="MSVC6PRJ_MERGED_TARGETS">wxxs=wxxs_lib+wxxs_dll</set>


    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
    <!-- Sample(s) settings                                                -->
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->

    <wxcode-sample id="dynsettingssample">
        <dir>samples/Sample1</dir>

        <has-win32-res/>
           
        <library>wxxs_lib</library>
        <wx-lib>xml</wx-lib>
        <wx-lib>core</wx-lib>
        <wx-lib>base</wx-lib> <!-- base must be last wx-lib -->
    </wxcode-sample>

    <wxcode-sample id="datatreesample">
        <dir>samples/Sample2</dir>

        <has-win32-res/>

        <library>wxxs_lib</library>
        <wx-lib>xml</wx-lib>
        <wx-lib>core</wx-lib>
        <wx-lib>base</wx-lib> <!-- base must be last wx-lib -->
    </wxcode-sample>

    <wxcode-sample id="customdatasample">
        <dir>samples/Sample3</dir>

        <has-win32-res/> 

        <library>wxxs_lib</library>
        <wx-lib>xml</wx-lib>
        <wx-lib>core</wx-lib>
        <wx-lib>base</wx-lib> <!-- base must be last wx-lib -->
    </wxcode-sample>

    <wxcode-sample id="statsettingssample">
        <dir>samples/Sample4</dir>

        <has-win32-res/> 

        <library>wxxs_lib</library>
        <wx-lib>xml</wx-lib>
        <wx-lib>core</wx-lib>
        <wx-lib>base</wx-lib> <!-- base must be last wx-lib -->
    </wxcode-sample>

</makefile>

------------------------------------------------------------------------------
_______________________________________________
wxCode-users mailing list
wxCode-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxcode-users

Reply via email to