[Paraview] problem building paraview-2.2.1 with pathscale-2.3 compiler

Jason.Beech-Brandt at ed.ac.uk Jason.Beech-Brandt at ed.ac.uk
Thu Dec 1 08:23:33 EST 2005


Hi,

I'm trying to build paraview-2.2.1 with the PathScale-2.3 compiler on
an Opteron SuSE-9.3 platform and
have hit a snag.  When trying to compile vtkOpenGLExtensionManager.cxx I
get the following error

pathCC -o vtkOpenGLExtensionManager.o -DvtkRendering_EXPORTS
-Wno-deprecated  -Wno-deprecated -O3
-fPIC -Ilots_of_include_directories -c
/home/jbbrand1/src/paraview-2.2.1/VTK/Rendering/vtkOpenGLExtensionManager.cxx
/home/jbbrand1/src/paraview-2.2.1/VTK/Rendering/vtkOpenGLExtensionManager.cxx:37:
error: syntax
   error before `::' token
/home/jbbrand1/src/paraview-2.2.1/VTK/Rendering/vtkOpenGLExtensionManager.cxx:
In
   member function `virtual void (*
   vtkOpenGLExtensionManager::GetProcAddress(const char*))()':
/home/jbbrand1/src/paraview-2.2.1/VTK/Rendering/vtkOpenGLExtensionManager.cxx:195:
error: `
   glXGetProcAddressARB' undeclared (first use this function)
/home/jbbrand1/src/paraview-2.2.1/VTK/Rendering/vtkOpenGLExtensionManager.cxx:195:
error: (Each
   undeclared identifier is reported only once for each function it
appears
   in.)
/home/jbbrand1/src/paraview-2.2.1/VTK/Rendering/vtkOpenGLExtensionManager.cxx:
In
   member function `virtual void
   vtkOpenGLExtensionManager::ReadOpenGLExtensions()':
/home/jbbrand1/src/paraview-2.2.1/VTK/Rendering/vtkOpenGLExtensionManager.cxx:349:
error: `
   glXGetCurrentDisplay' undeclared (first use this function)
/home/jbbrand1/src/paraview-2.2.1/VTK/Rendering/vtkOpenGLExtensionManager.cxx:350:
error: `
   GLX_EXTENSIONS' undeclared (first use this function)
/home/jbbrand1/src/paraview-2.2.1/VTK/Rendering/vtkOpenGLExtensionManager.cxx:350:
error: `
   glXGetClientString' undeclared (first use this function)
make[5]: *** [vtkOpenGLExtensionManager.o] Error 1
make[5]: Leaving directory
`/home/jbbrand1/src/paraview-2.2.1/platforms/linuxAMD64pathCC/VTK/Rendering'
make[4]: *** [default_target] Error 2
make[4]: Leaving directory
`/home/jbbrand1/src/paraview-2.2.1/platforms/linuxAMD64pathCC/VTK/Rendering'
make[3]: *** [default_target_Rendering] Error 2
make[3]: Leaving directory
`/home/jbbrand1/src/paraview-2.2.1/platforms/linuxAMD64pathCC/VTK'
make[2]: *** [default_target] Error 2
make[2]: Leaving directory
`/home/jbbrand1/src/paraview-2.2.1/platforms/linuxAMD64pathCC/VTK'
make[1]: *** [default_target_VTK] Error 2
make[1]: Leaving directory
`/home/jbbrand1/src/paraview-2.2.1/platforms/linuxAMD64pathCC'
make: *** [default_target] Error 2

The first error appears to be syntax error which corresponds to an extern
statement in the source file.  Is this a genuine syntax error, or is my
compiler not parsing this correctly?  This compiled fine on the same
platform with gcc-4.0.1.  Any help appreciated!

Thanks,

Jason


More information about the ParaView mailing list