← Back to team overview

yade-dev team mailing list archive

error compiling r2393

 

Hi,

I tried to compile the last release but I got the following error (please
see below). How can I fix it? Thanks, Chiara

scons: Reading SConscript files
...

@@@ Using profile default (scons.profile-default)
@@@

Yade version is `bzr2393' (bzr2393), installed files will be suffixed with
`-bzr2393'.

All intermediary files will be in
`/home/utente/YADE-versions/build-bzr2393'.

Mkdir("/home/utente/YADE-versions/build-bzr2393")

Checking whether c++ compiler "g++"
works...yes

Finding libstdc++ library... (cached)
/usr/lib/gcc/i486-linux-gnu/4.3.3/libstdc++.so

Checking for pthread_exit(NULL) in C library pthread...
yes

Checking for Python development files...
ok

Checking for C++ header file numpy/ndarrayobject.h...
yes

/var/lib/python-support/python2.6/IPython/Magic.py:38: DeprecationWarning:
the sets module is
deprecated

  from sets import
Set

Checking for required python modules... (cached) all
ok

Checking boost libraries... all
ok

Checking for C++ header file boost/foreach.hpp...
yes

Checking for C++ header file Eigen/Core...
yes

Checking for glutGetModifiers() in C++ library glut...
yes

Checking for vtkInstantiator::New() in C++ library vtkCommon...
yes

Checking for gts_object_class() in C++ library gts...
yes

Checking for log4cxx::Logger::getLogger("") in C++ library log4cxx...
yes

scons: done reading SConscript
files.

scons: Building targets
...

>
/home/utente/YADE-exe/psd/bin/yade-bzr2393-multi

>
/home/utente/YADE-exe/psd/bin/yade-bzr2393

Chmod("/home/utente/YADE-exe/psd/bin/yade-bzr2393",
0755)

Chmod("/home/utente/YADE-exe/psd/bin/yade-bzr2393-multi",
0755)

C
py/3rd-party/pygts-0.3.1/cleanup.c

C
py/3rd-party/pygts-0.3.1/edge.c

C
py/3rd-party/pygts-0.3.1/face.c

C
py/3rd-party/pygts-0.3.1/object.c

C
py/3rd-party/pygts-0.3.1/point.c

C
py/3rd-party/pygts-0.3.1/pygts.c

C
py/3rd-party/pygts-0.3.1/segment.c

C
py/3rd-party/pygts-0.3.1/surface.c

C
py/3rd-party/pygts-0.3.1/triangle.c

C
py/3rd-party/pygts-0.3.1/vertex.c

>
/home/utente/YADE-versions/build-bzr2393/lib/yade-support.cpp

C
/home/utente/YADE-versions/build-bzr2393/lib/yade-support.cpp

>
/home/utente/YADE-versions/build-bzr2393/core/core.cpp

C
/home/utente/YADE-versions/build-bzr2393/core/core.cpp

L
libyade-support.so

>
/home/utente/YADE-exe/psd/lib/yade-bzr2393/lib/libyade-support.so

L
_gts.so

>
/home/utente/YADE-exe/psd/lib/yade-bzr2393/py/gts/_gts.so

ln -s -f ../py/gts/_gts.so
/home/utente/YADE-exe/psd/lib/yade-bzr2393/lib/lib_gts__python-module.so

>
/home/utente/YADE-versions/build-bzr2393/lib/yade-opengl.cpp

C
/home/utente/YADE-versions/build-bzr2393/lib/yade-opengl.cpp

L
libyade-opengl.so

>
/home/utente/YADE-exe/psd/lib/yade-bzr2393/lib/libyade-opengl.so

>
/home/utente/YADE-versions/build-bzr2393/plugins0.cpp

C
/home/utente/YADE-versions/build-bzr2393/plugins0.cpp

>
/home/utente/YADE-versions/build-bzr2393/plugins1.cpp

C /home/utente/YADE-versions/build-bzr2393/plugins1.cpp
L libcore.so
> /home/utente/YADE-exe/psd/lib/yade-bzr2393/lib/libcore.so
> /home/utente/YADE-versions/build-bzr2393/plugins2.cpp
C /home/utente/YADE-versions/build-bzr2393/plugins2.cpp
In file included from
/home/utente/YADE-versions/build-bzr2393/plugins1.cpp:7:
/home/utente/YADE-versions/yade-psd/pkg/common/Engine/GlobalEngine/ResetRandomPosition.cpp:
In member function 'virtual void ResetRandomPosition::action()':
/home/utente/YADE-versions/yade-psd/pkg/common/Engine/GlobalEngine/ResetRandomPosition.cpp:73:
warning: 'is_overlap' may be used uninitialized in this function
> /home/utente/YADE-versions/build-bzr2393/plugins3.cpp
C /home/utente/YADE-versions/build-bzr2393/plugins3.cpp
In file included from /usr/include/c++/4.3/backward/strstream:51,
                 from /usr/include/vtk-5.0/vtkIOStream.h:36,
                 from /usr/include/vtk-5.0/vtkSystemIncludes.h:40,
                 from /usr/include/vtk-5.0/vtkIndent.h:24,
                 from /usr/include/vtk-5.0/vtkObjectBase.h:43,
                 from /usr/include/vtk-5.0/vtkObject.h:41,
                 from /usr/include/vtk-5.0/vtkCellArray.h:35,
                 from
/home/utente/YADE-versions/yade-psd/pkg/dem/Engine/GlobalEngine/VTKRecorder.cpp:5,
                 from
/home/utente/YADE-versions/build-bzr2393/plugins3.cpp:7:
/usr/include/c++/4.3/backward/backward_warning.h:33:2: warning: #warning
This file includes at least one deprecated or antiquated header which may be
removed without further notice ata future date. Please use a non-deprecated
interface with equivalent functionality instead. For a listing of
replacement headers and interfaces, consult the file backward_warning.h. To
disable this warning use -Wno-deprecated.
In file included from
/home/utente/YADE-versions/build-bzr2393/plugins3.cpp:7:
/home/utente/YADE-versions/yade-psd/pkg/dem/Engine/GlobalEngine/VTKRecorder.cpp:16:40:
error: vtkXMLMultiBlockDataWriter.h: No such file or directory
/home/utente/YADE-versions/yade-psd/pkg/dem/Engine/GlobalEngine/VTKRecorder.cpp:17:34:
error: vtkMultiBlockDataSet.h: No such file or directory
In file included from
/home/utente/YADE-versions/build-bzr2393/plugins3.cpp:7:
/home/utente/YADE-versions/yade-psd/pkg/dem/Engine/GlobalEngine/VTKRecorder.cpp:
In member function 'virtual void VTKRecorder::action()':
/home/utente/YADE-versions/yade-psd/pkg/dem/Engine/GlobalEngine/VTKRecorder.cpp:383:
error: 'vtkMultiBlockDataSet' was not declared in this scope
/home/utente/YADE-versions/yade-psd/pkg/dem/Engine/GlobalEngine/VTKRecorder.cpp:383:
error: template argument 1 is invalid
/home/utente/YADE-versions/yade-psd/pkg/dem/Engine/GlobalEngine/VTKRecorder.cpp:383:
error: invalid type in declaration before '=' token
/home/utente/YADE-versions/yade-psd/pkg/dem/Engine/GlobalEngine/VTKRecorder.cpp:383:
error: 'vtkMultiBlockDataSet' cannot appear in a constant-expression
/home/utente/YADE-versions/yade-psd/pkg/dem/Engine/GlobalEngine/VTKRecorder.cpp:383:
error: template argument 1 is invalid
/home/utente/YADE-versions/yade-psd/pkg/dem/Engine/GlobalEngine/VTKRecorder.cpp:385:
error: base operand of '->' is not a pointer
/home/utente/YADE-versions/yade-psd/pkg/dem/Engine/GlobalEngine/VTKRecorder.cpp:386:
error: base operand of '->' is not a pointer
/home/utente/YADE-versions/yade-psd/pkg/dem/Engine/GlobalEngine/VTKRecorder.cpp:387:
error: base operand of '->' is not a pointer
/home/utente/YADE-versions/yade-psd/pkg/dem/Engine/GlobalEngine/VTKRecorder.cpp:388:
error: 'vtkXMLMultiBlockDataWriter' was not declared in this scope
/home/utente/YADE-versions/yade-psd/pkg/dem/Engine/GlobalEngine/VTKRecorder.cpp:388:
error: template argument 1 is invalid
/home/utente/YADE-versions/yade-psd/pkg/dem/Engine/GlobalEngine/VTKRecorder.cpp:388:
error: invalid type in declaration before '=' token
/home/utente/YADE-versions/yade-psd/pkg/dem/Engine/GlobalEngine/VTKRecorder.cpp:388:
error: 'vtkXMLMultiBlockDataWriter' cannot appear in a constant-expression
/home/utente/YADE-versions/yade-psd/pkg/dem/Engine/GlobalEngine/VTKRecorder.cpp:388:
error: template argument 1 is invalid
/home/utente/YADE-versions/yade-psd/pkg/dem/Engine/GlobalEngine/VTKRecorder.cpp:390:
error: base operand of '->' is not a pointer
/home/utente/YADE-versions/yade-psd/pkg/dem/Engine/GlobalEngine/VTKRecorder.cpp:391:
error: base operand of '->' is not a pointer
/home/utente/YADE-versions/yade-psd/pkg/dem/Engine/GlobalEngine/VTKRecorder.cpp:392:
error: base operand of '->' is not a pointer
> /home/utente/YADE-versions/build-bzr2393/plugins4.cpp
C /home/utente/YADE-versions/build-bzr2393/plugins4.cpp
scons: *** [/home/utente/YADE-versions/build-bzr2393/plugins3.os] Error 1
scons: building terminated because of errors.