Installing boost libraries with MS VC 6You need to unzip the boost zip file somewhere retaining the directory structure. Then set the VC6 include path to the base of the install and use header includes such as "#include "boost\someheader.hpp" or ""#include "boost\somepath\someheader.hpp". In your case, your first include below for matrix should work fine.
Some libraries need to be built since they are not simply header-only libraries, but I do not think ublas is one of those. In the case of building libraries you need to follow the instructions in the Boost Build documentation.
"dmathews" wrote in message news:31C6D68FA597D411B04D00E02965883B01862F03@mailhost...
Hi, I hope you don't mind a total newbie question.
I'm trying to make use of some c++ code from the web in a project of my own.
However this code uses boost libraries.
Specifically:
#include
using namespace boost::numeric::ublas;
So I need to install these. However I don't really know what I'm doing (!) Do I need to build/install all of Boost? As I've really not got a clue how to do this and the documentation isn't abundantly clear.
I tried just copying "matrix.hpp" into the project and typing #include but it didn't work.
Any pointers to get me going greatfully appreciated.
I can work in MS VC 6 or 7
Thanks in advance
Dave
------------------------------------------------------------------------------
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users