Boost logo

Boost :

From: John Torjo (john.groups_at_[hidden])
Date: 2008-04-29 03:48:49

Boris wrote:
> 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?
This is VERY strange. Could you send me a snippet of the code.
Just as a side-note - the library is header-only, so it doesn't make
sense to try to link to a lib.

> Boris
> _______________________________________________
> Unsubscribe & other changes:

-- -- C++ expert
... call me only if you want things done right

Boost list run by bdawes at, gregod at, cpdaniel at, john at