Boost logo

Boost Users :

Subject: Re: [Boost-users] [Boost.Log] How to link with on MSVC 2008?
From: RUOFF, LARS (LARS)** CTR ** (lars.ruoff_at_[hidden])
Date: 2010-10-05 12:11:12


No,
Because I just made a test:
When I use stuff from Boost.Filesystem
Like
        boost::filesystem::remove_all( "foobar" );
        boost::filesystem::create_directory( "foobar" );
it links well.

Lars

-----Original Message-----
From: boost-users-bounces_at_[hidden] [mailto:boost-users-bounces_at_[hidden]] On Behalf Of Igor R
Sent: mardi 5 octobre 2010 17:54
To: boost-users_at_[hidden]
Subject: Re: [Boost-users] [Boost.Log] How to link with on MSVC 2008?

> 1>Linking...
> 1>libboost_log-vc90-mt-gd-1_44.lib(text_file_backend.obj) : error LNK2019:
> unresolved external symbol "class boost::filesystem2::file_status [...]
> (Very long error messages containing decorated names. The above is just the
> start)
>
> Linker path settings should be correct, since the linker correctly finds
> libboost_log-vc90-mt-gd-1_44.lib.
> Also the project is using other Boost libraries (Asio, shared-ptr, bind,
> posix-time, etc) without problems.

Just a guess: Log depends on Boost.Filesystem library, and you haven't
compiled it.
_______________________________________________
Boost-users mailing list
Boost-users_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users


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