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

Moreland, Kenneth kmorel at sandia.gov
Thu Dec 1 09:59:14 EST 2005


Jason,

I'm guessing CMake did not find X11 correctly.  Under the advanced
options in ccmake, make sure all the fields starting with X11_ are
filled in correctly.

-Ken

> -----Original Message-----
> From: paraview-bounces+kmorel=sandia.gov at paraview.org 
> [mailto:paraview-bounces+kmorel=sandia.gov at paraview.org] On 
> Behalf Of Jason.Beech-Brandt at ed.ac.uk
> Sent: Thursday, December 01, 2005 6:24 AM
> To: paraview at paraview.org
> Subject: [Paraview] problem building paraview-2.2.1 with 
> pathscale-2.3 compiler
> 
> 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/vtkOpenGLExten
> sionManager.cxx
> /home/jbbrand1/src/paraview-2.2.1/VTK/Rendering/vtkOpenGLExten
> sionManager.cxx:37:
> error: syntax
>    error before `::' token
> /home/jbbrand1/src/paraview-2.2.1/VTK/Rendering/vtkOpenGLExten
> sionManager.cxx:
> In
>    member function `virtual void (*
>    vtkOpenGLExtensionManager::GetProcAddress(const char*))()':
> /home/jbbrand1/src/paraview-2.2.1/VTK/Rendering/vtkOpenGLExten
> sionManager.cxx:195:
> error: `
>    glXGetProcAddressARB' undeclared (first use this function)
> /home/jbbrand1/src/paraview-2.2.1/VTK/Rendering/vtkOpenGLExten
> sionManager.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/vtkOpenGLExten
> sionManager.cxx:
> In
>    member function `virtual void
>    vtkOpenGLExtensionManager::ReadOpenGLExtensions()':
> /home/jbbrand1/src/paraview-2.2.1/VTK/Rendering/vtkOpenGLExten
> sionManager.cxx:349:
> error: `
>    glXGetCurrentDisplay' undeclared (first use this function)
> /home/jbbrand1/src/paraview-2.2.1/VTK/Rendering/vtkOpenGLExten
> sionManager.cxx:350:
> error: `
>    GLX_EXTENSIONS' undeclared (first use this function)
> /home/jbbrand1/src/paraview-2.2.1/VTK/Rendering/vtkOpenGLExten
> sionManager.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
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
> 
> 



More information about the ParaView mailing list