[Paraview] need help to compile on opensolaris

David Cole david.cole at kitware.com
Tue Nov 25 15:08:43 EST 2008


Also merged to the VTK-5-2 branch:
    /cvsroot/VTK/VTK/Rendering/vtkOpenGLExtensionManager.cxx,v  <--
 Rendering/vtkOpenGLExtensionManager.cxx
    new revision: 1.31.2.1; previous revision: 1.31



On Tue, Nov 25, 2008 at 2:44 PM, Berk Geveci <berk.geveci at kitware.com>wrote:

> 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
> >
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20081125/21722dcc/attachment.htm>


More information about the ParaView mailing list