Boost in MacPorts Issue

Gundala Viswanath gundalav at gmail.com
Fri Jan 23 19:37:09 PST 2009


Hi all,

I have sucessfully installed Boost via MacPorts.
However there are several issues after that.

1. My code can't recognize the location of Boost during compilation.
   Although it exist here:

./opt/local/include/boost/lexical_cast.hpp
./opt/local/var/macports/software/boost/1.37.0_0+darwin_9/opt/local/include/boost/lexical_cast.hpp

   and also I have in my .bash_profile this export:
    export CXXFLAGS="-I /opt/local/include";

2. When I do:
    man boost ; or
    which boost

    It doesnot show anything.

Is there a way I can fix that?

- Gundala Viswanath
Jakarta - Indonesia


More information about the macports-users mailing list