<div>Thanks, those messages are gone, but I now have unresolved errors such as: </div>
<div> </div>
<div>vtkRendering.lib(vtkOpenGLTexture.obj) : error LNK2001: unresolved external symbol <a href="mailto:__imp__glDeleteTextures@8">__imp__glDeleteTextures@8</a></div>
<div> </div>
<div>am I missing a lib file? Sorry if I may ask basics questions, I am aware I'm a beginner in this and appreciate your help,</div>
<div>Pascale</div>
<div><br><br><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></div>
<div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">You just missing #include <windows.h> before #include <GL/gl.h>. A classic.<br><br><a href="http://www.opengl.org/resources/faq/technical/gettingstarted.htm#0020">http://www.opengl.org/resources/faq/technical/gettingstarted.htm#0020</a><br>
<br>PS: Keep the thread on the list please.<br><br>On Wed, Aug 20, 2008 at 4:52 PM, Pascale Beliveau <<a href="mailto:beliveaup@gmail.com">beliveaup@gmail.com</a>> wrote:<br>> No, VTK was successfully compiled. This error message is happening when I am<br>
> compiling my own program. This problem appeared when I included #include<br>> <GL/gl.h><br>><br>> Thanks for helping,<br>> Pascale<br>><br>><br>> On 8/20/08, Francois Bertel <<a href="mailto:francois.bertel@kitware.com">francois.bertel@kitware.com</a>> wrote:<br>
>><br>>> 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>><br>>> wrote:<br>
>> > Hi VTK users,<br>>> ><br>>> > I am relatively new with VTK, trying to install it and having<br>>> > problems<br>>> > with including the OpenGL file that will allow me to use the VTK viewer.<br>
>> > 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 :<br>
>> > '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<br>
>> > 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:<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>