Compiling OgreOde

Problems building or running the engine, queries about how to use features etc.
Post Reply
User avatar
stoneCold
OGRE Expert User
OGRE Expert User
Posts: 867
Joined: Fri Oct 01, 2004 9:13 pm
Location: Carinthia, Austria
x 1

Compiling OgreOde

Post by stoneCold »

A few days ago I changed my Development Environment to VC7 and now I try to compile the CVS of OgreOde, but I get the following errors:

Code: Select all

OgreOde::MeshInformer::getRadius' : none of the 2 overloads can convert parameter 1 from type 'Ogre::MeshPtr'
and some more of the same type, and some of these:

Code: Select all

'Ogre::ResourceManager::create' : function does not take 1 arguments
I read that the CVS might be unstable for some days, is this the reason for these errors or is there something else wrong.

Thx, stoneCold
User avatar
monster
OGRE Community Helper
OGRE Community Helper
Posts: 1098
Joined: Mon Sep 22, 2003 2:40 am
Location: Melbourne, Australia
Contact:

Post by monster »

Are you trying to compile OgreOde against a CVS version of Ogre?
I use it with 0.15.2, anything higher than that and you're on your own!
;)
User avatar
haffax
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 4823
Joined: Fri Jun 18, 2004 1:40 pm
Location: Berlin, Germany
x 8
Contact:

Post by haffax »

The necessary changes are quite trivial. Look at the porting notes for details.

ResourceManager::create() now has a second non-default parameter for the resource group, just use ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME for it.

Substitue all occurences of Mesh and Material with MeshPtr and MaterialPtr. To access the meshes and materials dereference these pointers, for details look at the API documentation.

These should be the only problems with OgreOde.
team-pantheon programmer
creators of Rastullahs Lockenpracht
User avatar
IoN_PuLse
Goblin
Posts: 220
Joined: Mon May 31, 2004 5:54 am
Location: Canada
Contact:

Post by IoN_PuLse »

If you search for "OgreODE", "CVS" and "HEAD" you'll find similar topics where I posted an archive of OgreODE updated to work with CVS HEAD.
Post Reply