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 <[EMAIL PROTECTED]>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 <[EMAIL PROTECTED]>
> 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@paraview.org
> > http://www.paraview.org/mailman/listinfo/paraview
> >
> _______________________________________________
> ParaView mailing list
> ParaView@paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
>
_______________________________________________
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to