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. Error compiling QT 5 for 64 bits with MS Visual C++ 2010
Qt 6.11 is out! See what's new in the release blog

Error compiling QT 5 for 64 bits with MS Visual C++ 2010

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 1.8k 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.
  • P Offline
    P Offline
    plasma.87
    wrote on last edited by
    #1

    Hi, I need a compilation of QT for using with OpenCV. I first used the 32 bit compiler, QT compiled well, but I could not compile OpenCV because I configured it for 64 bits.
    Well, I cleaned up the 32 bit build, started the 64 bit Visual Studio console and tried again. The configuration step worked well, but when compiling I got this error:

    Creating library ..\..\..\..\lib\libGLESv2d.lib and object ..\..\..\..\lib\libGLESv2d.exp
    

    Renderer9.obj : error LNK2001: unresolved external symbol IID_IDirect3DDevice9Ex

    Renderer9.obj : error LNK2019: unresolved external symbol Direct3DCreate9 referenced in function "public: virtual int __cdecl rx::Renderer9::initialize(void)" (?initialize@Renderer9@rx@@UEAAHXZ)
    Renderer9.obj : error LNK2001: unresolved external symbol IID_IDirect3D9
    ........\lib\libGLESv2d.dll : fatal error LNK1120: 3 unresolved externals
    NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0
    \VC\BIN\amd64\link.EXE"' : return code '0x460'
    Stop.
    NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0
    \VC\BIN\amd64\nmake.EXE"' : return code '0x2'
    Stop.

    I have DirectX SDK installed, and I tried to point its lib directory in LIB and LIBPATH environment variables, but no success again. I tied to put the option "-opengl desktop" but the same error occurs.
    What can I do then?

    Thx

    1 Reply Last reply
    0
    • P Offline
      P Offline
      plasma.87
      wrote on last edited by
      #2

      I tried to disable OpenGL, but the error still occurs. Any idea?

      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