Boost logo

Ublas :

From: Gunter Winkler (gunter.winkler_at_[hidden])
Date: 2005-11-15 09:18:52


On Tuesday 15 November 2005 14:30, Prasad Ramanan wrote:
> I am compiling using Visual Studio .Net 2003 (version 1.1.4322 of the
> .NET framework), and I am using the ublas library that came with boost
> version 1_32.

This should be the first lines of lu.hpp

#include <boost/numeric/ublas/operation.hpp>
#include <boost/numeric/ublas/vector_proxy.hpp>
#include <boost/numeric/ublas/matrix_proxy.hpp>
#include <boost/numeric/ublas/vector.hpp>
#include <boost/numeric/ublas/triangular.hpp>

you use an old version of ublas which has some missing includes. As a quick
fix you can add the above lines to your sample program. The preferred fix is
to use boost 1.33.0 or the current beta 1.33.1

mfg
Gunter