C++ XML Objects Installation |
Instructions for "installing" cppxmlobj.
Well, for a start you don't really install it, you just copy it all down and build it, then use it.
Get the current boost build from www.boost.org.
Often this comes with an OS install, so if it does, you just need to find
out where it is on your machine. On my machine it's in:
/usr/src/boost_1_33_1
You will need to actually build it because this project uses bjam to do the builds, not normal Makefiles. I suggest that you look at using Boost.Build yourself for your projects because it's much easier (on the developer) than automake etc.
Get cppxmlobj.
# cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/cppxmlobj login
[Just hit return when asked for a password]
# cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/cppxmlobj co -P cppxmlobj
Now edit the file "boost-build.jam" inside the cppxmlobj folder just placed, and change the "[change to your boost path]"
to the place where boost was above.
On my machine cppxmlobj/boost-build.jam looks like:
BOOST_ROOT = /usr/src/boost_1_33_1 ;
PROJECT_ROOT = $(.boost-build-file:D) ;
boost-build /usr/src/boost_1_33_1/tools/build/v1 ;
Build and test cppxmlobj.
# cd cppxmlobj
# bjam test
It will hammer your hard drive away, and in a matter of minutes will come back saying that the tests have passed. Congratulations! You can now go ahead and use cppxmlobj's in your own code.
All the above should work on all the different platforms, but on windows you might have to get "cygwin" to make it all happen.
Generated: Wed Apr 5 23:00:18 EST 2006
Copyright (c) 2005; Paul Hamilton; pHamtec P/L.
Use, modification, and distribution is provided free of any limitations.