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

Unable to static link QtGuid.lib and QtOpenGLd.lib : qt_next_power_of_two is already defined

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 4.7.0
    • 4.7.1
    • None
    • Windows Vista, compiler MSVC 2008
    • 0fbbd8496e248aabbbdf11d9243b891f24f6b9f2

    Description

      running configure -static and nmake results in LNK2005 error

      link /LIBPATH:"t:\Sources\qt.source\qt.msvc9.static\lib" /LIBPATH:"t:\Sources\qt.source\qt.msvc9.static\lib" /NOLOGO /DEBUG /MANIFEST /MANIFESTFILE:"tmp\obj\debug_static\qml.intermediate.manifest" /SUBSYSTEM:WINDOWS "/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='' processorArchitecture=''" /OUT:..\..\bin\qml.exe @C:\Users\melanie\AppData\Local\Temp\nm3451.tmp QtGuid.lib(qtextureglyphcache.obj) : error LNK2005: "int __cdecl qt_next_power_of_two(int)" (?qt_next_power_of_two@@YAHH@Z) already defined in QtOpenG
      Ld.lib(qgl.obj)

      Attachments

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

        Activity

          People

            rweather Rhys Weatherley (closed Nokia identity) (Inactive)
            meldavis Melanie Davis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes