I'm trying to use the Boost library on my Mac. I cannot use the binary version downloadable from the boost.org webpage since its generating some sort of errors connected with architecture. But I tried and succesfully installed Boost via mac-ports (port -install boost).
Now that I'd done that how can I access it? I know it's a bit of a silly question but what flags should I use in compilation of my code that includes boost?
Depends on the compiler.. If you're using clang or gcc, -l<library name> generally suffices. If the library you want isn't in a predefined path, you need to define the path with -L<folder path>.