<div>No, VTK was successfully compiled. This error message is happening when I am compiling my own program. This problem appeared when I included #include <GL/gl.h></div>
<div> </div>
<div>Thanks for helping,</div>
<div>Pascale</div><br><br>
<div><span class="gmail_quote">On 8/20/08, <b class="gmail_sendername">Francois Bertel</b> <<a href="mailto:francois.bertel@kitware.com">francois.bertel@kitware.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Is it happening when you are compiling VTK?<br><br>On Wed, Aug 20, 2008 at 4:44 PM, Pascale Beliveau <<a href="mailto:beliveaup@gmail.com">beliveaup@gmail.com</a>> wrote:<br>
> Hi VTK users,<br>><br>> I am relatively new with VTK, trying to install it and having problems<br>> with including the OpenGL file that will allow me to use the VTK viewer. I<br>> had the following error :<br>
><br>> C:\Program Files\Microsoft Visual Studio<br>> 8\VC\PlatformSDK\include\GL/gl.h(1152) : error C2144: syntax error : 'void'<br>> should be preceded by ';'<br>> C:\Program Files\Microsoft Visual Studio<br>
> 8\VC\PlatformSDK\include\GL/gl.h(1152) : error C4430: missing type specifier<br>> - int assumed. Note: C++ does not support default-int<br>><br>> occuring on the following line:<br>> WINGDIAPI void APIENTRY glAccum (GLenum op, GLfloat value);<br>
> of file: gl.h<br>><br>> Does anyone have an idea what I am missing?<br>><br>> Thanks in advance for the help!<br>> Pascale<br>> _______________________________________________<br>> This is the private VTK discussion list.<br>
> Please keep messages on-topic. Check the FAQ at:<br>> <a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><br>> Follow this link to subscribe/unsubscribe:<br>> <a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
><br>><br><br><br><br>--<br>François Bertel, PhD | Kitware Inc. Suite 204<br>1 (518) 371 3971 x113 | 28 Corporate Drive<br>| Clifton Park NY 12065, USA<br>_______________________________________________<br>This is the private VTK discussion list.<br>
Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br>