<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Error compiling QT 5 for 64 bits with MS Visual C++ 2010]]></title><description><![CDATA[<p dir="auto">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.<br />
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:</p>
<pre><code>Creating library ..\..\..\..\lib\libGLESv2d.lib and object ..\..\..\..\lib\libGLESv2d.exp
</code></pre>
<p dir="auto">Renderer9.obj : error LNK2001: unresolved external symbol IID_IDirect3DDevice9Ex</p>
<p dir="auto">Renderer9.obj : error LNK2019: unresolved external symbol Direct3DCreate9 referenced in function "public: virtual int __cdecl rx::Renderer9::initialize(void)" (?initialize@Renderer9@rx@@UEAAHXZ)<br />
Renderer9.obj : error LNK2001: unresolved external symbol IID_IDirect3D9<br />
........\lib\libGLESv2d.dll : fatal error LNK1120: 3 unresolved externals<br />
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0<br />
\VC\BIN\amd64\link.EXE"' : return code '0x460'<br />
Stop.<br />
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0<br />
\VC\BIN\amd64\nmake.EXE"' : return code '0x2'<br />
Stop.</p>
<p dir="auto">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.<br />
What can I do then?</p>
<p dir="auto">Thx</p>
]]></description><link>https://forum.qt.io/topic/35346/error-compiling-qt-5-for-64-bits-with-ms-visual-c-2010</link><generator>RSS for Node</generator><lastBuildDate>Thu, 13 Aug 2026 09:03:02 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/35346.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 11 Dec 2013 15:53:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Error compiling QT 5 for 64 bits with MS Visual C++ 2010 on Thu, 12 Dec 2013 11:48:43 GMT]]></title><description><![CDATA[<p dir="auto">I tried to disable OpenGL, but the error still occurs. Any idea?</p>
]]></description><link>https://forum.qt.io/post/207145</link><guid isPermaLink="true">https://forum.qt.io/post/207145</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Thu, 12 Dec 2013 11:48:43 GMT</pubDate></item></channel></rss>