Also merged to the VTK-5-2 branch:<div><div><br></div><div>&nbsp;&nbsp; &nbsp;/cvsroot/VTK/VTK/Rendering/vtkOpenGLExtensionManager.cxx,v &nbsp;&lt;-- &nbsp;Rendering/vtkOpenGLExtensionManager.cxx</div><div>&nbsp;&nbsp; &nbsp;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">&lt;<a href="mailto:berk.geveci@kitware.com">berk.geveci@kitware.com</a>&gt;</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 &lt;<a href="mailto:ghenry@cmi.univ-mrs.fr">ghenry@cmi.univ-mrs.fr</a>&gt; wrote:<br>
&gt; hello all,<br>
&gt; i&#39;m trying to compile paraview-3.4.0, and compile failed here:<br>
&gt;<br>
&gt; &quot;/export/home/henry/projects/ParaView-3.4.0/VTK/Rendering/vtkOpenGLExtensionManager.cxx&quot;,<br>
&gt; line 267: Error: The function &quot;glXGetProcAddressARB&quot; must have a prototype.<br>
&gt; &quot;/export/home/henry/projects/ParaView-3.4.0/VTK/Rendering/vtkOpenGLExtensionManager.cxx&quot;,<br>
&gt; line 267: Error: Using static_cast to convert from int to extern &quot;C&quot;<br>
&gt; void(*)() not allowed.<br>
&gt;<br>
&gt; what i see is that vtkOpenGLExtensionManager.cxx contains:<br>
&gt; return<br>
&gt; static_cast&lt;vtkOpenGLExtensionManagerFunctionPointer&gt;(glXGetProcAddressARB(reinterpret_cast&lt;const<br>
&gt; GLubyte *&gt;(fname)));<br>
&gt;<br>
&gt; and my GL/glx.h contains:<br>
&gt; typedef void (*__GLXextFuncPtr)(void);<br>
&gt; extern __GLXextFuncPtr glXGetProcAddressARB (const GLubyte *);<br>
&gt;<br>
&gt; i suppose the problem is that compiler considers the above declaration<br>
&gt; different?<br>
&gt; I&#39;m not a C++ dev, i just need to compile paraview. If someone can help,<br>
&gt;<br>
&gt; thanks in advance,<br>
&gt;<br>
&gt; gerard<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; ParaView mailing list<br>
&gt; <a href="mailto:ParaView@paraview.org">ParaView@paraview.org</a><br>
&gt; <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
&gt;<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>