Cannot access boost::filesystem namespace
Hi.
I am quite new to programming, however, I decided to
install the boost library as it looks very good.
The first two lines of my program are:
#include "boost/filesystem/operations.hpp"
#include "boost/filesystem/fstream.hpp"
Yet when I include the statement:
using boost::filesystem;
just after, I get an error message saying:
"error C2873: 'boost::filesystem' : symbol cannot be
used in a using-declaration"
I am using Microsoft Visual Studio 2005. Where could I
have gone wrong? I have tried to find documentation
that will help, but I haven't found anything. I have
followed the installation to the letter.
Change History
(6)
Status: |
assigned → closed
|
Component: |
None → filesystem
|
Severity: |
→ Showstopper
|
Severity: |
Showstopper → Cosmetic
|