Qt-interest Archive, April 2007
[4.3.0] Compile error with -direct3d
Message 1 in thread
(Yeah, I know it's marked experimental - thought I'd try it anyway. Merely
an FYI.)
I get the following, compiling 4.3.0-beta with the DirectX SDK and VS2003:
link /LIBPATH:"c:\Libraries\Qt\qt-win-commercial-src-4.3.0beta\lib"
/LIBPATH:"c:\Libraries\Qt\qt-win-commercial-src-4.3.0beta\lib" /NOLOGO
/INCREMENTAL:NO /SUBSYSTEM:CONSOLE /NODEFAULTLIB:libc
/OUT:..\..\..\bin\uic3.exe @C:\DOCUME~1\gordons\LOCALS~1\Temp\nm27F.tmp
QtGui.lib(qpaintengine_d3d.obj) : error LNK2019: unresolved external symbol
_IID_ID3DXEffectStateManager referenced in function "public: virtual long
__stdcall QD3DStateManager::QueryInterface(struct _GUID const &,void * *)"
(?QueryInterface@QD3DStateManager@@UAGJABU_GUID@@PAPAX@Z)
..\..\..\bin\uic3.exe : fatal error LNK1120: 1 unresolved externals
--
[ signature omitted ]
Message 2 in thread
Gordon.Schumacher@xxxxxxxxxxx wrote:
> (Yeah, I know it's marked experimental - thought I'd try it anyway. Merely
> an FYI.)
>
> I get the following, compiling 4.3.0-beta with the DirectX SDK and VS2003:
>
> link /LIBPATH:"c:\Libraries\Qt\qt-win-commercial-src-4.3.0beta\lib"
> /LIBPATH:"c:\Libraries\Qt\qt-win-commercial-src-4.3.0beta\lib" /NOLOGO
> /INCREMENTAL:NO /SUBSYSTEM:CONSOLE /NODEFAULTLIB:libc
> /OUT:..\..\..\bin\uic3.exe @C:\DOCUME~1\gordons\LOCALS~1\Temp\nm27F.tmp
> QtGui.lib(qpaintengine_d3d.obj) : error LNK2019: unresolved external symbol
> _IID_ID3DXEffectStateManager referenced in function "public: virtual long
> __stdcall QD3DStateManager::QueryInterface(struct _GUID const &,void * *)"
> (?QueryInterface@QD3DStateManager@@UAGJABU_GUID@@PAPAX@Z)
> ..\..\..\bin\uic3.exe : fatal error LNK1120: 1 unresolved externals
You need a newer version of the D3D SDK, or you have and old SDK in your
include/lib path. Try dowloading/installing a newer version (remember to
run the <SDK path>\Utilities\bin\dx_setenv.cmd script before building).
We will try to improve our config/detection scripts so that you'll get a
warning about this in the future, instead of a linker error.
Regards,
--
[ signature omitted ]