Compiling PLSM2 with OGRE SDK 1.6.3

emraza

18-08-2009 23:42:34

Hi,

I am trying to compile PLSM2 using the source from http://tuan.kuranes.free.fr/Ogre.html and following the instructions from http://www.ogre3d.org/wiki/index.php/Pa ... stallation.

I am getting three major errors, I am actually getting a lot more errors, but I think those will resolve once the first three are resolved.

First I was getting an error about the compiler not being able to find OgreNoMemoryMacros.h, I read on this forum that it is no longer used in OGRE 3D 1.6.3, so I commented that line out.

Then I get two errors regarding RealConstantEntry not being a member of GpuProgramParameters (at OgrePagingLandScapeTexture.cpp line 130). Does anyone know how to resolve this?

I just want to be able to build an application that can render very large terrains (no larger than 4000 x 4000). I think PLSM2 is the only thing that'll do it. Is there any other add-on or technique that can be used to render a 4000 x 4000 terrain using OGRE and have it use some kind of level-of-detail approach?

-emraza

keichi

23-08-2009 12:20:25

You should load the actual source from svn ( http://ogreaddons.svn.sourceforge.net/s ... glandscape ).
I tried it today with this source and it seems that the errors are fixed. But after compiling a while i get an LNK1104 that it couldn't open "Win32\Plugin_PagingLandScapeSceneManager2_d.pdb" from codeblocks (compiler vs 2008). Anybody an idea?

Edit: Solved. Had to remove "/pdb:..\bin\Debug Win32\Plugin_PagingLandScapeSceneManager2_d.pdb" from linker settings.