views:

634

answers:

2

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

+3  A: 

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

Éric Malenfant
Ah. No I didn't. How do I do that?
TJB
I added links. HTH.
Éric Malenfant
Thank you very much!
TJB
A: 

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/

ThePinguin