I'm new in iOS development, and i'm doing a small application with ogre...
All was going well until i've called to the material manager and texture manager to obtain texture and material ptrs... since then i've some linking errors:
If I comment all these code and only create a TexturePtr var in my class, y get the same error!ld: bad codegen, pointer diff in boost::thread_exception::thread_exception()to global weak symbol vtable for boost::thread_exceptionfor architecture armv6
collect2: ld returned 1 exit status
Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/g++-4.2 failed with exit code 1
ld: bad codegen, pointer diff in boost::thread_exception::thread_exception()to global weak symbol vtable for boost::thread_exceptionfor architecture armv7
collect2: ld returned 1 exit status
Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/g++-4.2 failed with exit code 1
class OgreSystem {
....
Ogre::TexturePtr m_Texture;
...
}
Any ideas? i'm using iOS ogre sdk 1.7.3 and i'm linking against the dependencies provided by this sdk. The include searchs paths are also aimed to the dependencies directories... My ogre class where this material calls and ptrs are is a c++ class.ld: bad codegen, pointer diff in Ogre::SharedPtr<Ogre::Texture>::SharedPtr()to global weak symbol vtable for Ogre::SharedPtr<Ogre::Texture>for architecture armv6
ld: bad codegen, pointer diff in Ogre::SharedPtr<Ogre::Texture>::SharedPtr()to global weak symbol vtable for Ogre::SharedPtr<Ogre::Texture>for architecture armv7
I'm compiling with iOS 4.3 and deployement target 4.1, xcode 3.2.6.
If i comment the code that access to the material and texture ptrs the project compiles without problems.
Thanks in advance!
