[Paraview] Problem compiling v3.10 + Python...

Stefan Melber Stefan.Melber at DLR.de
Tue Mar 22 06:42:27 EDT 2011


Hi,

i tried to compile the 3.10 release of ParaView. Without pyton, 
everything is fine. However, enabling python, i got the output below.

Any ideas / suggestions?

      Stefan


[ 24%] Building CXX object 
VTK/GenericFiltering/CMakeFiles/vtkGenericFiltering.dir/vtkGenericGeometryFilter.cxx.o 

[ 24%] Building CXX object 
VTK/GenericFiltering/CMakeFiles/vtkGenericFiltering.dir/vtkGenericClip.cxx.o 

[ 24%] Building CXX object 
VTK/GenericFiltering/CMakeFiles/vtkGenericFiltering.dir/vtkGenericProbeFilter.cxx.o 

[ 24%] Building CXX object 
VTK/GenericFiltering/CMakeFiles/vtkGenericFiltering.dir/vtkGenericDataSetTessellator.cxx.o 

[ 24%] Building CXX object 
VTK/GenericFiltering/CMakeFiles/vtkGenericFiltering.dir/vtkGenericCutter.cxx.o 

[ 24%] Building CXX object 
VTK/GenericFiltering/CMakeFiles/vtkGenericFiltering.dir/vtkGenericGlyph3DFilter.cxx.o 

[ 24%] Building CXX object 
VTK/GenericFiltering/CMakeFiles/vtkGenericFiltering.dir/vtkGenericStreamTracer.cxx.o 

[ 24%] Building CXX object 
VTK/GenericFiltering/CMakeFiles/vtkGenericFiltering.dir/vtkGenericOutlineFilter.cxx.o 

[ 24%] Building CXX object 
VTK/GenericFiltering/CMakeFiles/vtkGenericFiltering.dir/vtkGenericFilteringInstantiator.cxx.o 

Linking CXX shared library ../../bin/libvtkGenericFiltering.so
For vtkGenericFiltering - updating vtkGenericFilteringHierarchy.txt
[ 24%] Built target vtkGenericFiltering
Scanning dependencies of target vtkGenericFilteringPythonD
Linking CXX shared library ../../bin/libvtkGenericFilteringPythonD.so
[ 24%] Built target vtkGenericFilteringPythonD
Scanning dependencies of target vtkGenericFilteringPython
Linking CXX shared module ../../bin/vtkGenericFilteringPython.so
[ 24%] Built target vtkGenericFilteringPython
[ 25%] Built target vtkIO
[ 25%] Building CXX object 
VTK/IO/CMakeFiles/vtkIOPythonD.dir/vtkSQLDatabaseSchemaPython.cxx.o
In file included from 
/opt/PARAVIEW_3_10/ParaView-3.10.0.bin/VTK/IO/vtkSQLDatabaseSchemaPython.cxx:13:0: 

/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h:78:7: 
error: expected identifier before string constant
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h:78:7: 
error: expected '}' before string constant
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h:78:7: 
error: expected unqualified-id before string constant
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h:123:50: 
error: 'virtual' outside class declaration
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h:127:45: 
error: 'virtual' outside class declaration
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h:135:41: 
error: 'virtual' outside class declaration
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h:138:41: 
error: 'virtual' outside class declaration
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h: In 
function 'int AddColumnToTable(const char*, int, const char*, int, const 
char*)':
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h:140:12: 
error: invalid use of 'this' in non-member function
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h:140:36: 
error: invalid use of 'this' in non-member function
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h: At 
global scope:
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h:149:53: 
error: 'virtual' outside class declaration
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h:151:59: 
error: 'virtual' outside class declaration
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h: In 
function 'int AddIndexToTable(const char*, int, const char*)':
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h:153:12: 
error: invalid use of 'this' in non-member function
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h:153:35: 
error: invalid use of 'this' in non-member function
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h: At 
global scope:
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h:161:77: 
error: 'virtual' outside class declaration
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h:163:67: 
error: 'virtual' outside class declaration
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h: In 
function 'int AddColumnToIndex(const char*, const char*, const char*)':
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h:165:21: 
error: invalid use of 'this' in non-member function
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h:166:12: 
error: invalid use of 'this' in non-member function
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h:167:7: 
error: invalid use of 'this' in non-member function
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h:168:7: 
error: invalid use of 'this' in non-member function
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h: At 
global scope:
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h:178:73: 
error: 'virtual' outside class declaration
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h:181:73: 
error: 'virtual' outside class declaration
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h: In 
function 'int AddTriggerToTable(const char*, int, const char*, const 
char*, const char*)':
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h:183:12: 
error: invalid use of 'this' in non-member function
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h:183:37: 
error: invalid use of 'this' in non-member function
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h: At 
global scope:
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h:199:50: 
error: 'virtual' outside class declaration
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h:202:50: 
error: 'virtual' outside class declaration
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h: In 
function 'int AddOptionToTable(const char*, const char*, const char*)':
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h:204:12: 
error: invalid use of 'this' in non-member function
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h:204:36: 
error: invalid use of 'this' in non-member function
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h: At 
global scope:
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h:331:3: 
error: 'virtual' outside class declaration
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h: In 
function 'void SetName(const char*)':
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h:331:3: 
error: invalid use of 'this' in non-member function
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h:331:3: 
error: invalid use of 'this' in non-member function
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h:331:3: 
error: invalid use of 'this' in non-member function
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h:331:3: 
error: invalid use of 'this' in non-member function
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h:331:3: 
error: invalid use of 'this' in non-member function
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h:331:3: 
error: invalid use of 'this' in non-member function
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h:331:3: 
error: invalid use of 'this' in non-member function
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h:331:3: 
error: invalid use of 'this' in non-member function
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h:331:3: 
error: invalid use of 'this' in non-member function
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h:331:3: 
error: invalid use of 'this' in non-member function
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h:331:3: 
error: invalid use of 'this' in non-member function
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h:331:3: 
error: invalid use of 'this' in non-member function
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h:331:3: 
error: invalid use of 'this' in non-member function
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h: At 
global scope:
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h:332:3: 
error: 'virtual' outside class declaration
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h: In 
function 'char* GetName()':
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h:332:3: 
error: invalid use of 'this' in non-member function
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h:332:3: 
error: invalid use of 'this' in non-member function
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h:332:3: 
error: invalid use of 'this' in non-member function
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h:332:3: 
error: invalid use of 'this' in non-member function
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h:332:3: 
error: invalid use of 'this' in non-member function
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h:332:3: 
error: invalid use of 'this' in non-member function
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h:332:3: 
error: invalid use of 'this' in non-member function
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h:332:3: 
error: invalid use of 'this' in non-member function
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h: At 
global scope:
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h:378:2: 
error: expected unqualified-id before 'protected'
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h:380:26: 
error: expected constructor, destructor, or type conversion before ';' token
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h:387:2: 
error: expected unqualified-id before 'private'
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h:389:46: 
error: 'void operator=(const vtkSQLDatabaseSchema&)' must be a nonstatic 
member function
/opt/PARAVIEW_3_10/ParaView-3.10.0/VTK/IO/vtkSQLDatabaseSchema.h:390:1: 
error: expected declaration before '}' token
make[2]: *** 
[VTK/IO/CMakeFiles/vtkIOPythonD.dir/vtkSQLDatabaseSchemaPython.cxx.o] 
Error 1
make[1]: *** [VTK/IO/CMakeFiles/vtkIOPythonD.dir/all] Error 2
make: *** [all] Error 2


=================================================================

                                     Stefan Melber-Wilkending
                      _/
                    _/_/             Fields of activities:
                  _/  _/             -) High-Lift Research
          _/_/_/_/_/_/_/_/_/_/       -) Complex Configurations
        _/    _/    _/    _/         -) Numerical Wind-Tunnel
      _/    _/    _/    _/           -) Wind-Tunnel Design
    _/_/_/_/_/_/_/_/_/_/             -) Supercomputing
          _/  _/  _      _           -) Visualisation Techniques
          _/_/   | \ |  |_|          -) Glider-Aerodynamics
          _/     |_/ |_ | \
                                     German Aerospace Center, DLR
                                     in the Helmholtz-Association
   Phone ..: +49 531/295-2836        Institute of Aerodynamics
   Fax. ...: +49 531/295-2914        and Flow Technology
   Email ..: Stefan.Melber at dlr.de    Lilienthalplatz 7
   Web ....: http://www.dlr.de/AS    D-38108 Braunschweig/Germany
=================================================================

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20110322/e4398132/attachment-0001.htm>


More information about the ParaView mailing list