[Solved] PLSM CVS doesn't compile against OGRE CVS

Arcnor

29-08-2007 16:34:55

Hello.

First of all, I wanted to say "Thanks" to Tuan Kuranes for doing such a work and releasing it for free!!

I have a problem with it, though. I've to use OGRE CVS because v1.4 doesn't compile well with Linux x64 (just the CEGUI part, doesn't know why), but getWorldPosition() seems to be removed from OgreRenderable.h (Sinbad said in CVS comments that it caused confusion and wasn't used), so anyone know what change I've to make it work in OgrePagingLandScapeMeshDecal.cpp, lines 465 and 489? I'm too new with Ogre to be able to make the change myself (and I hate Matrices and Maths in general xDD).

I just want to try this beauty for my next project :D

Thanks a lot in advance!

Arcnor

30-08-2007 14:54:52

Solved changing getWorldPosition() to _getDerivedPosition()

Now I've a problem linking:

libtool: link: only absolute run-paths are allowed


...but that's another error, and I'm trying to solve it ;)

[Edit] Also solved. Seems that Makefile.am is missing some things. -rpath was added without proper path and no -lOgreMain was added in-place.

If someone tries to compile this and gets any other error, just post in here. I changed lot of things and don't remember all of them ;)

LR

06-09-2007 20:38:26

I also had to add
// Dummy declaration of abstract virtual
void visitRenderables(Renderable::Visitor* visitor, bool debugRenderables = false) { }

to some classes so they could be instanciated.

Is it just me and my new compiler or does PLSM run slower now, after compiling it against HEAD instead against the SDK?