Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Static OpenGL libraries don't work
Forum Updated to NodeBB v4.3 + New Features

Static OpenGL libraries don't work

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 3.0k 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.
  • T Offline
    T Offline
    TheDestroyer
    wrote on 27 Mar 2012, 07:16 last edited by
    #1

    Hello guys,

    I have compiled the Qt libraries with Intel Compiler successfully, with the following configuration:

    configure -platform win64-icc -static -opensource -debug-and-release -developer-build -exceptions -accessibility -stl -opengl

    Now the thing is done, and I'm recompiling a program that uses OpenGL (after changing QtCreator's settings to the new compiled Qt, and after adding the static command to the program's qmake file), but the program doesn't find any libraries for OpenGL, and complains about missing them:

    @
    09:02:53: Running build steps for project VectorField3D...
    09:02:53: Configuration unchanged, skipping qmake step.
    09:02:53: Starting: "D:\QtSDK\mingw\bin\mingw32-make.exe"
    d:\qtsrc\4.8.0-static\bin\qmake.exe -spec d:\QtSrc\4.8.0-static\mkspecs\win32-g++ CONFIG+=declarative_debug -o Makefile VectorField3D.pro
    D:/QtSDK/mingw/bin/mingw32-make.exe -f Makefile.Debug
    mingw32-make.exe[1]: Entering directory C:/Users/Sam/Dropbox/common_src/VectorField/VectorField3D' g++ -mthreads -Wl,-subsystem,windows -o debug\VectorField3D.exe object_script.VectorField3D.Debug -L"d:\QtSrc\4.8.0-static\lib" -lglu32 -lopengl32 -lgdi32 -luser32 -lmingw32 -lqtmaind debug\resources.qrc -L../../libsrc/Qwt/qwt-6.0.1-win-Qt-4.8.0/lib -lqwtd -lQtSvgd -lQtOpenGLd -lQtGuid -lQtCored glu32.lib opengl32.lib delayimp.lib d:\QtSrc\4.8.0-static\lib\QtGuid.lib gdi32.lib comdlg32.lib oleaut32.lib imm32.lib winmm.lib winspool.lib msimg32.lib d:\QtSrc\4.8.0-static\lib\QtCored.lib kernel32.lib user32.lib shell32.lib uuid.lib ole32.lib advapi32.lib ws2_32.lib mingw32-make.exe[1]: Leaving directory C:/Users/Sam/Dropbox/common_src/VectorField/VectorField3D'
    g++: glu32.lib: No such file or directory
    g++: opengl32.lib: No such file or directory
    g++: delayimp.lib: No such file or directory
    g++: gdi32.lib: No such file or directory
    g++: comdlg32.lib: No such file or directory
    g++: oleaut32.lib: No such file or directory
    g++: imm32.lib: No such file or directory
    g++: winmm.lib: No such file or directory
    g++: winspool.lib: No such file or directory
    g++: msimg32.lib: No such file or directory
    g++: kernel32.lib: No such file or directory
    g++: user32.lib: No such file or directory
    g++: shell32.lib: No such file or directory
    g++: uuid.lib: No such file or directory
    g++: ole32.lib: No such file or directory
    g++: advapi32.lib: No such file or directory
    g++: ws2_32.lib: No such file or directory
    mingw32-make.exe[1]: *** [debug\VectorField3D.exe] Error 1
    mingw32-make.exe: *** [debug] Error 2
    09:02:54: The process "D:\QtSDK\mingw\bin\mingw32-make.exe" exited with code 2.
    Error while building project VectorField3D (target: Desktop)
    When executing build step 'Make'
    @

    What did I do wrong?

    Any help would be highly appreciated.

    Thanks.

    1 Reply Last reply
    0

    1/1

    27 Mar 2012, 07:16

    • Login

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