Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Opencv link to Qt !! cmake problem
Qt 6.12 LTS is out! See what's new in the release blog

Opencv link to Qt !! cmake problem

Scheduled Pinned Locked Moved Installation and Deployment
4 Posts 3 Posters 3.2k 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.
  • B Offline
    B Offline
    Bekhouche
    wrote on last edited by
    #1

    Hello,
    I get this errors in cmake
    @
    CMake Error at E:/Qt/Qt5.2.1/5.2.1/mingw48_32/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:16 (message):
    Failed to find "glu32" in "" with CMAKE_CXX_LIBRARY_ARCHITECTURE "".
    Call Stack (most recent call first):
    E:/Qt/Qt5.2.1/5.2.1/mingw48_32/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:52 (_qt5gui_find_extra_libs)
    E:/Qt/Qt5.2.1/5.2.1/mingw48_32/lib/cmake/Qt5Gui/Qt5GuiConfig.cmake:152 (include)
    cmake/OpenCVFindLibsGUI.cmake:19 (find_package)
    CMakeLists.txt:434 (include)
    @
    opengl32 glu32 gdi32

    How i fix that, I'm using Windows 8.1 x64
    Qt5.2.1 x32
    opencv 2.4.8 windows
    cmake-2.8.12.2-win32-x86
    ..............................................
    i read this http://stackoverflow.com/questions/15881913/how-to-link-opencv-in-qtcreator-and-use-qt-library to link opencv with qt, but it didn't work and i get that problem
    please in need help

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Do you have the glu32 library installed somewhere on your system ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • E Offline
        E Offline
        Elador
        wrote on last edited by
        #3

        I have exactly the same error with Qt 5.2.1 and 5.3 beta.
        glu32 is installed in several locations in C:\Program Files (x86)\Windows Kits.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Same architecture as Qt ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          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
          • Unsolved