[Paraview] Compile error using MANGLED_MESA

Orion Poplawski orion at cora.nwra.com
Wed May 31 16:38:07 EDT 2006


I get the following trying to compile 2.4.3 using VTK_USE_MANGLED_MESA:

g++  -DvtkRendering_EXPORTS -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 
-march=i386 -mtune=generic -fasynchronous-unwind-tables  -Wno-deprecated 
  -Wno-deprecated -fPIC -I/builddir/build/BUILD/paraview-2.4.3/fedora 
-I/builddir/build/BUILD/paraview-2.4.3/fedora/VTK/Utilities 
-I/builddir/build/BUILD/paraview-2.4.3/fedora/VTK 
-I/builddir/build/BUILD/paraview-2.4.3/fedora/VTK/VolumeRendering 
-I/builddir/build/BUILD/paraview-2.4.3/fedora/VTK/Rendering 
-I/builddir/build/BUILD/paraview-2.4.3/VTK/Parallel 
-I/builddir/build/BUILD/paraview-2.4.3/VTK/VolumeRendering 
-I/builddir/build/BUILD/paraview-2.4.3/VTK/Hybrid 
-I/builddir/build/BUILD/paraview-2.4.3/VTK/Widgets 
-I/builddir/build/BUILD/paraview-2.4.3/VTK/Rendering 
-I/builddir/build/BUILD/paraview-2.4.3/VTK/Rendering/Testing/Cxx 
-I/builddir/build/BUILD/paraview-2.4.3/VTK/IO 
-I/builddir/build/BUILD/paraview-2.4.3/VTK/Imaging 
-I/builddir/build/BUILD/paraview-2.4.3/VTK/Graphics 
-I/builddir/build/BUILD/paraview-2.4.3/VTK/GenericFiltering 
-I/builddir/build/BUILD/paraview-2.4.3/VTK/Filtering 
-I/builddir/build/BUILD/paraview-2.4.3/VTK/Common 
-I/builddir/build/BUILD/paraview-2.4.3/VTK/Utilities 
-I/builddir/build/BUILD/paraview-2.4.3/VTK/Common/Testing/Cxx 
-I/builddir/build/BUILD/paraview-2.4.3/fedora/VTK/Utilities/DICOMParser 
-I/builddir/build/BUILD/paraview-2.4.3/VTK/Utilities/DICOMParser 
-I/builddir/build/BUILD/paraview-2.4.3/fedora/VTK/Utilities/vtknetcdf 
-I/builddir/build/BUILD/paraview-2.4.3/VTK/Utilities/vtknetcdf 
-I/builddir/build/BUILD/paraview-2.4.3/fedora/VTK/Utilities/vtkexodus2/include 
-I/builddir/build/BUILD/paraview-2.4.3/VTK/Utilities/vtkexodus2/include 
-I/builddir/build/BUILD/paraview-2.4.3/fedora/VTK/Utilities/MaterialLibrary 
-I/builddir/build/BUILD/paraview-2.4.3/VTK/Utilities/MaterialLibrary 
-I/builddir/build/BUILD/paraview-2.4.3/VTK/Utilities/vtkfreetype/include 
-I/builddir/build/BUILD/paraview-2.4.3/fedora/VTK/Utilities/vtkfreetype 
-I/builddir/build/BUILD/paraview-2.4.3/VTK/Utilities/ftgl/src 
-I/builddir/build/BUILD/paraview-2.4.3/fedora/VTK/Utilities/ftgl 
-I/usr/include/freetype2   -DVTK_PYTHON_BUILD -DVTK_IN_VTK -o 
VTK/Rendering/CMakeFiles/vtkRendering.dir/vtkXMesaRenderWindow.o -c 
/builddir/build/BUILD/paraview-2.4.3/VTK/Rendering/vtkXMesaRenderWindow.cxx
/builddir/build/BUILD/paraview-2.4.3/VTK/Rendering/vtkXOpenGLRenderWindow.cxx:1297: 
error: no 'int* vtkXMesaRenderWindow::GetSize()' member function 
declared in class 'vtkXMesaRenderWindow'

Other RenderWindow classes define it but not vtkXMesaRenderWindow (or 
vtkMesaRenderWindow):

$ grep GetSize ../VTK/Rendering/*RenderWindow.h
../VTK/Rendering/vtkCarbonRenderWindow.h:  virtual int *GetSize();
../VTK/Rendering/vtkCocoaRenderWindow.h:  virtual int *GetSize();
../VTK/Rendering/vtkWin32OpenGLRenderWindow.h:  virtual int *GetSize();
../VTK/Rendering/vtkWinCEOpenGLRenderWindow.h:  virtual int *GetSize();
../VTK/Rendering/vtkXOpenGLRenderWindow.h:  virtual int     *GetSize();


-- 
Orion Poplawski
System Administrator                   303-415-9701 x222
Colorado Research Associates/NWRA      FAX: 303-415-9702
3380 Mitchell Lane, Boulder CO 80301   http://www.co-ra.com


More information about the ParaView mailing list