Yep.
Unresolved External Symbols. 10 of them.
I know for a fact, I'm linking against ZEngine.lib, Is it possible that VC went explode() with my function names?Code:Error 2 error LNK2001: unresolved external symbol "public: int __thiscall Zora::CKernal::Execute(void)" (?Execute@CKernal@Zora@@QAEHXZ) E:\Projects\Zora Engine\Zora Test\Application.obj Zora Test Error 3 error LNK2001: unresolved external symbol "public: static class Zora::IProfileOutputHandler * Zora::CProfileSample::outputHandler" (?outputHandler@CProfileSample@Zora@@2PAVIProfileOutputHandler@2@A) E:\Projects\Zora Engine\Zora Test\Application.obj Zora Test Error 4 error LNK2001: unresolved external symbol "public: __thiscall Zora::CKernal::CKernal(void)" (??0CKernal@Zora@@QAE@XZ) E:\Projects\Zora Engine\Zora Test\Application.obj Zora Test Error 5 error LNK2001: unresolved external symbol "public: __thiscall Zora::CSettingsManager::CSettingsManager(void)" (??0CSettingsManager@Zora@@QAE@XZ) E:\Projects\Zora Engine\Zora Test\Application.obj Zora Test Error 6 error LNK2001: unresolved external symbol "public: bool __thiscall Zora::CLog::Init(void)" (?Init@CLog@Zora@@QAE_NXZ) E:\Projects\Zora Engine\Zora Test\Application.obj Zora Test Error 7 error LNK2001: unresolved external symbol "public: static class Zora::CLog & __cdecl Zora::CLog::Get(void)" (?Get@CLog@Zora@@SAAAV12@XZ) E:\Projects\Zora Engine\Zora Test\Application.obj Zora Test Error 8 error LNK2001: unresolved external symbol "public: virtual void __thiscall Zora::CProfileLogHandler::BeginOutput(float)" (?BeginOutput@CProfileLogHandler@Zora@@UAEXM@Z) E:\Projects\Zora Engine\Zora Test\Application.obj Zora Test Error 9 error LNK2001: unresolved external symbol "public: virtual void __thiscall Zora::CProfileLogHandler::Sample(float,float,float,float,int,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,int)" (?Sample@CProfileLogHandler@Zora@@UAEXMMMMHV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@H@Z) E:\Projects\Zora Engine\Zora Test\Application.obj Zora Test Error 10 error LNK2001: unresolved external symbol "public: virtual void __thiscall Zora::CProfileLogHandler::EndOutput(void)" (?EndOutput@CProfileLogHandler@Zora@@UAEXXZ) E:\Projects\Zora Engine\Zora Test\Application.obj Zora Test Error 11 error LNK2001: unresolved external symbol "public: static void __cdecl Zora::IMMObject::CollectRemainingObjects(bool)" (?CollectRemainingObjects@IMMObject@Zora@@SAX_N@Z) E:\Projects\Zora Engine\Zora Test\Zora Test.obj Zora Test
PHP Code:// CApp.h
#ifndef __CAPPLICATION_H__
#define __CAPPLICATION_H__
#include "../ZEngine/engineIncludes.h"
#include "../ZEngine/Singleton.h"
class CApplication : public Singleton<CApplication>
{
public:
void Run(int argc, char* argv[]);
};
#endif
The define is only to enable the inclusion of my headers from the static lib.PHP Code:// CApp.cpp
#define __ZORA__
#include "Application.h"
void CApplication::Run(int argc, char* argv[])
{
// Open logFiles.
if(!CLog::Get().Init()) return;
// Couple of SingleTonZ :D
new CSettingsManager();
new CKernal();
CProfileLogHandler profileLogHandler;
CProfileSample::outputHandler = &profileLogHandler;
// Main LOOP!
CKernal::GetSingleton().Execute();
// Clean UP!
delete CKernal::GetSingletonPtr();
delete CSettingsManager::GetSingletonPtr();
}




Reply With Quote