Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Failed to find "glu32" in "" with CMAKE_CXX_LIBRARY_ARCHITECTURE ""
Forum Updated to NodeBB v4.3 + New Features

Failed to find "glu32" in "" with CMAKE_CXX_LIBRARY_ARCHITECTURE ""

Scheduled Pinned Locked Moved Installation and Deployment
2 Posts 1 Posters 5.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vectorel
    wrote on last edited by
    #1

    Hi there,

    I'm configuring the Stellarium source code to build with visual studio 2012 and the Qt Library
    I've installed CMake 2.8.12 and Qt 5.2.1
    I have Windows 8.1 x64

    When I press the Configure button in CMake I get this error

    @
    The C compiler identification is MSVC 18.0.21005.1
    The CXX compiler identification is MSVC 18.0.21005.1
    Check for working C compiler using: Visual Studio 12
    Check for working C compiler using: Visual Studio 12 -- works
    Detecting C compiler ABI info
    Detecting C compiler ABI info - done
    Check for working CXX compiler using: Visual Studio 12
    Check for working CXX compiler using: Visual Studio 12 -- works
    Detecting CXX compiler ABI info
    Detecting CXX compiler ABI info - done
    Found Qt5: C:/Qt5/5.2.1/msvc2012_64_opengl/bin/qmake.exe (found suitable version "5.2.1", required is "5.1.0")
    CMake Error at C:/Qt5/5.2.1/msvc2012_64_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:/Qt5/5.2.1/msvc2012_64_opengl/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:52 (_qt5gui_find_extra_libs)
    C:/Qt5/5.2.1/msvc2012_64_opengl/lib/cmake/Qt5Gui/Qt5GuiConfig.cmake:152 (include)
    C:/Qt5/5.2.1/msvc2012_64_opengl/lib/cmake/Qt5Widgets/Qt5WidgetsConfig.cmake:94 (find_package)
    C:/Qt5/5.2.1/msvc2012_64_opengl/lib/cmake/Qt5Declarative/Qt5DeclarativeConfig.cmake:94 (find_package)
    CMakeLists.txt:221 (FIND_PACKAGE)

    Configuring incomplete, errors occurred!
    @

    This is the line 221 in the CMakeLists.txt
    @
    FIND_PACKAGE(Qt5Declarative REQUIRED)
    @

    Can someone help me to fix this issue?

    Thanks in advance.

    1 Reply Last reply
    0
    • V Offline
      V Offline
      vectorel
      wrote on last edited by
      #2

      OK I've just solved the issue by adding

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

      in Qt5GuiConfigExtras.cmake

      But now Visual Studio can't find the header files related to qt. How can I fix this other issue?

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved