← Back to team overview

dolfin team mailing list archive

Re: another compile error

 

That worked, but now I get:

g -I/home/walker/src/petsc-2.3.3-p13/include -I/home/walker/build/include -I/home/walker/build/lib -Idolfin -I/usr/include/suitesparse -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/home/walker/build/include -I/usr/include/suitesparse dolfin/mesh/MeshEditor.cpp
cc1plus: warnings being treated as errors
./dolfin/parameter/NewParameter.h:20: warning: lass dolfin::NewParameterhas virtual functions but non-virtual destructor ./dolfin/parameter/NewParameter.h:100: warning: lass dolfin::NewIntParameterhas virtual functions but non-virtual destructor ./dolfin/parameter/NewParameter.h:142: warning: lass dolfin::NewDoubleParameterhas virtual functions but non-virtual destructor ./dolfin/parameter/NewParameter.h:184: warning: lass dolfin::NewStringParameterhas virtual functions but non-virtual destructor
scons: *** [dolfin/mesh/MeshEditor.os] Error 1
scons: building terminated because of errors.
dolfin/mesh/MeshEditor.os failed: Error 1

- Shawn

On Mon, 11 May 2009, Anders Logg wrote:

On Mon, May 11, 2009 at 04:44:50PM -0400, Shawn Walker wrote:
I now get this error.  I tried doing a type-cast, but it still didn't
work.

- Shawn

Found optional package: cholmod
Disabling compilation of Python wrappers
scons: done reading SConscript files.
scons: Building targets ...
c++ -o dolfin/log/log.os -c -Wall -pipe -ansi -Werror -DDEBUG -g -DNDEBUG
-O2 -DPACKAGE_VERSION=\"0.9.2\" -DHAS_PETSC=1 -DHAS_SLEPC=1
-DHAS_UMFPACK=1 -DHAS_GTS=1 -DHAS_CHOLMOD=1 -fPIC -I.
-I/home/walker/build/include -I/usr/include/boost -I/usr/include/libxml2
-I/home/walker/src/petsc-2.3.3-p13/bmake/linux-gnu-cxx-debug
-I/home/walker/src/petsc-2.3.3-p13/include -I/home/walker/build/include
-I/home/walker/build/lib -Idolfin -I/home/walker/src/slepc-2.3.3
-I/home/walker/src/slepc-2.3.3/include
-I/home/walker/src/petsc-2.3.3-p13/bmake/linux-gnu-cxx-debug
-I/home/walker/src/petsc-2.3.3-p13/include -I/home/walker/build/include
-I/home/walker/build/lib -Idolfin -I/usr/include/suitesparse
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/home/walker/build/include -I/usr/include/suitesparse dolfin/log/log.cpp
dolfin/log/log.cpp: In function oid allocate_buffer(std::string)
dolfin/log/log.cpp:36: error: no matching function for call to ax(long
unsigned int, unsigned int)scons: *** [dolfin/log/log.os] Error 1
scons: building terminated because of errors.
dolfin/log/log.os failed: Error 1

This might be fixed now.

--
Anders



References