Problems building or running the engine, queries about how to use features etc.
stoneCold
OGRE Expert User
Posts: 867 Joined: Fri Oct 01, 2004 9:13 pm
Location: Carinthia, Austria
x 1
Quote
0
login to like this post
Post
by stoneCold » Thu Feb 03, 2005 12:40 pm
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
monster
OGRE Community Helper
Posts: 1098 Joined: Mon Sep 22, 2003 2:40 am
Location: Melbourne, Australia
Contact:
Quote
0
login to like this post
Post
by monster » Thu Feb 03, 2005 1:19 pm
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!
haffax
OGRE Retired Moderator
Posts: 4823 Joined: Fri Jun 18, 2004 1:40 pm
Location: Berlin, Germany
x 8
Contact:
Quote
0
login to like this post
Post
by haffax » Thu Feb 03, 2005 1:45 pm
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.
IoN_PuLse
Goblin
Posts: 220 Joined: Mon May 31, 2004 5:54 am
Location: Canada
Contact:
Quote
0
login to like this post
Post
by IoN_PuLse » Thu Feb 03, 2005 4:18 pm
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.