error LNK2019

Posts 110 of 10 · Page 1 of 1
error LNK2019
Hey guys, I'm using gellins base, and whenever I compile, I get these 3 errors.

1. error LNK2019: unresolved external symbol "public: void __cdecl cDirectx:: DrawString(int,int,unsigned long,struct ID3DXFont *,char const *,...)" (?DrawString@cDirectx@@QAAXHHKPAUID3DXFont@@PBDZZ) referenced in function "public: void __thiscall cMenu::RenderMenu(void)" (?RenderMenu@cMenu@@QAEXXZ)

2. error LNK2001: unresolved external symbol "class cDirectx Directx" (?Directx@@3VcDirectx@@A)

3.fatal error LNK1120: 2 unresolved externals


And yes, I have everything linked. And have all my lib and included files.
ur calling a function thats not there
I'm pretty sure everything is there. If I'm wrong, then how would I get the function in my source?
Quote Originally Posted by scimmyboy View Post
ur calling a function thats not there
Quote Originally Posted by tstert View Post
I'm pretty sure everything is there. If I'm wrong, then how would I get the function in my source?
basically your trying to get a command/function thats not there and the compilers going "wtf is this guy doin'?"
real coders correct me if im wrong
can we see your Directx.h file?
Quote Originally Posted by Yepikiyay View Post
hes using gellins base just google gellins base
or here:http://lmgtfy.com/?q=gellins+base
We need to see his Directx.h file because we don't know what the hell he did to it.
/Moved .
1. error LNK2019: unresolved external symbol "public: void __cdecl cDirectx:: DrawString(int,int,unsigned long,struct ID3DXFont *,char const *,...)" (?DrawString@cDirectx@@QAAXHHKPAUID3DXFont@@PBDZZ) referenced in function "public: void __thiscall cMenu::RenderMenu(void)" (?RenderMenu@cMenu@@QAEXXZ)

2. error LNK2001: unresolved external symbol "class cDirectx Directx" (?Directx@@3VcDirectx@@A)
extern cDirectx Directx;

Try that..

lol Why did you move it to CA help? This is cpp code so it belongs in source code section I believe..
I haven't touched any of the header files. I've only changed hacks in Base.cpp, and added items in Menu.cpp, nothing else.

Other people were saying I'm missing a needed file in my source, like d3d9.lib and d3dx9.lib which I have in my source.

Edit: Decided to add DirectX.h

Virus Scan: Virustotal. MD5: 21b7792bcde2cd7a070f6ac42d6e317b

DL: uploading
Posts 110 of 10 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?