|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-04-11 08:50:37
On Monday 11 April 2005 17:42, syed ahmad wrote:
> Hi Volodya,
> I am only using shared_ptr class
> When I build I get this error message .
>
>
>
>
> g++ -c -I/opt/sfw/lib/g++-include -I/usr/local/include
> -I/opt/sfw/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/include
> -I/usr/local/boost_1_32_0/boost
I suggest that you remove the above include path.
> -I/usr/local/boost_1_32_0 console_app.cpp
> In file included from /usr/local/boost_1_32_0/boost/config.hpp:40, from
> /usr/local/boost_1_32_0/boost/shared_ptr.hpp:17, from console_app.cpp:7:
> /usr/local/boost_1_32_0/boost/config/select_stdlib_config.hpp:20: directory
> `/usr/local/boost_1_32_0/boost/utility' specified in #include In file
This is caused by the fact that there's /usr/local/boost_1_32_0/boost/utility
directory. You need to remove -I/usr/local/boost_1_32_0/boost
- Volodya
-- Vladimir Prus http://vladimir_prus.blogspot.com Boost.Build V2: http://boost.org/boost-build2
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk