Boost logo

Boost :

From: Boris (boriss_at_[hidden])
Date: 2008-04-24 09:34:40


On Thu, 24 Apr 2008 01:19:24 +0200, Boris <boriss_at_[hidden]> wrote:

> [...]* The linker is trying to find a library called
> boost_log-vc90-mt-gd-1_34_1.lib while the filename is really
> libboost_log-vc90-mt-gd-1_34_1.lib. I renamed the file but got then a
> linker error (unresolved external symbol "...
> boost::logging::find_log_by_name(...)"). My code consists only of
> BOOST_DECLARE_LOG and BOOST_DEFINE_LOG though (thus I would expect I
> can't
> make much wrong here :)?

As far as I understand meanwhile the linker is trying to link against a
DLL (that's why it's looking for boost_log-vc90-mt-gd-1_34_1.lib) but
there has no DLL been built when I ran bjam. I'd prefer to link statically
but would be happy if anyone could tell me how to invoke bjam to create a
DLL for (Boost.)Log. I found the directory
bin.v2\libs\log\build\msvc-9.0\debug\link-static\threading-multi but there
is no DLL indeed. Or doesn't (Boost.)Log create DLLs yet/currently?

Boris


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk