[solved] unresolved external symbol

tone

11-03-2007 14:36:02

edit: solved.. It took 2 days before I noticed that I'd neglected the FS3D:: prefix when defining these. Why is C++ syntax so inviting of such errors?

----------
I am using VS 2005, ODE 0.8 and OgreOde from CVS (current to a few days ago).

My efforts to compile an executable fail on unresolved external symbols where I am using pointers to OgreOde classes as class members in one of my static libs.

ODE compiles without serious complaint, as does OgreOde.

Compiling in Debug mode, OgreOde_Core links with ode_d.lib and OgreMain_d.lib OgreOde_Core depends on my ode source project

My static lib specifically links with Ogreode_Core_d.lib as an input and it lists the OgreOde_Core project as a dependency. There are no messages about .lib files not being found

So.... any idea why it tells me "unresolved external symbol"? The symbols are in Ogreode_Core_d.lib, right?


fsCored.lib(fs3D.obj) : error LNK2001: unresolved external symbol "protected: static class OgreOde::StepHandler * FS3D::sODEStepHandler" (?sODEStepHandler@FS3D@@1PAVStepHandler@OgreOde@@A)
fsCored.lib(fs3D.obj) : error LNK2001: unresolved external symbol "protected: static class OgreOde::World * FS3D::sODEWorld" (?sODEWorld@FS3D@@1PAVWorld@OgreOde@@A)
fsCored.lib(fsPerson.obj) : error LNK2001: unresolved external symbol "protected: static class OgreOde::World * FS3D::sODEWorld" (?sODEWorld@FS3D@@1PAVWorld@OgreOde@@A)