PLSM and Code::Blocks [SOLVED]

Jeff_Gos

11-10-2005 22:04:52

This is sort of a two part post

-----------------1----------------

I'm trying to make an ogre project that uses the Paging Landscape Scene Manager 2 (PLSM2) with Code::Blocks

I don't need to edit the source of PLSM2, just use its functions to make a multimap environment that I can fly around in.

I downloaded the source from Tuan Kuranes' site and tried to import the VC project files into Code::Blocks

I got some compile errors.

Has anyone ever got this source to compile under Code::Blocks?
How?

Please help me!!!

-----------------2----------------

I was also wondering - if I only need to use the functions of PLSM2, why am I even trying to compile it?
Can't I just put the dll file in my demo, and use the functions as I normally would?

I just want to use the functionality of PLSM2, not edit its source...

Can't i just call root->getSceneManager(ST_EXTERIOR_REAL_FAR) ?
Will this give me a PagingSceneManager?
If I do this without the PagingSceneManager dll in place, what scene manager will i get?

PLEASE HELP ME !!!

I've been trying to get it going for days now... :(

tuan kuranes

12-10-2005 08:31:55

1. there's C::b projects files in cvs. if you wait til this evening there will be a new plsm2 sdk compatible zip that will contains it.

2. it's an OgreAddons, it's not shipped with Ogre SDK. So you need to build it. But I can make a dll binary for vc7.1 ( as that's the compiler I run.)

Jeff_Gos

12-10-2005 12:24:34

Hey tuan.

I downloaded the entire Ogre and OgreAddons CVS last Night.

I have also got the binaries, which i downloaded from your site.
The DLL in the Binaries - can't I use this instead of rebuilding it myself?

I've decided to get a copy of MS Visual Studio, instead of using C::B
Should i get MS VS 6 or 2003?

Which one will work better with Ogre and PSLM2?

Thanks for your help :)

tuan kuranes

12-10-2005 13:16:56

dll from binaries are old version, not compiled against latest Ogre SDK. It won't work.

2003 is the good bet.
vc6 is to be avoided at all price.