Hi there,
So I've start hacking the teapot wars code, and started a new project which uses the gamecode base.
Anyway, after a bunch of changes and chasing of bugs, i can't get it to compile. Getting:
edBase.obj : error LNK2019: unresolved external symbol "void __cdecl ListenForEarthdawnGameCommands(class boost::shared_ptr<class IEventListener>)" (?ListenForEarthdawnGameCommands@@YAXV?$shared_ptr@VIEventListener@@@boost@@@Z) referenced in function "protected: virtual class BaseGame * __thiscall EarthdawnGameApp::VCreateGameAndView(void)" (?VCreateGameAndView@EarthdawnGameApp@@MAEPAVBaseGame@@XZ)
edBase.obj : error LNK2001: unresolved external symbol "void __cdecl ListenForEarthdawnGameCommands(class boost::shared_ptr<class IEventListener>)" (?ListenForEarthdawnGameCommands@@YAXV?$shared_ptr@VIEventListener@@@boost@@@Z)
..\Test/Earthdawnd.exe : fatal error LNK1120: 1 unresolved externals
(edBase.cpp is a new version of TeapotWars.cpp).
Any ideas? Is it not able to find the obj files or is it something to do with boost? It compiles fine.
thanks,
andolyne
So I've start hacking the teapot wars code, and started a new project which uses the gamecode base.
Anyway, after a bunch of changes and chasing of bugs, i can't get it to compile. Getting:
edBase.obj : error LNK2019: unresolved external symbol "void __cdecl ListenForEarthdawnGameCommands(class boost::shared_ptr<class IEventListener>)" (?ListenForEarthdawnGameCommands@@YAXV?$shared_ptr@VIEventListener@@@boost@@@Z) referenced in function "protected: virtual class BaseGame * __thiscall EarthdawnGameApp::VCreateGameAndView(void)" (?VCreateGameAndView@EarthdawnGameApp@@MAEPAVBaseGame@@XZ)
edBase.obj : error LNK2001: unresolved external symbol "void __cdecl ListenForEarthdawnGameCommands(class boost::shared_ptr<class IEventListener>)" (?ListenForEarthdawnGameCommands@@YAXV?$shared_ptr@VIEventListener@@@boost@@@Z)
..\Test/Earthdawnd.exe : fatal error LNK1120: 1 unresolved externals
(edBase.cpp is a new version of TeapotWars.cpp).
Any ideas? Is it not able to find the obj files or is it something to do with boost? It compiles fine.
thanks,
andolyne