dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #03047
boost - enable experimental
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'
...
Follow ups