User forums > Help

using boost/filesystem

(1/6) > >>

kanesoban:
Helo,

my problem is the following: there are some things i want to use in the boost/filesystem library.
http://www.boost.org/doc/libs/1_35_0/libs/filesystem/doc/index.htm

However, i have no idea, how to install 3rd party libraries. I've read through boost's website, but it mostly contains instructions on installing boost with Ms Visual Studio. With other IDEs, the site says, that
"if you're using an earlier version of Visual Studio or some other compiler, or if you prefer to build everything yourself, you can download boost_1_35_0.exe and run it to install a complete Boost distribution"

There is a link to the sourceforge boost page, but there is no exe to download.

MortenMacFly:

--- Quote from: kanesoban on July 08, 2008, 10:26:56 pm ---There is a link to the sourceforge boost page, but there is no exe to download.

--- End quote ---
Probably you are just a bit too early? I didn't even realise that boost 1.35.0 is out... :shock:

killerbot:
note not everything from boost needs to be build Several things are just simple templates in header files, no idea about the filesystem, never used that part

By the way : in linux you get a free ride, most distros have it as a package : binary and headers :-)

Longe live linux :-) :-)

TDragon:
The documentation is in error; an .exe is no longer distributed. You can download whichever of the archives on the SourceForge download page is easiest for you to extract.

boost::filesystem does indeed need to be built. Follow the directions here. You haven't specified which compiler you're using, so I'll assume it's the installation of MinGW included with the full Code::Blocks 8.02 download. Your toolset, for the purposes of building Boost, is "gcc". You will need to ensure the "bin" subdirectory (containing gcc.exe and friends) is in the PATH environment variable before invoking bjam.

Cheers,
John E.

kanesoban:
"You haven't specified which compiler you're using"

It's gcc 3.4.4.

"You will need to ensure the "bin" subdirectory (containing gcc.exe and friends) is in the PATH environment variable before invoking bjam."

How do i do that ?

Navigation

[0] Message Index

[#] Next page

Go to full version