❗ fatal error LNK1104: cannot open file "d3dx8.lib"

Posts 1–9 of 9 · Page 1 of 1
❗ fatal error LNK1104: cannot open file "d3dx8.lib"
I already have these SDK's
DirectX_Dev_Kit_Aug2007
Directx9-SDK_dec2004
D3DX8_0b.exe


I have linked all dictionaries


& i Still Get this ERROR on Rebuild - compiling :
Code:
Configuration: TatniumD3D - Win32 Debug--------------------

Compiling...
d3d8dev.cpp
d3d8int.cpp
d3d8tex.cpp
d3d8.cpp
main.cpp
Linking...
LINK : fatal error LNK1104: cannot open file "d3dx8.lib"
Error executing link.exe.

TatniumD3D.dll - 1 error(s), 0 warning(s)

I have done every possible SDK. latest one i have is Aug 2007.

Dave did help me in my silly chams declaration thanx for it,
i dont wanted to bug him again on MSN, so i posted it here.
Open up your compiler options -> Directories -> Click on include files and scrolls down to library files -> and put in
C:\Program Files\Microsoft DirectX SDK (august 2007)\lib
Quote Originally Posted by radnomguywfq3 View Post
Open up your compiler options -> Directories -> Click on include files and scrolls down to library files -> and put in
C:Program FilesMicrosoft DirectX SDK (august 2007)lib
i akready added those Dir, can u see the IMAGE !!
Yea, the lib doesn't go in the includes. Which is what you put in the picture, it goes in the Library files. Go to the drop-down list and select library files.
Quote Originally Posted by radnomguywfq3 View Post
Yea, the lib doesn't go in the includes. Which is what you put in the picture, it goes in the Library files. Go to the drop-down list and select library files.
yes man did all, now i hv inclused all dir from all SDK

still same error only.

+

I also did this >

Download details: DirectX D3DX 8.0b

also followed their instructions on renaming n system files dll


i still get same error
OK I found my Solution
All I did is was : just got into Libs TAB n added Libs folders path. not in include tab. xD



Now m getting these errors :
Deleting intermediate files and output files for project 'TatniumD3D - Win32 Debug'.
--------------------Configuration: TatniumD3D - Win32 Debug--------------------
Compiling...
d3d8dev.cpp
d3d8int.cpp
d3d8tex.cpp
d3d8.cpp
main.cpp
Linking...
d3d8dev.obj : error LNK2001: unresolved external symbol "public: long __thiscall CD3DFont::RestoreDeviceObjects(void)" (?RestoreDeviceObjects@CD3DFont@@QAEJXZ)
d3d8dev.obj : error LNK2001: unresolved external symbol "public: long __thiscall CD3DFont::InitDeviceObjects(struct IDirect3DDevice8 *)" (?InitDeviceObjects@CD3DFont@@QAEJPAUIDirect3DDevi ce8@@@Z)
d3d8dev.obj : error LNK2001: unresolved external symbol "public: __thiscall CD3DFont::CD3DFont(char *,unsigned long,unsigned long)" (??0CD3DFont@@QAE@PADKK@Z)
d3d8dev.obj : error LNK2001: unresolved external symbol "public: long __thiscall CD3DFont:eleteDeviceObjects(void)" (?DeleteDeviceObjects@CD3DFont@@QAEJXZ)
d3d8dev.obj : error LNK2001: unresolved external symbol "public: long __thiscall CD3DFont::InvalidateDeviceObjects(void)" (?InvalidateDeviceObjects@CD3DFont@@QAEJXZ)
d3d8dev.obj : error LNK2001: unresolved external symbol "public: long __thiscall CD3DFont:rawTextA(float,float,unsigned long,char *,unsigned long)" (?DrawTextA@CD3DFont@@QAEJMMKPADK@Z)
Debug/TatniumD3D.dll : fatal error LNK1120: 6 unresolved externals
Error executing link.exe.

TatniumD3D.dll - 7 error(s), 0 warning(s)
HELP ME please
Thats exactly what I told you to do, sorry if I didn't make it clear enough.
There isn't d3d8 files in august 2007 sdk, use the summer of 2004 one.
Posts 1–9 of 9 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

Talk with us