Have you tried explicitly linking in the OpenGL libraries in your project?<div><br></div><div>target_link_libraries(<your_library_or_executable> ${OPENGL_gl_LIBRARY})<br><br><div class="gmail_quote">On Tue, Apr 6, 2010 at 5:20 AM, Rakesh Patil <span dir="ltr"><<a href="mailto:rakeshthp@in.com">rakeshthp@in.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello,<br><br>I'm unable to use VTK 5.6 on my pc... I'm working on Windows XP, using Microsoft Visual C++ express edition..<br>
<br>Using CMAKE I generated visual studio project of VTK and generate libraries also. But when i link them into my project, i get linker error,<br><br>unresolved symbol import gl_***********..<br><br>This error is given for most of the vtk*.lib files..<br>
<br>Whats the solution for this.??<br><br>Thanks<br>Rakesh Patil<br><br><br><div style="border-top:1px dashed #ccc;border-bottom:1px dashed #ccc;padding:5px"><a href="http://mail.in.com/mails/new_reg.php?utm_source=invite&utm_medium=outgoing" style="font:13px arial;color:#1E56A1;text-decoration:none" target="_blank">Dear <b>VTK !</b> Get Yourself a cool, short <b>@in.com</b> Email ID now!</a></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>