<div dir="ltr"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="font-family:arial,sans-serif;font-size:13px">
I have not run msbuild at all. I was trying to compile VTK from source and at the initial stage to configure VTK in CMake.</div></blockquote><div><br></div><div>That makes sense, not sure where I was going with that.</div>
<div><br></div><div>WindowsSDK is needed to provide Qt with the OpenGL bindings.  On my machine, GlU32.Lib and OpenGL32.Lib are located in C:/Program Files/Microsoft SDKs/Windows/v7.1/Lib and adding this path to the CMAKE_PREFIX_PATH variable has solved this for me.  See [1].  Have you tried this, or found anything else that could elucidate the problem?</div>
<div><br></div><div><br></div><div><br></div><div>[1] <a href="http://qt-project.org/forums/viewthread/30006">http://qt-project.org/forums/viewthread/30006</a> </div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Thu, May 8, 2014 at 2:46 AM, John Anaia <span dir="ltr"><<a href="mailto:john.anaia@gmail.com" target="_blank">john.anaia@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>I have not run msbuild at all. I was trying to compile VTK from source and at the initial stage to configure VTK in CMake.</div><div><br></div>I could not find GLU32.lib on my PC. But I found four GIU32.lib in the folders of Windows SDk and Windows Kits folders instead. The CMake error showed up while I configure VTK in CMake for compiling VTK from source.Do I miss any OpenGL libraries?<div>

<br></div><div>I also got several error messages saying "cmTryCompileExec2700127200.exe has stopped working" after specifying VTK source folder, "where to build binaries" and MSVC11-Win64 generator and having clicked "Configure" button. </div>

<div><br></div><div>Thank you all,</div><div>John</div><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 1, 2014 at 12:28 AM, Christopher Mullins <span dir="ltr"><<a href="mailto:christopher.mullins@kitware.com" target="_blank">christopher.mullins@kitware.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Did you, by any chance, run msbuild from the command line instead of from the visual Studio environment? It's a long shot, but I've had the same issue on Win7 with VS2010 where the Windows SDK hadn't been located.</p>



<p dir="ltr">It could point to a generator problem as well. Where is glu32.lib located on your system? Try setting CMAKE_PREFIX_PATH to that directory at configure time.</p>
<p dir="ltr">Please let me know how it works. I'll try to document it if we can isolate the problem.</p>
<div class="gmail_quote">On May 1, 2014 3:15 AM, "John Anaia" <<a href="mailto:john.anaia@gmail.com" target="_blank">john.anaia@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div dir="ltr"><div>Dear vtkusers,</div><div><br></div>While building VTK6.1 with Qt5.2.1 (MSVC2012_64_opengl prebuilt binary) using MSVC2012_x64 on Windows 8.1, I got the following error message:<br><div><br></div><div>

<span style="color:rgb(255,0,0)">CMake Error at C:/Qt/Qt5.2.1/5.2.1/msvc2012_64_opengl/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:16 (message):<br>

  Failed to find "glu32" in "" with CMAKE_CXX_LIBRARY_ARCHITECTURE "".</span><br></div><div><font color="#000000"><br></font></div><div><font color="#000000">I checked </font><font color="#000000">VTK_GROUP_QT, Module_vtkGUISupportQt, Module_vtkGUISupportQtOpenGL, and set QT version to 5. </font><span style="color:rgb(0,0,0)">CMake found the following three DIR's: </span></div>



<div><font color="#000000"><br></font></div><div><font color="#000000">Qt5Core_DIR = C:/Qt/Qt5.2.1/5.2.1/msvc2012_64_opengl/lib/cmake/Qt5Core</font></div><div><font color="#000000">Qt5Gui_DIR = C:/Qt/Qt5.2.1/5.2.1/msvc2012_64_opengl/lib/cmake/Qt5Gui<br>



</font></div><div><font color="#000000">Qt5Widgets_DIR = C:/Qt/Qt5.2.1/5.2.1/msvc2012_64_opengl/lib/cmake/Qt5Widgets<br></font></div><div><font color="#000000"><br></font></div><div><font color="#000000">Did I miss anything?</font></div>



<div><font color="#000000"><br></font></div><div><font color="#000000">Thank you all,</font></div><div><font color="#000000">John</font></div><div><font color="#000000"><br></font></div><div><font color="#ff0000"><br></font></div>



</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>
</blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Christopher Mullins<div>R&D Engineer</div><div>Kitware Inc.,</div><div>919.869.8871</div>
</div>