I tried the dev version of LoS with the same results. Then, while looking at Arch Linux packages, they mentioned a patch for OGRE 1.9:
Arch Linux Package:
https://aur.archlinux.org/packages.php?ID=46458LoS OGRE 1.9 Patch:
http://pastebin.com/9E3mnaRpIt was applied successfully, and it actually got farther than 85/313 , but I got another error:
- {l Code}: {l Select All Code}
[ 89/313] c: src/lipsofsuna/render/image/image-dds.c -> .build/src/lipsofsuna/render/image/image-dds.c.1.o
[ 90/313] cxx: src/lipsofsuna/render/internal/render-attachment-entity.cpp -> .build/src/lipsofsuna/render/internal/render-attachment-entity.cpp.1.o
[ 91/313] cxx: src/lipsofsuna/render/internal/render-attachment-particle.cpp -> .build/src/lipsofsuna/render/internal/render-attachment-particle.cpp.1.o
In file included from /home/user1/tmp/new-games/LoS/lipsofsuna-0.8.0/src/lipsofsuna/system.h:21:0,
from ../src/lipsofsuna/render/internal/render-attachment-entity.cpp:27:
../src/lipsofsuna/render/internal/render-attachment-entity.cpp: In member function 'virtual void LIRenAttachmentEntity::update(float)':
../src/lipsofsuna/render/internal/render-attachment-entity.cpp:217:68: error: invalid use of incomplete type 'class Ogre::SkeletonInstance'
lisys_assert (pose_buffer->bones.count == entity->getSkeleton ()->getNumBones ());
^
/home/user1/tmp/new-games/LoS/lipsofsuna-0.8.0/src/lipsofsuna/system/system.h:40:29: note: in definition of macro 'lisys_assert'
#define lisys_assert(exp) ((exp)? (void) 0 : lisys_assert_fail (#exp, __FILE__, __LINE__, __func__))
^
In file included from /usr/include/OGRE/OgreString.h:31:0,
from ../src/lipsofsuna/render/internal/render-unique-id.hpp:22,
from ../src/lipsofsuna/render/internal/render.hpp:22,
from ../src/lipsofsuna/render/internal/render-attachment-entity.cpp:28:
/usr/include/OGRE/OgrePrerequisites.h:295:11: error: forward declaration of 'class Ogre::SkeletonInstance'
class SkeletonInstance;
^
In file included from /home/user1/tmp/new-games/LoS/lipsofsuna-0.8.0/src/lipsofsuna/system.h:21:0,
from ../src/lipsofsuna/render/internal/render-attachment-entity.cpp:27:
../src/lipsofsuna/render/internal/render-attachment-entity.cpp: In member function 'virtual void LIRenAttachmentEntity::update_pose(LIMdlPoseSkeleton*)':
../src/lipsofsuna/render/internal/render-attachment-entity.cpp:270:57: error: invalid use of incomplete type 'class Ogre::SkeletonInstance'
lisys_assert (pose_buffer->bones.count == ogre_skeleton->getNumBones ());
^
/home/user1/tmp/new-games/LoS/lipsofsuna-0.8.0/src/lipsofsuna/system/system.h:40:29: note: in definition of macro 'lisys_assert'
#define lisys_assert(exp) ((exp)? (void) 0 : lisys_assert_fail (#exp, __FILE__, __LINE__, __func__))
^
In file included from /usr/include/OGRE/OgreString.h:31:0,
from ../src/lipsofsuna/render/internal/render-unique-id.hpp:22,
from ../src/lipsofsuna/render/internal/render.hpp:22,
from ../src/lipsofsuna/render/internal/render-attachment-entity.cpp:28:
/usr/include/OGRE/OgrePrerequisites.h:295:11: error: forward declaration of 'class Ogre::SkeletonInstance'
class SkeletonInstance;
^
../src/lipsofsuna/render/internal/render-attachment-entity.cpp:276:39: error: invalid use of incomplete type 'class Ogre::SkeletonInstance'
Ogre::Bone* dst_bone = ogre_skeleton->getBone (i);
^
In file included from /usr/include/OGRE/OgreString.h:31:0,
from ../src/lipsofsuna/render/internal/render-unique-id.hpp:22,
from ../src/lipsofsuna/render/internal/render.hpp:22,
from ../src/lipsofsuna/render/internal/render-attachment-entity.cpp:28:
/usr/include/OGRE/OgrePrerequisites.h:295:11: error: forward declaration of 'class Ogre::SkeletonInstance'
class SkeletonInstance;
^
../src/lipsofsuna/render/internal/render-attachment-entity.cpp:279:11: error: invalid use of incomplete type 'class Ogre::Bone'
dst_bone->setScale (s.x, s.y, s.z);
^
In file included from /usr/include/OGRE/OgreString.h:31:0,
from ../src/lipsofsuna/render/internal/render-unique-id.hpp:22,
from ../src/lipsofsuna/render/internal/render.hpp:22,
from ../src/lipsofsuna/render/internal/render-attachment-entity.cpp:28:
/usr/include/OGRE/OgrePrerequisites.h:154:11: error: forward declaration of 'class Ogre::Bone'
class Bone;
^
../src/lipsofsuna/render/internal/render-attachment-entity.cpp:280:11: error: invalid use of incomplete type 'class Ogre::Bone'
dst_bone->setPosition (t.position.x, t.position.y, t.position.z);
^
In file included from /usr/include/OGRE/OgreString.h:31:0,
from ../src/lipsofsuna/render/internal/render-unique-id.hpp:22,
from ../src/lipsofsuna/render/internal/render.hpp:22,
from ../src/lipsofsuna/render/internal/render-attachment-entity.cpp:28:
/usr/include/OGRE/OgrePrerequisites.h:154:11: error: forward declaration of 'class Ogre::Bone'
class Bone;
^
../src/lipsofsuna/render/internal/render-attachment-entity.cpp:281:11: error: invalid use of incomplete type 'class Ogre::Bone'
dst_bone->setOrientation (t.rotation.w, t.rotation.x, t.rotation.y, t.rotation.z);
^
In file included from /usr/include/OGRE/OgreString.h:31:0,
from ../src/lipsofsuna/render/internal/render-unique-id.hpp:22,
from ../src/lipsofsuna/render/internal/render.hpp:22,
from ../src/lipsofsuna/render/internal/render-attachment-entity.cpp:28:
/usr/include/OGRE/OgrePrerequisites.h:154:11: error: forward declaration of 'class Ogre::Bone'
class Bone;
^
../src/lipsofsuna/render/internal/render-attachment-entity.cpp:285:15: error: invalid use of incomplete type 'class Ogre::SkeletonInstance'
ogre_skeleton->_notifyManualBonesDirty ();
^
In file included from /usr/include/OGRE/OgreString.h:31:0,
from ../src/lipsofsuna/render/internal/render-unique-id.hpp:22,
from ../src/lipsofsuna/render/internal/render.hpp:22,
from ../src/lipsofsuna/render/internal/render-attachment-entity.cpp:28:
/usr/include/OGRE/OgrePrerequisites.h:295:11: error: forward declaration of 'class Ogre::SkeletonInstance'
class SkeletonInstance;
^
../src/lipsofsuna/render/internal/render-attachment-entity.cpp: In member function 'bool LIRenAttachmentEntity::create_skeleton()':
../src/lipsofsuna/render/internal/render-attachment-entity.cpp:322:31: error: invalid use of incomplete type 'class Ogre::SkeletonInstance'
Ogre::Bone* bone = skeleton->getBone (i + 1);
^
In file included from /usr/include/OGRE/OgreString.h:31:0,
from ../src/lipsofsuna/render/internal/render-unique-id.hpp:22,
from ../src/lipsofsuna/render/internal/render.hpp:22,
from ../src/lipsofsuna/render/internal/render-attachment-entity.cpp:28:
/usr/include/OGRE/OgrePrerequisites.h:295:11: error: forward declaration of 'class Ogre::SkeletonInstance'
class SkeletonInstance;
^
../src/lipsofsuna/render/internal/render-attachment-entity.cpp:328:9: error: invalid use of incomplete type 'class Ogre::Bone'
bone->setPosition (t.position.x, t.position.y, t.position.z);
^
In file included from /usr/include/OGRE/OgreString.h:31:0,
from ../src/lipsofsuna/render/internal/render-unique-id.hpp:22,
from ../src/lipsofsuna/render/internal/render.hpp:22,
from ../src/lipsofsuna/render/internal/render-attachment-entity.cpp:28:
/usr/include/OGRE/OgrePrerequisites.h:154:11: error: forward declaration of 'class Ogre::Bone'
class Bone;
^
../src/lipsofsuna/render/internal/render-attachment-entity.cpp:329:9: error: invalid use of incomplete type 'class Ogre::Bone'
bone->setOrientation (t.rotation.w, t.rotation.x, t.rotation.y, t.rotation.z);
^
In file included from /usr/include/OGRE/OgreString.h:31:0,
from ../src/lipsofsuna/render/internal/render-unique-id.hpp:22,
from ../src/lipsofsuna/render/internal/render.hpp:22,
from ../src/lipsofsuna/render/internal/render-attachment-entity.cpp:28:
/usr/include/OGRE/OgrePrerequisites.h:154:11: error: forward declaration of 'class Ogre::Bone'
class Bone;
^
../src/lipsofsuna/render/internal/render-attachment-entity.cpp:335:31: error: invalid use of incomplete type 'class Ogre::SkeletonInstance'
for (int i = 0 ; i < skeleton->getNumBones () ; i++)
^
In file included from /usr/include/OGRE/OgreString.h:31:0,
from ../src/lipsofsuna/render/internal/render-unique-id.hpp:22,
from ../src/lipsofsuna/render/internal/render.hpp:22,
from ../src/lipsofsuna/render/internal/render-attachment-entity.cpp:28:
/usr/include/OGRE/OgrePrerequisites.h:295:11: error: forward declaration of 'class Ogre::SkeletonInstance'
class SkeletonInstance;
^
../src/lipsofsuna/render/internal/render-attachment-entity.cpp:337:30: error: invalid use of incomplete type 'class Ogre::SkeletonInstance'
Ogre::Bone* bone = skeleton->getBone (i);
^
In file included from /usr/include/OGRE/OgreString.h:31:0,
from ../src/lipsofsuna/render/internal/render-unique-id.hpp:22,
from ../src/lipsofsuna/render/internal/render.hpp:22,
from ../src/lipsofsuna/render/internal/render-attachment-entity.cpp:28:
/usr/include/OGRE/OgrePrerequisites.h:295:11: error: forward declaration of 'class Ogre::SkeletonInstance'
class SkeletonInstance;
^
../src/lipsofsuna/render/internal/render-attachment-entity.cpp:338:7: error: invalid use of incomplete type 'class Ogre::Bone'
bone->setManuallyControlled (true);
^
In file included from /usr/include/OGRE/OgreString.h:31:0,
from ../src/lipsofsuna/render/internal/render-unique-id.hpp:22,
from ../src/lipsofsuna/render/internal/render.hpp:22,
from ../src/lipsofsuna/render/internal/render-attachment-entity.cpp:28:
/usr/include/OGRE/OgrePrerequisites.h:154:11: error: forward declaration of 'class Ogre::Bone'
class Bone;
^
../src/lipsofsuna/render/internal/render-attachment-entity.cpp:342:10: error: invalid use of incomplete type 'class Ogre::SkeletonInstance'
skeleton->setBindingPose ();
^
In file included from /usr/include/OGRE/OgreString.h:31:0,
from ../src/lipsofsuna/render/internal/render-unique-id.hpp:22,
from ../src/lipsofsuna/render/internal/render.hpp:22,
from ../src/lipsofsuna/render/internal/render-attachment-entity.cpp:28:
/usr/include/OGRE/OgrePrerequisites.h:295:11: error: forward declaration of 'class Ogre::SkeletonInstance'
class SkeletonInstance;
^
Waf: Leaving directory `/home/user1/tmp/new-games/LoS/lipsofsuna-0.8.0/.build'
Build failed
-> task in 'lipsofsuna' failed (exit status 1):
{task 25323216: cxx render-attachment-entity.cpp -> render-attachment-entity.cpp.1.o}
['/usr/bin/g++', '-march=native', '-O2', '-pipe', '-fPIC', '-march=native', '-O2', '-pipe', '-fPIC', '-g', '-Wall', '-DHAVE_CONFIG_H', '-O3', '-pthread', '-pthread', '-pthread', '-I/home/user1/tmp/new-games/LoS/lipsofsuna-0.8.0/.build', '-I/home/user1/tmp/new-games/LoS/lipsofsuna-0.8.0', '-I/home/user1/tmp/new-games/LoS/lipsofsuna-0.8.0/.build/src', '-I/home/user1/tmp/new-games/LoS/lipsofsuna-0.8.0/src', '-I/usr/include/bullet', '-I/usr/include/OIS', '-I/usr/include/OGRE', '-I/usr/include/OGRE/Terrain', '-I/usr/include/OGRE/Paging', '-I/usr/include/OGRE/Overlay', '-I/usr/include/AL', '-I/usr/include/FLAC', '../src/lipsofsuna/render/internal/render-attachment-entity.cpp', '-c', '-o', 'src/lipsofsuna/render/internal/render-attachment-entity.cpp.1.o']
bash-4.2$