From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-04-11 03:28:29
On Monday 11 April 2005 12:16, syed ahmad wrote:
> Hi Volodya,
> Thank for response,
> I would like to use shared_ptr class, and later filesystem library.
The first can be used without building. The second must be built.
> Can I use boost without building it, on solaris 8 with g++ 2.95.3.
> I need to know where to copy boost library and
You just need to add include path tot the $boost_root/boost directory. You can
move that directly to a system location you like, for
> I am specifying the path also in make file
> QUALITAINC = -I/usr/local/boost_1_32_0\
This should be OK.
This is not necessary.
> The source code is this
> #include <map>
> #include <shared_ptr.hpp>
> using namespace std;
> using namespace boost;
> map<int,shared_ptr<mytest> > m_map1;
> shared_ptr<mytest> p(new mytest);
Should work without building anything.
-- 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