dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #03256
Re: compile error in ublas?
Yes, we should check for the correct version of boost, but this is not
implemented. We just check for boost.
/Anders
On Wed, Sep 06, 2006 at 03:48:10PM +0200, Dag Lindbo wrote:
> Configure checks the boost version, I guess:
>
> checking boost/version.hpp usability... yes
> checking boost/version.hpp presence... yes
> checking for boost/version.hpp... yes
>
> Maybe update the config script?
> /Dag
>
> On Wed, 2006-09-06 at 15:18, Anders Logg wrote:
> > Your installation of uBlas (Boost) is too old. Try updating to 1.33.
> >
> > /Anders
> >
> >
> > On Wed, Sep 06, 2006 at 03:10:55PM +0200, Dag Lindbo wrote:
> > > Configure works fine, make fails. Any suggestions? //Dag
> > >
> > > g++ -DPACKAGE_NAME=\"DOLFIN\" -DPACKAGE_TARNAME=\"dolfin\"
> > > -DPACKAGE_VERSION=\"0.6.2\" "-DPACKAGE_STRING=\"DOLFIN 0.6.2\""
> > > -DPACKAGE_BUGREPORT=\"dolfin@xxxxxxxxxx\" -DSTDC_HEADERS=1
> > > -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
> > > -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
> > > -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1
> > > -I. -I. -I../../../src/kernel/common -I../../../src/kernel/fem
> > > -I../../../src/kernel/form -I../../../src/kernel/function
> > > -I../../../src/kernel/io -I../../../src/kernel/la
> > > -I../../../src/kernel/main -I../../../src/kernel/math
> > > -I../../../src/kernel/mesh -I../../../src/kernel/mf
> > > -I../../../src/kernel/nls -I../../../src/kernel/ode
> > > -I../../../src/kernel/pde -I../../../src/kernel/quadrature
> > > -I../../../src/kernel/parameter -I../../../src/kernel/log
> > > -I/afs/nada.kth.se/home/c/u1d4g64c/PDC/temp07/petsc-2.3.1-p15
> > > -I/afs/nada.kth.se/home/c/u1d4g64c/PDC/temp07/petsc-2.3.1-p15/bmake/linux-gnu-lenngren -I/afs/nada.kth.se/home/c/u1d4g64c/PDC/temp07/petsc-2.3.1-p15/include -I/afs/nada.kth.se/home/c/u1d4g64c/PDC/temp07/petsc-2.3.1-p15/include/mpiuni -I/afs/nada.kth.se/home/c/u1d4g64c/PDC/temp07/local/include/libxml2 -DHAVE_PETSC_H=1 -g -O2 -DNDEBUG -pedantic -Wno-long-long -std=c++98 -fPIC -MT FEM.lo -MD -MP -MF .deps/FEM.Tpo -c FEM.cpp -fPIC -DPIC -o .libs/FEM.o
> > > 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'
> > > /usr/include/boost/numeric/ublas/vector_of_vector.hpp:32: error:
> > > shadows template parm `class F'
> > > /usr/include/boost/numeric/ublas/vector_of_vector.hpp:1203: error:
> > > declaration of `class A'
> > > /usr/include/boost/numeric/ublas/vector_of_vector.hpp:32: error:
> > > shadows template parm `class A'
> > > /usr/include/boost/numeric/ublas/vector_of_vector.hpp:1208: error: type
> > > `boost::numeric::ublas::generalized_vector_of_vector<T, F, A>' is not
> > > derived from type
> > > `boost::numeric::ublas::generalized_vector_of_vector<T, F, A>'
> > > /usr/include/boost/numeric/ublas/vector_of_vector.hpp:1208: error: ISO
> > > C++ forbids initialization of member `zero_'
> > > /usr/include/boost/numeric/ublas/vector_of_vector.hpp:1208: error:
> > > making `zero_' static
> > > /usr/include/boost/numeric/ublas/vector_of_vector.hpp:1208: error:
> > > template declaration of `const typename
> > > boost::numeric::ublas::generalized_vector_of_vector<T, F, A>::value_type
> > > boost::numeric::ublas::generalized_vector_of_vector<T, F, A>::zero_'
> > >
> > >
> > > _______________________________________________
> > > DOLFIN-dev mailing list
> > > DOLFIN-dev@xxxxxxxxxx
> > > http://www.fenics.org/mailman/listinfo/dolfin-dev
> > _______________________________________________
> > DOLFIN-dev mailing list
> > DOLFIN-dev@xxxxxxxxxx
> > http://www.fenics.org/mailman/listinfo/dolfin-dev
>
References