<div>Thank you! You are right, I found that I was missing opengl32.lib in the project properties. </div>
<div>&nbsp;</div>
<div>I really appreciate your help, </div>
<div>Have a nice day,</div>
<div>Pascale<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 8/20/08, <b class="gmail_sendername">Francois Bertel</b> &lt;<a href="mailto:francois.bertel@kitware.com">francois.bertel@kitware.com</a>&gt; 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 &lt;<a href="mailto:beliveaup@gmail.com">beliveaup@gmail.com</a>&gt; wrote:<br>&gt; Thanks, those messages are gone, but I now have unresolved errors such as:<br>
&gt;<br>&gt; vtkRendering.lib(vtkOpenGLTexture.obj) : error LNK2001: unresolved external<br>&gt; symbol __imp__glDeleteTextures@8<br>&gt;<br>&gt; am I missing a lib file? Sorry if I may ask basics questions, I am aware I&#39;m<br>
&gt; a beginner in this and appreciate your help,<br>&gt; Pascale<br>&gt;<br>&gt; On 8/20/08, Francois Bertel &lt;<a href="mailto:francois.bertel@kitware.com">francois.bertel@kitware.com</a>&gt; wrote:<br>&gt;&gt;<br>&gt;&gt; You just missing #include &lt;windows.h&gt; before #include &lt;GL/gl.h&gt;. A<br>
&gt;&gt; classic.<br>&gt;&gt;<br>&gt;&gt; <a href="http://www.opengl.org/resources/faq/technical/gettingstarted.htm#0020">http://www.opengl.org/resources/faq/technical/gettingstarted.htm#0020</a><br>&gt;&gt;<br>&gt;&gt; PS: Keep the thread on the list please.<br>
&gt;&gt;<br>&gt;&gt; On Wed, Aug 20, 2008 at 4:52 PM, Pascale Beliveau &lt;<a href="mailto:beliveaup@gmail.com">beliveaup@gmail.com</a>&gt;<br>&gt;&gt; wrote:<br>&gt;&gt; &gt; No, VTK was successfully compiled. This error message is happening when<br>
&gt;&gt; &gt; I am<br>&gt;&gt; &gt; compiling my own program. This problem appeared when I included #include<br>&gt;&gt; &gt; &lt;GL/gl.h&gt;<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; Thanks for helping,<br>&gt;&gt; &gt; Pascale<br>
&gt;&gt; &gt;<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; On 8/20/08, Francois Bertel &lt;<a href="mailto:francois.bertel@kitware.com">francois.bertel@kitware.com</a>&gt; wrote:<br>&gt;&gt; &gt;&gt;<br>&gt;&gt; &gt;&gt; Is it happening when you are compiling VTK?<br>
&gt;&gt; &gt;&gt;<br>&gt;&gt; &gt;&gt; On Wed, Aug 20, 2008 at 4:44 PM, Pascale Beliveau &lt;<a href="mailto:beliveaup@gmail.com">beliveaup@gmail.com</a>&gt;<br>&gt;&gt; &gt;&gt; wrote:<br>&gt;&gt; &gt;&gt; &gt; Hi VTK users,<br>
&gt;&gt; &gt;&gt; &gt;<br>&gt;&gt; &gt;&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;I am relatively new with VTK, trying to install it and having<br>&gt;&gt; &gt;&gt; &gt; problems<br>&gt;&gt; &gt;&gt; &gt; with including the OpenGL file that will allow me to use the VTK<br>
&gt;&gt; &gt;&gt; &gt; viewer.<br>&gt;&gt; &gt;&gt; &gt; I<br>&gt;&gt; &gt;&gt; &gt; had the following error :<br>&gt;&gt; &gt;&gt; &gt;<br>&gt;&gt; &gt;&gt; &gt; C:\Program Files\Microsoft Visual Studio<br>&gt;&gt; &gt;&gt; &gt; 8\VC\PlatformSDK\include\GL/gl.h(1152) : error C2144: syntax error :<br>
&gt;&gt; &gt;&gt; &gt; &#39;void&#39;<br>&gt;&gt; &gt;&gt; &gt; should be preceded by &#39;;&#39;<br>&gt;&gt; &gt;&gt; &gt; C:\Program Files\Microsoft Visual Studio<br>&gt;&gt; &gt;&gt; &gt; 8\VC\PlatformSDK\include\GL/gl.h(1152) : error C4430: missing type<br>
&gt;&gt; &gt;&gt; &gt; specifier<br>&gt;&gt; &gt;&gt; &gt; - int assumed. Note: C++ does not support default-int<br>&gt;&gt; &gt;&gt; &gt;<br>&gt;&gt; &gt;&gt; &gt; occuring on the following line:<br>&gt;&gt; &gt;&gt; &gt; WINGDIAPI void APIENTRY glAccum (GLenum op, GLfloat value);<br>
&gt;&gt; &gt;&gt; &gt; of file: gl.h<br>&gt;&gt; &gt;&gt; &gt;<br>&gt;&gt; &gt;&gt; &gt; Does anyone have an idea what I am missing?<br>&gt;&gt; &gt;&gt; &gt;<br>&gt;&gt; &gt;&gt; &gt; Thanks in advance for the help!<br>&gt;&gt; &gt;&gt; &gt; Pascale<br>
&gt;&gt; &gt;&gt; &gt; _______________________________________________<br>&gt;&gt; &gt;&gt; &gt; This is the private VTK discussion list.<br>&gt;&gt; &gt;&gt; &gt; Please keep messages on-topic. Check the FAQ at:<br>&gt;&gt; &gt;&gt; &gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt;&gt; &gt;&gt; &gt; Follow this link to subscribe/unsubscribe:<br>&gt;&gt; &gt;&gt; &gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;<br>&gt;&gt; &gt;&gt;<br>&gt;&gt; &gt;&gt;<br>&gt;&gt; &gt;&gt;<br>&gt;&gt; &gt;&gt; --<br>&gt;&gt; &gt;&gt; François Bertel, PhD | Kitware Inc. Suite 204<br>&gt;&gt; &gt;&gt; 1 (518) 371 3971 x113 | 28 Corporate Drive<br>
&gt;&gt; &gt;&gt; | Clifton Park NY 12065, USA<br>&gt;&gt; &gt;&gt; _______________________________________________<br>&gt;&gt; &gt;&gt; This is the private VTK discussion list.<br>&gt;&gt; &gt;&gt; Please keep messages on-topic. Check the FAQ at:<br>
&gt;&gt; &gt;&gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><br>&gt;&gt; &gt;&gt; Follow this link to subscribe/unsubscribe:<br>&gt;&gt; &gt;&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt;&gt; &gt;<br>&gt;&gt; &gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; --<br>&gt;&gt; François Bertel, PhD | Kitware Inc. Suite 204<br>&gt;&gt; 1 (518) 371 3971 x113 | 28 Corporate Drive<br>&gt;&gt; | Clifton Park NY 12065, USA<br>
&gt;&gt; _______________________________________________<br>&gt;&gt; This is the private VTK discussion list.<br>&gt;&gt; Please keep messages on-topic. Check the FAQ at:<br>&gt;&gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt;&gt; Follow this link to subscribe/unsubscribe:<br>&gt;&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>&gt;<br>&gt;<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>