← Back to team overview

dolfin team mailing list archive

Re: boost - enable experimental

 

I don't have anything about BOOST_UBLAS_ENABLE_EXPERIMENTAL in my
vector_of_vector.hpp so I should guess this is something that has been
removed in newer versions of ublas (assuming that you have an old
version).

/Anders


On Tue, Aug 15, 2006 at 02:42:10PM +0200, Johan Hoffman wrote:
> Garth,
> 
> I find the following in my 
> /usr/include/boost/numeric/ublas/vector_of_vector.hpp
> 
> #ifndef BOOST_UBLAS_ENABLE_EXPERIMENTAL
> #error class generalized_vector_of_vector is experiment and currently does
> not work
> #endif
> 
> Maybe this explains why I'm having problems compiling the current dolfin
> version. It appears that boost is set on 'experimental', judging from the
> output from the compilation (below).
> 
> Is this set explicitly by us in dolfin somewhere, or do you know how else
> I can change it?
> 
> /Johan
> 
> 
> In file included from ../../../src/kernel/la/dolfin/ublas.h:12,
>                  from ../../../src/kernel/la/dolfin/uBlasMatrix.h:18,
>                  from ../../../src/kernel/la/dolfin/uBlasDenseMatrix.h:10,
>                  from ../../../src/kernel/la/dolfin/DenseMatrix.h:12,
>                  from ./dolfin/FEM.h:18,
>                  from FEM.cpp:10:
> /usr/include/boost/numeric/ublas/vector_of_vector.hpp:17:2: #error class
> generalized_vector_of_vector is experiment and currently does not work
> In file included from ../../../src/kernel/la/dolfin/ublas.h:12,
>                  from ../../../src/kernel/la/dolfin/uBlasMatrix.h:18,
>                  from ../../../src/kernel/la/dolfin/uBlasDenseMatrix.h:10,
>                  from ../../../src/kernel/la/dolfin/DenseMatrix.h:12,
>                  from ./dolfin/FEM.h:18,
>                  from FEM.cpp:10:
> /usr/include/boost/numeric/ublas/vector_of_vector.hpp:1203: error:
> declaration of `class T'
> /usr/include/boost/numeric/ublas/vector_of_vector.hpp:32: error:  shadows
> template parm `class T'
> /usr/include/boost/numeric/ublas/vector_of_vector.hpp:1203: error:
> declaration of `class F'
> ...
> 
> 
> 
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev


References