Hi,
I was about to compiling osg3.2 with qt5.2.1(windows 32bit, vs 2010, opengl). 
When try to configure it with Cmake(GUI)2.8.12.2, there shows some warning:
/////////////////////////////////////////////////////////////////////////////////////
CMake Warning at C:/Program Files (x86)/CMake 
2.8/share/cmake-2.8/Modules/FindQt4.cmake:659 (message):
  C:/Qt/Qt5.2.1/5.2.1/msvc2010_opengl/bin/qmake.exe reported QT_INSTALL_LIBS
  as "C:/Qt/Qt5.2.1/5.2.1/msvc2010_opengl/lib" but QtCore could not be found
  there.  Qt is NOT installed correctly for the target build environment.
Call Stack (most recent call first):
  CMakeLists.txt:585 (FIND_PACKAGE)
/////////////////////////////////////////////////////////////////////////////////////
After searched on the Internet, I tried as the following:
(1) add a Cache Entry DESIRED_QT_VERSION and set its value to 5(STRING);
(2)set the CMAKE_PREFIX_PATH to C:\Qt\Qt5.2.1\5.2.1\msvc2010_opengl;
then I configured again and there're some errors:
/////////////////////////////////////////////////////////////////////////////////////
CMake Error at 
C:/Qt/Qt5.2.1/5.2.1/msvc2010_opengl/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:16
 (message):
  Failed to find "glu32" in "" with CMAKE_CXX_LIBRARY_ARCHITECTURE "".
Call Stack (most recent call first):
  
C:/Qt/Qt5.2.1/5.2.1/msvc2010_opengl/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:52
 (_qt5gui_find_extra_libs)
  C:/Qt/Qt5.2.1/5.2.1/msvc2010_opengl/lib/cmake/Qt5Gui/Qt5GuiConfig.cmake:152 
(include)
  
C:/Qt/Qt5.2.1/5.2.1/msvc2010_opengl/lib/cmake/Qt5Widgets/Qt5WidgetsConfig.cmake:94
 (find_package)
  CMakeLists.txt:560 (FIND_PACKAGE)
////////////////////////////////////////////////////////////////////////////////////
... 
is there anyone could help me? The attched file is my CmakeCahe.txt.
Thank you!

Cheers,
Liu

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=59046#59046




Attachments: 
http://forum.openscenegraph.org//files/cmakecache_174.txt


_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to