Boost logo

Boost Users :

From: Chris (cpp_at_[hidden])
Date: 2004-06-30 11:35:21

Hi Dave,
this a sample of the example I tried to compile to see if the libs had been
built and installed correctly
taken from


#include "boost/filesystem/operations.hpp"
#include "boost/filesystem/path.hpp"
#include <iostream>
namespace fs = boost::filesystem;

int main( int argc, char* argv[] )
    fs::path full_path( fs::initial_path() );

//... rest skipped for brevity

    return 0;

The header file it could not find was the boost/filesystem/operations.hpp, I
even tried to use the angle brackets (just in case) but still no luck.

I have (with a bit of calm) tried to remove all the paths from VC++ and of
course it tells me that it cannot find the header (which of course is
normal) but when I add "C:\boost_1_31_0" to the list of INCLUDE directories
in VC++ it keeps telling me: "fatal error LNK1104: cannot open file
'libboost_filesystem-vc71-sgd-1_31.lib' "

Can I just ask, did I skip some fundamental step in the build and
installation process?

Thanks again for the help..


"David Abrahams" <dave_at_[hidden]> wrote in message

> "Chris" <cpp_at_[hidden]> writes:
> > 9) Copied a simple example from the boost website to test the libraries,
> > compiled and VC doesn't find one of the header files..
> Which header file?
> --
> Dave Abrahams
> Boost Consulting

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at