<div>Thank you! You are right, I found that I was missing opengl32.lib in the project properties. </div>
<div> </div>
<div>I really appreciate your help, </div>
<div>Have a nice day,</div>
<div>Pascale<br><br> </div>
<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">The solution is in the link I sent (see the table ). Please read it.<br>You are probably missing opengl32.lib, glu32.lib, or glut32.lib.<br>
<br><br><br>On Wed, Aug 20, 2008 at 5:10 PM, Pascale Beliveau <<a href="mailto:beliveaup@gmail.com">beliveaup@gmail.com</a>> wrote:<br>> Thanks, those messages are gone, but I now have unresolved errors such as:<br>
><br>> vtkRendering.lib(vtkOpenGLTexture.obj) : error LNK2001: unresolved external<br>> symbol __imp__glDeleteTextures@8<br>><br>> am I missing a lib file? Sorry if I may ask basics questions, I am aware I'm<br>
> a beginner in this and appreciate your help,<br>> Pascale<br>><br>> On 8/20/08, Francois Bertel <<a href="mailto:francois.bertel@kitware.com">francois.bertel@kitware.com</a>> wrote:<br>>><br>>> You just missing #include <windows.h> before #include <GL/gl.h>. A<br>
>> 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>><br>>> wrote:<br>>> > No, VTK was successfully compiled. This error message is happening when<br>
>> > 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<br>
>> >> > 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:<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>