Boost logo

Boost-Build :

Subject: [Boost-build] Linking to libboost_filesystem in own bjam-based projet
From: Andreas (lists_at_[hidden])
Date: 2010-02-13 08:39:37

Hi there,

I'm trying to set up Boost.Build for my own project, which references

When I run

    bjam release avg_asp

I get the following output:

    andreas_at_rodin:~/src/libdoas/src/tools$ bjam release avg_asp -n
    /home/andreas/lib/build/boost_1_42_0/Jamroot:637: in modules.load
    rule targets.create-metatarget unknown in module Jamfile</home
    /usr/share/boost-build/build/project.jam:312: in load-jamfile
    /usr/share/boost-build/build/project.jam:68: in project.load
    /usr/share/boost-build/build/project.jam:718: in project.use
    /usr/share/boost-build/build/project.jam:94: in
    /usr/share/boost-build/build-system.jam:105: in load-config
    /usr/share/boost-build/build-system.jam:154: in load
    /usr/share/boost-build/kernel/modules.jam:261: in import
    /usr/share/boost-build/kernel/bootstrap.jam:132: in boost-build
    /usr/share/boost-build/boost-build.jam:1: in module scope

I'd really appreciate some help getting this fixed...


    # -----------------
    # System libraries
    # -----------------

    project site-config ;
    lib netcdf : : <name>netcdf ;

    # ------------------------
    # Include Boost libraries
    # ------------------------

    use-project /boost : /home/andreas/lib/build/boost_1_42_0 ;


        : requirements <include>/home/andreas/include/boost-1_42
        : requirements <include>include


    lib libdoas : [ glob *.cpp ] /site-config//netcdf ;


    exe avg_asp : avg_asp.cpp /boost//boost_filesystem ;
    exe b3dcols_to_pgl : b3dcols_to_pgl.cpp ;

In the directory /home/andreas/lib/build/boost_1_42_0, I already did the

    ./ --prefix=/home/andreas

Any ideas?

Thanks a lot,


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at