
Hi,
When building the library, you need to set the variable BOOST_WINDOWS_API which I imagine should be declared like this in the user-config.jam file: <cflags>/DBOOST_WINDOWS_API <cxxflags>/DBOOST_WINDOWS_API <compilerflags>/DBOOST_WINDOWS_API
I tried this with <define>BOOST_WINDOWS_API but still the test-program below gives me the output: "Directory does not exist: c:" (and /tmp obviously does exist). I also tried experimenting with BOOST_WINDOWAS_PATH, but nothing seems to help. What am I doing wrong? Cheers, Andrej #include <iostream> #include <boost/filesystem.hpp> using namespace boost::filesystem; int main(int argc, char* argv[]) { path p1("c:", native); path p2("/tmp", native); if (!exists(p1)) { std::cerr << "Directory does not exist: " << p1; return 1; } if (!exists(p2)) { std::cerr << "Directory does not exist: " << p2; return 1; } return 0; } __________________________________________________________ Not happy with your email address?. Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html