<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="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>