[Paraview] need help to compile on opensolaris

Berk Geveci berk.geveci at kitware.com
Tue Nov 25 14:44:18 EST 2008


Hi Gerard,

This is now fixed on cvs head and 3.4 branch. See
http://www.vtk.org/pipermail/vtkusers/2008-October/097815.html for
more information. Thanks for the report.

-berk

On Thu, Nov 20, 2008 at 5:05 AM, Gérard Henry <ghenry at cmi.univ-mrs.fr> wrote:
> hello all,
> i'm trying to compile paraview-3.4.0, and compile failed here:
>
> "/export/home/henry/projects/ParaView-3.4.0/VTK/Rendering/vtkOpenGLExtensionManager.cxx",
> line 267: Error: The function "glXGetProcAddressARB" must have a prototype.
> "/export/home/henry/projects/ParaView-3.4.0/VTK/Rendering/vtkOpenGLExtensionManager.cxx",
> line 267: Error: Using static_cast to convert from int to extern "C"
> void(*)() not allowed.
>
> what i see is that vtkOpenGLExtensionManager.cxx contains:
> return
> static_cast<vtkOpenGLExtensionManagerFunctionPointer>(glXGetProcAddressARB(reinterpret_cast<const
> GLubyte *>(fname)));
>
> and my GL/glx.h contains:
> typedef void (*__GLXextFuncPtr)(void);
> extern __GLXextFuncPtr glXGetProcAddressARB (const GLubyte *);
>
> i suppose the problem is that compiler considers the above declaration
> different?
> I'm not a C++ dev, i just need to compile paraview. If someone can help,
>
> thanks in advance,
>
> gerard
>
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
>


More information about the ParaView mailing list