Error while compiling 12 may 2006 sources with CB

dedesite

13-05-2006 17:34:40

Hello,
I have made an application using an older version of PLSM2 with Ogre 1.0.7, and I trying to update it to the 1.2.0 version.
But I have an error while compiling new PLSM2 version on CodeBlocks (I had new file to the .cbp file) :

..\src\OgrePagingLandScapeRenderableManager.cpp:45: error: class `Ogre::PagingLandScapeRenderableSet' does not have any field named `PoolSet'

I really don't understand the problem, thank's for helping me.
I present my app monday and I wanted it to be up to date.

greetings,

dede

Occulis

13-05-2006 18:47:00

I saw this too, so I just commented out the line where they call the PoolSet constructor.


PagingLandScapeRenderableSet::PagingLandScapeRenderableSet():
// PoolSet(),
mRenderableManager(0)
{
}

wolfmanfx

13-05-2006 19:01:00

dont think thats the right way to go i have compiled without any errors so both must have some iinclude errors thats the only answer.

dedesite

13-05-2006 19:54:27

I saw this too, so I just commented out the line where they call the PoolSet constructor.

Code:

PagingLandScapeRenderableSet::PagingLandScapeRenderableSet():
// PoolSet(),
mRenderableManager(0)
{
}


I tried but I have some error when linking the library...

dont think thats the right way to go i have compiled without any errors so both must have some iinclude errors thats the only answer.

I have compare vs8 project and cb project and add the missing include but it has done nothing. There is maybe a new option to set?

PoolSet are a sort of template, right? So maybe MinGW doesn't accept it or maybe something must be done in order to configure it?
I'm not really a professionnal of C++ compiler, it's just an idea...


greetings,

dede

dedesite

16-05-2006 18:02:39

dont think thats the right way to go i have compiled without any errors so both must have some iinclude errors thats the only answer.

Did you use Code Blocks?

If yes, can you send me your .cbp file please?

Falagard

16-05-2006 18:10:21

Change it to

PoolSet<PagingLandScapeRenderableSet>()

I have a feeling this is an issue with VC 8.0 versus 7.1 and other compilers, since I noticed exactly the same problem in the Impostors code that tuan released. I'm using VC 7.1

Tuan, can you please make it PoolSet<Class> so it's compatible?

Clay

dedesite

16-05-2006 18:26:51

Thanks for the repply falagard!

Unfortunetly, it didn't fix the problem.

I have now this error :

..\src\OgrePagingLandScapeRenderableManager.cpp:45: error: type `class Ogre::PoolSet<Ogre::PagingLandScapeRenderableSet>' is not a direct base of `Ogre::PagingLandScapeRenderableSet'


Again I can't understand the problem. Template are not my cup of tea... :?

greetings,

dede