undefined reference to...

vmatikainen

29-01-2007 20:07:58

I get these extremely annoying undefined references to

undefined reference to `_imp___ZN9Enginuity7OgreOde5WorldC1EPN4Ogre12SceneManagerE'
undefined reference to `_imp___ZN9Enginuity7OgreOde11StepHandlerC1EPNS0_5WorldENS1_12StepModeTypeEfff'

Im using codeblocks and mingw. I did compile the examples and they are running fine. But with my own program I get these when trying to create ogreode world. I have tried in the linker libraries list both libogreode_core_d and ogreode_core_d and they both result in the same, even though the linker finds the library just fine.
Do I need to know some secrets about the directory order or .a and .def files or what? If you can share some light I promise I wont reveal the secret to anyone ;)

Br, Vikke

tuan kuranes

24-02-2007 11:39:41

try to tweak export or OgreOde_Export keyword placement on those class.