[vtkusers] VTK with MSCV2010-32bit & Qt5

Kevin Funk kevin.funk at kdab.com
Wed Apr 2 11:02:54 EDT 2014


On Thursday 27 March 2014, 13:47, Cansen JIANG wrote:
> Hi David,
> 
> I tried to install the Qt-openGL-MSCV2010-32bit, and then compile the VTK,
> however, I'm now having a new problem, so do you have any idea? *Or could
> you please just send me a precompiled version of VTK with Qt5?
> *
> Thank you very much and look forward to your reply!
> 
> *CMake Error at
> C:/Qt/Qt5.1.1/5.1.1/msvc2010_opengl/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmak
> e:16 (message):
>   Failed to find "glu32" in "".
> Call Stack (most recent call first):
> 
> C:/Qt/Qt5.1.1/5.1.1/msvc2010_opengl/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmak
> e:50 (_qt5gui_find_extra_libs)
> 
> C:/Qt/Qt5.1.1/5.1.1/msvc2010_opengl/lib/cmake/Qt5Gui/Qt5GuiConfig.cmake:134
> (include)
> 
> C:/Qt/Qt5.1.1/5.1.1/msvc2010_opengl/lib/cmake/Qt5Widgets/Qt5WidgetsConfig.cm
> ake:90 (find_package)
>   GUISupport/Qt/CMakeLists.txt:58 (find_package)*

Hey,

See solution from: http://www.qtcentre.org/threads/56185-cmake-error-with-Failed-to-find-quot-glu32-quot-in-quot-quot?p=251234#post251234

You need to install Windows SDK 7.0/8.0 and make CMake aware of it:

set(CMAKE_LIBRARY_PATH “C:\\Program Files (x86)\\Windows 
Kits\\8.0\\Lib\\win8\\um\\x64”)

Greets

-- 
Join us at Qt Developer Days 2014 in Berlin! - https://devdays.kdab.com

Kevin Funk | kevin.funk at kdab.com | Software Engineer
KDAB (Deutschland) GmbH&Co KG, a KDAB Group company
Tel. Germany +49-30-521325470, Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-independent software solutions


More information about the vtkusers mailing list