Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


Danny Burkhart

Member Since 09 May 2012
Offline Last Active Apr 01 2015 02:08 AM

Topics I've Started

LNK2019 + LNK1120 Errors

05 January 2013 - 06:37 PM

I have currently been at a loss after I got this errors debugging.

 

 

1>graphicsclass.obj : error LNK2019: unresolved external symbol "public: __thiscall modelclasstexture::~modelclasstexture(void)" (??1modelclasstexture@@QAE@XZ) referenced in function "public: void * __thiscall modelclasstexture::`scalar deleting destructor'(unsigned int)" (??_Gmodelclasstexture@@QAEPAXI@Z)
1>graphicsclass.obj : error LNK2019: unresolved external symbol "public: int __thiscall modelclasstexture::GetIndexCount(void)" (?GetIndexCount@modelclasstexture@@QAEHXZ) referenced in function "private: bool __thiscall GraphicsClass::Render(void)" (?Render@GraphicsClass@@AAE_NXZ)
1>graphicsclass.obj : error LNK2019: unresolved external symbol "public: void __thiscall modelclasstexture::Render(struct ID3D10Device *)" (?Render@modelclasstexture@@QAEXPAUID3D10Device@@@Z) referenced in function "private: bool __thiscall GraphicsClass::Render(void)" (?Render@GraphicsClass@@AAE_NXZ)
1>modelclass.obj : error LNK2019: unresolved external symbol "private: void __thiscall modelclasstexture::ShutdownBuffers(void)" (?ShutdownBuffers@modelclasstexture@@AAEXXZ) referenced in function "public: void __thiscall modelclasstexture::Shutdown(void)" (?Shutdown@modelclasstexture@@QAEXXZ)
1>C:\IGE v1.0\Source\IGE\Debug\IGE.exe : fatal error LNK1120: 4 unresolved externals
 
I cannot find the source of the errors and have been researching to no solution.
 
The errors seem to come from this section of my code:
 
public:
modelclasstexture();
modelclasstexture(const modelclasstexture&);
~modelclasstexture();


bool Initialize(ID3D10Device*, WCHAR*);
void Shutdown();
void Render(ID3D10Device*);


int GetIndexCount();


ID3D10ShaderResourceView* GetTexture();

 

 

 


Where Should I Start?

20 July 2012 - 12:21 PM

I have been trying to learn C++ language for some time now, but I have had trouble deciding where I should start. By where I should start I mean what are good steps to take in order to master the C++ language. If anyone has some good advice it will be greatly appreciated Posted Image .

PARTNERS