Question

I have followed the directions on the boost website. I have put the boost dir in the path. I still cannot compile a C++ program using the boost libraries. I am specifically trying to use the filesystem library. Any help is greatly appreciated.

--TJB

Was it helpful?

Solution

Did you compile the filesystem library? Many Boost libraries are header-only, but filesystem is one of the few that have to be compiled (and linked).

Instructions on how to do that can be found at points 5 and 6 of the Getting Started on Unix Variants page. Instructions specific to the filesystem lib are at http://www.boost.org/doc/libs/1_40_0/libs/filesystem/doc/index.htm#Building

OTHER TIPS

I've just figured it out, at the end it wasn't that difficult: http://www.thepinguin.net/2010/10/boost-on-snow-leopard-x86_64/

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top