ur calling a function thats not there
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?
can we see your Directx.h file?
hes using gellins base just google gellins base
or here:https://lmgtfy.com/?q=gellins+base
I Hate You
Current Status: Online Playing MineCraft
extern cDirectx Directx;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)
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
Last edited by tstert; 07-06-2010 at 09:42 AM.
[IMG]https://i878.photobucke*****m/albums/ab341/tstert/Sigs/Body.png?t=1278402962[/IMG]