Boost logo

Boost Users :

From: Mesut BŁyŁktokatli (bueyuekt_at_[hidden])
Date: 2005-07-24 09:18:52

I am triing to use the boost::filesystem library. But actually i am stucked
using it. I have WindowsXP without a service pack. I am using
Visual Studio 6.0 installed in default folders for VS6. I am using stlport
but without the iostreams. After uncompressing boost, i compiled
boost with bjam with following statement:

bjam "-sTOOLS=msvc-stlport" "-sSTLPORT_VERSION=4.6" "-sSTLPORT_PATH=..\stlport" "-sBUILD=debug <stlport-iostream>off" stage

Compilation has no errors and all libs are build. Now i want to use boost::filesystem::path, example:

#include <boost/filesystem/path.hpp>
int main(int argc, char* argv[])
 boost::filesystem::path( "foo" );

What happens, is that the program stops on that command and does nothing!

If i use following code:

boost::filesystem::path( "C:\\" );

System makes an kernal32 exception and crashs.

Same happens when i use boost::filesystem::exists

Could you please help me why that happens???


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