Also merged to the VTK-5-2 branch:<div><div><br></div><div> /cvsroot/VTK/VTK/Rendering/vtkOpenGLExtensionManager.cxx,v <-- Rendering/vtkOpenGLExtensionManager.cxx</div><div> new revision: <a href="http://1.31.2.1">1.31.2.1</a>; previous revision: 1.31</div>
<div><br></div><div><br></div><br><div class="gmail_quote">On Tue, Nov 25, 2008 at 2:44 PM, Berk Geveci <span dir="ltr"><<a href="mailto:berk.geveci@kitware.com">berk.geveci@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Gerard,<br>
<br>
This is now fixed on cvs head and 3.4 branch. See<br>
<a href="http://www.vtk.org/pipermail/vtkusers/2008-October/097815.html" target="_blank">http://www.vtk.org/pipermail/vtkusers/2008-October/097815.html</a> for<br>
more information. Thanks for the report.<br>
<font color="#888888"><br>
-berk<br>
</font><div><div></div><div class="Wj3C7c"><br>
On Thu, Nov 20, 2008 at 5:05 AM, Gérard Henry <<a href="mailto:ghenry@cmi.univ-mrs.fr">ghenry@cmi.univ-mrs.fr</a>> wrote:<br>
> hello all,<br>
> i'm trying to compile paraview-3.4.0, and compile failed here:<br>
><br>
> "/export/home/henry/projects/ParaView-3.4.0/VTK/Rendering/vtkOpenGLExtensionManager.cxx",<br>
> line 267: Error: The function "glXGetProcAddressARB" must have a prototype.<br>
> "/export/home/henry/projects/ParaView-3.4.0/VTK/Rendering/vtkOpenGLExtensionManager.cxx",<br>
> line 267: Error: Using static_cast to convert from int to extern "C"<br>
> void(*)() not allowed.<br>
><br>
> what i see is that vtkOpenGLExtensionManager.cxx contains:<br>
> return<br>
> static_cast<vtkOpenGLExtensionManagerFunctionPointer>(glXGetProcAddressARB(reinterpret_cast<const<br>
> GLubyte *>(fname)));<br>
><br>
> and my GL/glx.h contains:<br>
> typedef void (*__GLXextFuncPtr)(void);<br>
> extern __GLXextFuncPtr glXGetProcAddressARB (const GLubyte *);<br>
><br>
> i suppose the problem is that compiler considers the above declaration<br>
> different?<br>
> I'm not a C++ dev, i just need to compile paraview. If someone can help,<br>
><br>
> thanks in advance,<br>
><br>
> gerard<br>
><br>
> _______________________________________________<br>
> ParaView mailing list<br>
> <a href="mailto:ParaView@paraview.org">ParaView@paraview.org</a><br>
> <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
><br>
_______________________________________________<br>
ParaView mailing list<br>
<a href="mailto:ParaView@paraview.org">ParaView@paraview.org</a><br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
</div></div></blockquote></div><br></div>