Compile error with CodeBlocks

Denommus

29-12-2006 00:46:40

Before you ask me to see the other topics, I want to say that the informations which are on the other topics didn't work with me.
This is the error on the linking:

-------------- Build: Release in fisica ---------------
Linking executable: c:\OgreSDK\bin\Release\fisica.exe
Info: resolving Ogre::Vector3::ZERO by linking to __imp___ZN4Ogre7Vector34ZEROE (auto-import)
Info: resolving Ogre::Math::fDeg2Rad by linking to __imp___ZN4Ogre4Math8fDeg2RadE (auto-import)
Info: resolving Ogre::ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME by linking to __imp___ZN4Ogre20ResourceGroupManager27DEFAULT_RESOURCE_GROUP_NAMEE (auto-import)
Info: resolving Ogre::Quaternion::IDENTITY by linking to __imp___ZN4Ogre10Quaternion8IDENTITYE (auto-import)
obj\Release\main.o:main.cpp:(.text$_ZN9SampleApp11createSceneEv[SampleApp::createScene()]+0x216): undefined reference to `_imp___ZN7OgreOde5WorldC1EPN4Ogre12SceneManagerE'
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings

Do I really have to use STLport to fix this? Do I have some alternative? I don't understand how I can intall STLport!
(I know that the error is in the linking)

luis

29-12-2006 07:43:26

undefined reference to `_imp___ZN7OgreOde5WorldC1EPN4Ogre12SceneManagerE'

I don't think the problem is with the STL.... it seems you are not linking against OgreOde_Core.lib...

Denommus

29-12-2006 22:46:24

This file doesn't exist in my computer...
I've seen in the Windows Search, and he doesn't appear.
Can you tell me the path?

luis

01-01-2007 18:33:57

This file doesn't exist in my computer...

you must build OgreOde_Core.lib with codeblocks, download OgreOde and build it ;)