Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-38984

Compiling Qt 5.3 rc1 with Visual Studio 2013 and -opengl dynamic fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 5.3.0 RC1
    • GUI: OpenGL
    • None
    • Windows 7
      Visual Studio 2013
      64 bit

    Description

      With the following configure:

      configure -debug-and-release -developer-build -commercial -c++11 -nomake tests -nomake examples -confirm-license -opengl dynamic -qt-sql-sqlite

      These build errors occur:

              cl -c -nologo -Zm200 -Zc:wchar_t -FS -Zi -MDd -D_HAS_EXCEPTIONS=0 -GR -W
      3 -w34100 -w34189 /Fd..\..\..\..\plugins\platforms\qwindowsd.pdb -DUNICODE -DWIN
      32 -DWIN64 -DQT_NO_CAST_FROM_ASCII -DQT_NO_DIRECTWRITE -DQT_NO_FONTCONFIG -DFT2_
      BUILD_LIBRARY -DQT_NO_EXCEPTIONS -DQT_PLUGIN -DQT_PLATFORMSUPPORT_LIB -DQT_GUI_L
      IB -DQT_CORE_LIB -I"D:\projects\air\qt-5\external\openssl-1.0.1c\inc32" -I"." -I
      "..\..\..\3rdparty\wintab" -I"..\..\..\3rdparty\freetype\src" -I"..\..\..\3rdpar
      ty\freetype\include" -I"..\..\..\3rdparty\iaccessible2\generated\amd64" -I"..\..
      \..\..\include" -I"..\..\..\..\include\QtPlatformSupport" -I"..\..\..\..\include
      \QtPlatformSupport\5.3.0" -I"..\..\..\..\include\QtPlatformSupport\5.3.0\QtPlatf
      ormSupport" -I"..\..\..\..\include\QtGui\5.3.0" -I"..\..\..\..\include\QtGui\5.3
      .0\QtGui" -I"..\..\..\..\include\QtCore\5.3.0" -I"..\..\..\..\include\QtCore\5.3
      .0\QtCore" -I"..\..\..\..\include\QtGui" -I"..\..\..\..\include\QtANGLE" -I"..\.
      .\..\..\include\QtCore" -I".moc\debug" -I"..\..\..\..\mkspecs\win32-msvc2013" -F
      o.obj\debug\ @C:\Users\MTILLM~1\AppData\Local\Temp\nmA0AB.tmp
      moc_qwindowsguieventdispatcher.cpp
      moc_qwindowsinputcontext.cpp
      moc_qwindowsnativeinterface.cpp
      moc_qwindowsgdinativeinterface.cpp
      Generating Code...
              link /NOLOGO /DYNAMICBASE /NXCOMPAT /DEBUG /DLL /OUT:..\..\..\..\plugins
      \platforms\qwindowsd.dll @C:\Users\MTILLM~1\AppData\Local\Temp\nmAF8A.tmp
         Creating library ..\..\..\..\plugins\platforms\qwindowsd.lib and object ..\..
      \..\..\plugins\platforms\qwindowsd.exp
      qwindowswindow.obj : error LNK2019: unresolved external symbol __imp_eglGetError
       referenced in function "public: void * __cdecl QWindowsWindow::ensureEglSurface
      Handle(class QSharedPointer<class QWindowsEGLStaticContext> const &,void *)" (?e
      nsureEglSurfaceHandle@QWindowsWindow@@QEAAPEAXAEBV?$QSharedPointer@VQWindowsEGLS
      taticContext@@@@PEAX@Z)
      qwindowseglcontext.obj : error LNK2001: unresolved external symbol __imp_eglGetE
      rror
      Qt5PlatformSupportd.lib(qeglplatformcontext.obj) : error LNK2001: unresolved ext
      ernal symbol __imp_eglGetError
      Qt5PlatformSupportd.lib(qeglconvenience.obj) : error LNK2001: unresolved externa
      l symbol __imp_eglGetError
      qwindowswindow.obj : error LNK2019: unresolved external symbol __imp_eglCreateWi
      ndowSurface referenced in function "public: void * __cdecl QWindowsWindow::ensur
      eEglSurfaceHandle(class QSharedPointer<class QWindowsEGLStaticContext> const &,v
      oid *)" (?ensureEglSurfaceHandle@QWindowsWindow@@QEAAPEAXAEBV?$QSharedPointer@VQ
      WindowsEGLStaticContext@@@@PEAX@Z)
      qwindowswindow.obj : error LNK2019: unresolved external symbol __imp_eglDestroyS
      urface referenced in function "private: void __cdecl QWindowsWindow::destroyWind
      ow(void)" (?destroyWindow@QWindowsWindow@@AEAAXXZ)
      Qt5PlatformSupportd.lib(qeglplatformcontext.obj) : error LNK2001: unresolved ext
      ernal symbol __imp_eglDestroySurface
      qwindowsglcontext.obj : error LNK2019: unresolved external symbol __imp_wglCreat
      eContext referenced in function "struct HGLRC__ * __cdecl GDI::createContext(str
      uct HDC__ *,struct HGLRC__ *)" (?createContext@GDI@@YAPEAUHGLRC__@@PEAUHDC__@@PE
      AU2@@Z)
      qwindowsglcontext.obj : error LNK2019: unresolved external symbol __imp_wglDelet
      eContext referenced in function "public: virtual __cdecl QWindowsGLContext::~QWi
      ndowsGLContext(void)" (??1QWindowsGLContext@@UEAA@XZ)
      qwindowsglcontext.obj : error LNK2019: unresolved external symbol __imp_wglGetCu
      rrentContext referenced in function "public: static class QOpenGLStaticContext *
       __cdecl QOpenGLStaticContext::create(void)" (?create@QOpenGLStaticContext@@SAPE
      AV1@XZ)
      qwindowsglcontext.obj : error LNK2019: unresolved external symbol __imp_wglGetCu
      rrentDC referenced in function "public: virtual bool __cdecl QWindowsGLContext::
      makeCurrent(class QPlatformSurface *)" (?makeCurrent@QWindowsGLContext@@UEAA_NPE
      AVQPlatformSurface@@@Z)
      qwindowsglcontext.obj : error LNK2019: unresolved external symbol __imp_wglGetPr
      ocAddress referenced in function "private: __cdecl QOpenGLStaticContext::QOpenGL
      StaticContext(void)" (??0QOpenGLStaticContext@@AEAA@XZ)
      qwindowsglcontext.obj : error LNK2019: unresolved external symbol __imp_wglMakeC
      urrent referenced in function "public: __cdecl QWindowsGLContext::QWindowsGLCont
      ext(class QSharedPointer<class QOpenGLStaticContext> const &,class QOpenGLContex
      t *)" (??0QWindowsGLContext@@QEAA@AEBV?$QSharedPointer@VQOpenGLStaticContext@@@@
      PEAVQOpenGLContext@@@Z)
      qwindowsglcontext.obj : error LNK2019: unresolved external symbol __imp_wglShare
      Lists referenced in function "struct HGLRC__ * __cdecl GDI::createContext(struct
       HDC__ *,struct HGLRC__ *)" (?createContext@GDI@@YAPEAUHGLRC__@@PEAUHDC__@@PEAU2
      @@Z)
      qwindowsglcontext.obj : error LNK2019: unresolved external symbol __imp_glGetErr
      or referenced in function "struct HGLRC__ * __cdecl ARB::createContext(class QOp
      enGLStaticContext const &,struct HDC__ *,class QSurfaceFormat const &,struct QWi
      ndowsOpenGLAdditionalFormat const &,struct HGLRC__ *)" (?createContext@ARB@@YAPE
      AUHGLRC__@@AEBVQOpenGLStaticContext@@PEAUHDC__@@AEBVQSurfaceFormat@@AEBUQWindows
      OpenGLAdditionalFormat@@PEAU2@@Z)
      qwindowsglcontext.obj : error LNK2019: unresolved external symbol __imp_glGetInt
      egerv referenced in function "public: static struct QWindowsOpenGLContextFormat
      __cdecl QWindowsOpenGLContextFormat::current(void)" (?current@QWindowsOpenGLCont
      extFormat@@SA?AU1@XZ)
      Qt5PlatformSupportd.lib(qeglplatformcontext.obj) : error LNK2001: unresolved ext
      ernal symbol __imp_glGetIntegerv
      qwindowsglcontext.obj : error LNK2019: unresolved external symbol __imp_glGetStr
      ing referenced in function "public: static class QByteArray __cdecl QOpenGLStati
      cContext::getGlString(unsigned int)" (?getGlString@QOpenGLStaticContext@@SA?AVQB
      yteArray@@I@Z)
      Qt5PlatformSupportd.lib(qeglplatformcontext.obj) : error LNK2001: unresolved ext
      ernal symbol __imp_glGetString
      qwindowseglcontext.obj : error LNK2019: unresolved external symbol __imp_eglGetD
      isplay referenced in function "public: static class QWindowsEGLStaticContext * _
      _cdecl QWindowsEGLStaticContext::create(void)" (?create@QWindowsEGLStaticContext
      @@SAPEAV1@XZ)
      qwindowseglcontext.obj : error LNK2019: unresolved external symbol __imp_eglInit
      ialize referenced in function "public: static class QWindowsEGLStaticContext * _
      _cdecl QWindowsEGLStaticContext::create(void)" (?create@QWindowsEGLStaticContext
      @@SAPEAV1@XZ)
      qwindowseglcontext.obj : error LNK2019: unresolved external symbol __imp_eglTerm
      inate referenced in function "public: __cdecl QWindowsEGLStaticContext::~QWindow
      sEGLStaticContext(void)" (??1QWindowsEGLStaticContext@@QEAA@XZ)
      qwindowseglcontext.obj : error LNK2019: unresolved external symbol __imp_eglMake
      Current referenced in function "public: virtual bool __cdecl QWindowsEGLContext:
      :makeCurrent(class QPlatformSurface *)" (?makeCurrent@QWindowsEGLContext@@UEAA_N
      PEAVQPlatformSurface@@@Z)
      Qt5PlatformSupportd.lib(qeglplatformcontext.obj) : error LNK2001: unresolved ext
      ernal symbol __imp_eglMakeCurrent
      Qt5PlatformSupportd.lib(qeglplatformcontext.obj) : error LNK2019: unresolved ext
      ernal symbol __imp_eglCreatePbufferSurface referenced in function "private: void
       __cdecl QEGLPlatformContext::init(class QSurfaceFormat const &,class QPlatformO
      penGLContext *)" (?init@QEGLPlatformContext@@AEAAXAEBVQSurfaceFormat@@PEAVQPlatf
      ormOpenGLContext@@@Z)
      Qt5PlatformSupportd.lib(qeglplatformcontext.obj) : error LNK2019: unresolved ext
      ernal symbol __imp_eglBindAPI referenced in function "public: virtual bool __cde
      cl QEGLPlatformContext::makeCurrent(class QPlatformSurface *)" (?makeCurrent@QEG
      LPlatformContext@@UEAA_NPEAVQPlatformSurface@@@Z)
      Qt5PlatformSupportd.lib(qeglplatformcontext.obj) : error LNK2019: unresolved ext
      ernal symbol __imp_eglSwapInterval referenced in function "public: virtual bool
      __cdecl QEGLPlatformContext::makeCurrent(class QPlatformSurface *)" (?makeCurren
      t@QEGLPlatformContext@@UEAA_NPEAVQPlatformSurface@@@Z)
      Qt5PlatformSupportd.lib(qeglplatformcontext.obj) : error LNK2019: unresolved ext
      ernal symbol __imp_eglCreateContext referenced in function "private: void __cdec
      l QEGLPlatformContext::init(class QSurfaceFormat const &,class QPlatformOpenGLCo
      ntext *)" (?init@QEGLPlatformContext@@AEAAXAEBVQSurfaceFormat@@PEAVQPlatformOpen
      GLContext@@@Z)
      Qt5PlatformSupportd.lib(qeglplatformcontext.obj) : error LNK2019: unresolved ext
      ernal symbol __imp_eglDestroyContext referenced in function "public: virtual __c
      decl QEGLPlatformContext::~QEGLPlatformContext(void)" (??1QEGLPlatformContext@@U
      EAA@XZ)
      Qt5PlatformSupportd.lib(qeglplatformcontext.obj) : error LNK2019: unresolved ext
      ernal symbol __imp_eglGetCurrentContext referenced in function "public: virtual
      bool __cdecl QEGLPlatformContext::makeCurrent(class QPlatformSurface *)" (?makeC
      urrent@QEGLPlatformContext@@UEAA_NPEAVQPlatformSurface@@@Z)
      Qt5PlatformSupportd.lib(qeglplatformcontext.obj) : error LNK2019: unresolved ext
      ernal symbol __imp_eglGetCurrentSurface referenced in function "public: virtual
      bool __cdecl QEGLPlatformContext::makeCurrent(class QPlatformSurface *)" (?makeC
      urrent@QEGLPlatformContext@@UEAA_NPEAVQPlatformSurface@@@Z)
      Qt5PlatformSupportd.lib(qeglplatformcontext.obj) : error LNK2019: unresolved ext
      ernal symbol __imp_eglGetCurrentDisplay referenced in function "public: virtual
      bool __cdecl QEGLPlatformContext::makeCurrent(class QPlatformSurface *)" (?makeC
      urrent@QEGLPlatformContext@@UEAA_NPEAVQPlatformSurface@@@Z)
      Qt5PlatformSupportd.lib(qeglplatformcontext.obj) : error LNK2019: unresolved ext
      ernal symbol __imp_eglSwapBuffers referenced in function "public: virtual void _
      _cdecl QEGLPlatformContext::swapBuffers(class QPlatformSurface *)" (?swapBuffers
      @QEGLPlatformContext@@UEAAXPEAVQPlatformSurface@@@Z)
      Qt5PlatformSupportd.lib(qeglplatformcontext.obj) : error LNK2019: unresolved ext
      ernal symbol __imp_eglGetProcAddress referenced in function "public: virtual voi
      d (__cdecl*__cdecl QEGLPlatformContext::getProcAddress(class QByteArray const &)
      )(void)" (?getProcAddress@QEGLPlatformContext@@UEAAP6AXXZAEBVQByteArray@@@Z)
      Qt5PlatformSupportd.lib(qeglconvenience.obj) : error LNK2019: unresolved externa
      l symbol __imp_eglQueryString referenced in function "bool __cdecl q_hasEglExten
      sion(void *,char const *)" (?q_hasEglExtension@@YA_NPEAXPEBD@Z)
      Qt5PlatformSupportd.lib(qeglconvenience.obj) : error LNK2019: unresolved externa
      l symbol __imp_eglChooseConfig referenced in function "public: void * __cdecl QE
      glConfigChooser::chooseConfig(void)" (?chooseConfig@QEglConfigChooser@@QEAAPEAXX
      Z)
      Qt5PlatformSupportd.lib(qeglconvenience.obj) : error LNK2019: unresolved externa
      l symbol __imp_eglGetConfigAttrib referenced in function "class QSurfaceFormat _
      _cdecl q_glFormatFromConfig(void *,void * const,class QSurfaceFormat const &)" (
      ?q_glFormatFromConfig@@YA?AVQSurfaceFormat@@PEAXQEAXAEBV1@@Z)
      ..\..\..\..\plugins\platforms\qwindowsd.dll : fatal error LNK1120: 30 unresolved
       externals
      NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0
      \VC\BIN\amd64\link.EXE"' : return code '0x460'
      Stop.
      NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0
      \VC\BIN\amd64\nmake.exe"' : return code '0x2'
      Stop.
      NMAKE : fatal error U1077: 'cd' : return code '0x2'
      Stop.
      NMAKE : fatal error U1077: 'cd' : return code '0x2'
      Stop.
      NMAKE : fatal error U1077: 'cd' : return code '0x2'
      Stop.
      NMAKE : fatal error U1077: 'cd' : return code '0x2'
      Stop.
      NMAKE : fatal error U1077: 'cd' : return code '0x2'
      Stop.
      
      D:\Qt\Qt-DJ-5.3.rc1-x64>
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            lagocs Laszlo Agocs
            madwinter Marcus Tillmanns
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes