Boost logo

Boost Users :

Subject: Re: [Boost-users] Including a source library with Boost.Build
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-03-03 17:00:48


AMDG

Z. S. O. wrote:
> I have a source library I'd like to include in my Boost.Build project.
> The library consists of an assortment of header and cpp files in a
> folder next to the main cpp file and jamfile. It doesn't require any
> elaborate precompilation, so it should work just by #including the
> appropriate header files in the main cpp file (i.e., #include
> "FolderName/FileName.h").
>
> My question is, do I need to do anything other than that to make this
> work? I'm getting an "undefined symbols" error, so clearly Boost.Build
> not finding something correctly.

As long as you're linking all the cpp files that you need, it should work.

In Christ,
Steven Watanabe


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net