PDA

View Full Version : Link Errors



trezegol
07-14-2008, 05:28 AM
Hello,
I'm trying to do my first d3d...but i've these link errors...



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::DeleteDeviceObjects(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::DrawTextA(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)



I think there's something wrong with my d3dfont...

virus7799
07-14-2008, 06:11 AM
Hello,
I'm trying to do my first d3d...but i've these link errors...



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::DeleteDeviceObjects(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::DrawTextA(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)



I think there's something wrong with my d3dfont...

I had these errors when I was missing a certain file.
PM me your msn and I'll fix this for you.

Gr4v1ty
07-14-2008, 09:06 AM
Can you share how to solve this with us?

Z W T
07-14-2008, 10:28 AM
Can you share how to solve this with us?
I'm new in this forum:D, and sorry for my very bad english.
I posted for quote gr4v1ty.

Gr4v1ty
07-14-2008, 11:22 AM
Hello,
I'm trying to do my first d3d...but i've these link errors...



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::DeleteDeviceObjects(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::DrawTextA(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)



I think there's something wrong with my d3dfont...

Did you fix it? If yes...How?? Could one of you guys virus or trezegol help me fix this? I don't want to do it with MSN cause I dont have it on this PC

virus7799
07-14-2008, 03:46 PM
Did you fix it? If yes...How?? Could one of you guys virus or trezegol help me fix this? I don't want to do it with MSN cause I dont have it on this PC

Yeah, I've fixed these errors for him.
If you could download either MSN or Xfire, PM me your email and I'll help you out.

ZeaS
07-20-2008, 11:09 AM
closed .