I've been trying to compile HGE tutorial 3 but keep getting these errors. I have copied the supplied code into a new project and added the needed libraries into MSVC++2010. Tutorials 1 and 2 worked flawlessy but the third refuses to compile.
Have I missed anything?
1 2 3 4 5 6 7 8 9 10 11 12 13 14
1>------ Build started: Project: hge_test_3, Configuration: Debug Win32 ------ 1>main.obj: error LNK2019: unresolved external symbol "public: void __thiscall hgeParticleSystem::Update(float)"(?Update@hgeParticleSystem@@QAEXM@Z) referenced in function "bool __cdecl FrameFunc(void)"(?FrameFunc@@YA_NXZ) 1>main.obj: error LNK2019: unresolved external symbol "public: void __thiscall hgeParticleSystem::MoveTo(float,float,bool)"(?MoveTo@hgeParticleSystem@@QAEXMM_N@Z) referenced in function "bool __cdecl FrameFunc(void)"(?FrameFunc@@YA_NXZ) 1>main.obj: error LNK2019: unresolved external symbol "public: void __cdecl hgeFont::printf(float,float,int,char const *,...)"(?printf@hgeFont@@QAAXMMHPBDZZ) referenced in function "bool __cdecl RenderFunc(void)"(?RenderFunc@@YA_NXZ) 1>main.obj: error LNK2019: unresolved external symbol "public: void __thiscall hgeSprite::Render(float,float)"(?Render@hgeSprite@@QAEXMM@Z) referenced in function "bool __cdecl RenderFunc(void)"(?RenderFunc@@YA_NXZ) 1>main.obj: error LNK2019: unresolved external symbol "public: void __thiscall hgeParticleSystem::Render(void)"(?Render@hgeParticleSystem@@QAEXXZ) referenced in function "bool __cdecl RenderFunc(void)"(?RenderFunc@@YA_NXZ) 1>main.obj: error LNK2019: unresolved external symbol "public: void __thiscall hgeParticleSystem::Fire(void)"(?Fire@hgeParticleSystem@@QAEXXZ) referenced in function _WinMain@16 1>main.obj: error LNK2019: unresolved external symbol "public: __thiscall hgeParticleSystem::hgeParticleSystem(char const *,class hgeSprite *)"(??0hgeParticleSystem@@QAE@PBDPAVhgeSprite@@@Z) referenced in function _WinMain@16 1>main.obj: error LNK2019: unresolved external symbol "public: __thiscall hgeFont::hgeFont(char const *,bool)"(??0hgeFont@@QAE@PBD_N@Z) referenced in function _WinMain@16 1>main.obj: error LNK2019: unresolved external symbol "public: void __thiscall hgeSprite::SetColor(unsigned long,int)"(?SetColor@hgeSprite@@QAEXKH@Z) referenced in function _WinMain@16 1>main.obj: error LNK2019: unresolved external symbol "public: __thiscall hgeSprite::hgeSprite(unsigned long,float,float,float,float)"(??0hgeSprite@@QAE@KMMMM@Z) referenced in function _WinMain@16 1>main.obj: error LNK2001: unresolved external symbol "private: static class HGE * hgeParticleSystem::hge"(?hge@hgeParticleSystem@@0PAVHGE@@A) 1>main.obj: error LNK2019: unresolved external symbol "public: __thiscall hgeFont::~hgeFont(void)"(??1hgeFont@@QAE@XZ) referenced in function "public: void * __thiscall hgeFont::`scalar deleting destructor'(unsigned int)"(??_GhgeFont@@QAEPAXI@Z) 1>main.obj: error LNK2001: unresolved external symbol "protected: static class HGE * hgeSprite::hge"(?hge@hgeSprite@@1PAVHGE@@A)