Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: Deamon on July 27, 2006, 05:31:15 am

Title: Compiling OGRE
Post by: Deamon on July 27, 2006, 05:31:15 am
I'm currently trying to compile OGRE according to this tut:

http://www.ogre3d.org/wiki/index.php/CodeBlocks_MingW_STLPort

However, i run in to a problem:

-------------- Build: Debug in Demo_CameraTrack ---------------
Compiling: ..\src\CameraTrack.cpp
Linking executable: ..\..\bin\Debug\Demo_CameraTrack.exe
Info: resolving Ogre::Vector3::ZERO     by linking to __imp___ZN4Ogre7Vector34ZEROE (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)
Info: resolving Ogre::Vector3::UNIT_Y     by linking to __imp___ZN4Ogre7Vector36UNIT_YE (auto-import)
Info: resolving Ogre::Vector3::UNIT_Z     by linking to __imp___ZN4Ogre7Vector36UNIT_ZE (auto-import)
Info: resolving Ogre::ColourValue::White      by linking to __imp___ZN4Ogre11ColourValue5WhiteE (auto-import)
Info: resolving vtable for Ogre::MeshPtrby linking to __imp___ZTVN4Ogre7MeshPtrE (auto-import)
Info: resolving Ogre::Math::fDeg2Rad     by linking to __imp___ZN4Ogre4Math8fDeg2RadE (auto-import)
..\obj\Debug\src\CameraTrack.o(.text$_ZN4Ogre7MeshPtrD1Ev[Ogre::MeshPtr::~MeshPtr()]+0xb): In function `ZN19CameraTrackListenerD1Ev':
C:/Programme/OGREsdk/samples/scripts/../src/CameraTrack.cpp: variable 'vtable for Ogre::MeshPtr' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.
collect2: ld returned 1 exit status
Process terminated with status 1 (2 minutes, 21 seconds)
0 errors, 0 warnings
---------------------------------------------

I'm not sure whats wrong. I'm building from the SDK btw. Is there something missing ?
Title: Re: Compiling OGRE
Post by: Deamon on July 27, 2006, 05:37:38 pm
Never mind guys. Solved!