PDA

View Full Version : error LNK2001: unresolved external symbol _IID_ID3DXEffec tStateManager



Tusharsankhala
16th May 2012, 18:16
Hi,

I have installed qt-win64-opensource-4.5.3-vs2008.exe on my system.
I am trying to compiling Qt4.5.3 for Maya 2011, with this configuration.

configure -platform win32-msvc2008 -debug-and-release -no-phonon -no-phonon-backend -no-webkit -direct3d

and also with static configure everytime i am getting this error

link /LIBPATH:"d:\Qt\lib" /LIBPATH:"d:\Qt\lib" /NOLOGO /BASE:0x65000000
/DEBUG /DLL /MANIFEST /MANIFESTFILE:"tmp\obj\debug_shared\QtGuid.intermediate.ma
nifest" /VERSION:4.53 /OUT:..\..\lib\QtGuid4.dll @C:\Users\tushar\AppData\Local\
Temp\nm67D7.tmp
Creating library ..\..\lib\QtGuid4.lib and object ..\..\lib\QtGuid4.exp
qpaintengine_d3d.obj : error LNK2001: unresolved external symbol _IID_ID3DXEffec
tStateManager
..\..\lib\QtGuid4.dll : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\
VC\BIN\link.EXE"' : return code '0x460'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\
VC\BIN\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.

My system Specs : Win7 x64, VSPro2008 with 64 bit compilers.

I also run the script dx_setenv.cmd and vcvars32.bat
I have checked DirectX sdk (june 2010) is properly installed on the system and the LIB, INCLUDE and PATH Variables is properly set.
I am running the VS x64 command prompt in administrator mode.
And i have also turned my antivirus off.

I have also tried with "qt-win-opensource-4.5.3-mingw.exe", "qt-all-opensource-src-4.5.3.zip" and "qt-win-opensource-src-4.5.3.zip"

But still no luck.

Please Help!