Installing boost libraries with MS VC 6
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
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"
it seems that you only need the Boost::Numeric::uBlas library. The easiest thing is that you download the full Boost Library (because the uBlas uses different part of it) and put the correct path in your include directory (in your project file). that's it, you don't need to build anything: uBlas is entirely made of header files. for the compiler, the more recent the better. lorenzo. On Wed, Apr 07, 2004 at 01:22:19PM +0100, dmathews wrote:
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
-- CH3 | N / \ N----C C==O || || | || || | CH C N--CH3 \ / \ / N C | || CH3 O
participants (3)
-
dmathews
-
Edward Diener
-
Lorenzo Bolla