SOLUTION: Clean Your Ogre libraries:
If You get this error it means Your ogre install is messed up and you have leftovers like I did...
http://pastebin.com/raED5vU8
Clean them to succeed in building OpenMW
http://pastebin.com/5Ps6sZFT
Regards.
Andrzej
Hi folks.
Since last night OpenMW needs Ogre 1.8.0 right? Right... I removed old 1.7.2 version using Synaptic (PCLinuxOS 2012.02 - rpm based distro). I removed the ogre, libogre, libogre-devel to be exact and...
I have build bullet http://pastebin.com/kKc7siRk [ALL FINE]
I have build Ogre 1.8.0 http://pastebin.com/LKvVZQmM [ALL FINE]
and My-Gui which detected the right Ogre version http://pastebin.com/uRYPv1mF [ALL FINE]
but building the game fails... http://pastebin.com/9fxiWzKj with error:
I tried everything I could think off I even tried the things that I could not think off and I asked for help on #openmw channel but even with the best intentions - nothing, nada, zip, zero, big bobkas... I went to bed in the "FAIL" mood... I hate that... But this morning I woke up with an idea... I popped into the #ogre3d channel on freenode and I was told:[ 89%] Building CXX object apps/openmw/CMakeFiles/openmw.dir/main.cpp.o
[ 90%] Building CXX object apps/openmw/CMakeFiles/openmw.dir/engine.cpp.o
Linking CXX executable ../../openmw
CMakeFiles/openmw.dir/__/__/libs/openengine/bullet/BtOgre.cpp.o:(.rodata._ZTVN6BtOgre12DynamicLinesE[vtable for BtOgre::DynamicLines]+0x150): undefined reference to `non-virtual thunk to Ogre::SimpleRenderable::getMaterial() const'
CMakeFiles/openmw.dir/__/__/libs/openengine/bullet/BtOgre.cpp.o:(.rodata._ZTVN6BtOgre12DynamicLinesE[vtable for BtOgre::DynamicLines]+0x158): undefined reference to `non-virtual thunk to Ogre::SimpleRenderable::getRenderOperation(Ogre::RenderOperation&)'
CMakeFiles/openmw.dir/__/__/libs/openengine/bullet/BtOgre.cpp.o:(.rodata._ZTVN6BtOgre12DynamicLinesE[vtable for BtOgre::DynamicLines]+0x164): undefined reference to `non-virtual thunk to Ogre::SimpleRenderable::getWorldTransforms(Ogre::Matrix4*) const'
CMakeFiles/openmw.dir/__/__/libs/openengine/bullet/BtOgre.cpp.o:(.rodata._ZTVN6BtOgre12DynamicLinesE[vtable for BtOgre::DynamicLines]+0x170): undefined reference to `non-virtual thunk to Ogre::SimpleRenderable::getLights() const'
CMakeFiles/openmw.dir/__/__/libs/openengine/bullet/BtOgre.cpp.o:(.rodata._ZTVN6BtOgre17DynamicRenderableE[vtable for BtOgre::DynamicRenderable]+0x150): undefined reference to `non-virtual thunk to Ogre::SimpleRenderable::getMaterial() const'
CMakeFiles/openmw.dir/__/__/libs/openengine/bullet/BtOgre.cpp.o:(.rodata._ZTVN6BtOgre17DynamicRenderableE[vtable for BtOgre::DynamicRenderable]+0x158): undefined reference to `non-virtual thunk to Ogre::SimpleRenderable::getRenderOperation(Ogre::RenderOperation&)'
CMakeFiles/openmw.dir/__/__/libs/openengine/bullet/BtOgre.cpp.o:(.rodata._ZTVN6BtOgre17DynamicRenderableE[vtable for BtOgre::DynamicRenderable]+0x164): undefined reference to `non-virtual thunk to Ogre::SimpleRenderable::getWorldTransforms(Ogre::Matrix4*) const'
CMakeFiles/openmw.dir/__/__/libs/openengine/bullet/BtOgre.cpp.o:(.rodata._ZTVN6BtOgre17DynamicRenderableE[vtable for BtOgre::DynamicRenderable]+0x170): undefined reference to `non-virtual thunk to Ogre::SimpleRenderable::getLights() const'
CMakeFiles/openmw.dir/__/__/components/bsa/bsa_archive.cpp.o:(.rodata+0x560): undefined reference to `Ogre::FileSystemArchive::findFileInfo(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool) const'
collect2: ld returned 1 exit status
make[2]: *** [openmw] Error 1
make[1]: *** [apps/openmw/CMakeFiles/openmw.dir/all] Error 2
make: *** [all] Error 2
[andrzejl@icsserver build]$
So I have build BulletOgre which was slightly tricky as I was getting07:45 < BronzeBeard> AndrzejL, your problems look like it's with btogre
07:45 < BronzeBeard> did you compile bulletogre with 1.8?
07:46 < AndrzejL> Oh - no i didn't I compiled the bullet / ogre / mygui
07:46 < BronzeBeard> bulletogre needs to be compiled or fix or something
07:46 < AndrzejL> is there a bulletogre that I need to download and compile?
07:46 < BronzeBeard> it's a wrapper lib for ogre and bullet
07:46 < BronzeBeard> hummmm
07:46 < BronzeBeard> !ogrewiki bulletogre
07:46 < Veda> BronzeBeard: http://www.ogre3d.org/tikiwiki/OgreBull ... =Libraries
after a little digging I have found the file:fatal error: ConvexBuilder.h: No such file or directory
and the fix was easy:[root@icsserver ogrebullet]# updatedb
[root@icsserver ogrebullet]# locate ConvexBuilder.h
So after a while - a success - ogrebullet was compiled http://pastebin.com/6bDkJbP9 [ALL FINE][root@icsserver ogrebullet]# cd /opt/OpenMW_Deps/bullet-2.80-rev2531/Extras/
[root@icsserver Extras]# cp ./ConvexDecomposition/*.h /usr/include/bullet/
But the error while making game was still there...
So I re-compiled ogre... http://pastebin.com/zCDwRN5K [ALL FINE]
You will notice that they were few new files installed... BUT game still fails to build with the same error...
Tell me Gandalf... What I must do now...
Regards and thanks in advance...
Andrzej