All Demo have problems after update spree.

grizzley90

09-03-2006 21:09:15

Ok, my versions of everything was a few months old, so I went on an update spree. I updated ogre through cvs and compiled. no problems.(love the ocean demo too). I updated most of the ogreaddons. I updated ogrenewt and recompiled but now i get problems with the demos... It looks like an example application error, don't know if its because of the new version of ogre or not. here are the errors for demo01. All the demos basically have the same error. I haven't had the time to mess around with the new version of ogre so I don't know how to fix this. Here is the error. Ogre Newt compiles fine its just the demos.

1>------ Build started: Project: Demo01_TheBasics, Configuration: Release Win32 ------
1>Compiling...
1>OgreNewtonApplication.cpp
1>c:\Programming\Ogre\ogreaddons\ogrenewt\demos\Include\ExampleApplication.h(125) : error C2664: 'Ogre::Root::getSceneManager' : cannot convert parameter 1 from 'Ogre::SceneType' to 'const Ogre::String &'
1> Reason: cannot convert from 'Ogre::SceneType' to 'const Ogre::String'
1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
1>.\OgreNewtonApplication.cpp(81) : warning C4482: nonstandard extension used: enum 'Ogre::Light::LightTypes' used in qualified name
1>demo01.cpp
1>c:\Programming\Ogre\ogreaddons\ogrenewt\demos\Include\ExampleApplication.h(125) : error C2664: 'Ogre::Root::getSceneManager' : cannot convert parameter 1 from 'Ogre::SceneType' to 'const Ogre::String &'
1> Reason: cannot convert from 'Ogre::SceneType' to 'const Ogre::String'
1> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
1>Generating Code...
1>Build Time 0:07
1>Build log was saved at "file://c:\Programming\Ogre\ogreaddons\ogrenewt\demos\Demo01_TheBasics\Build\Release\BuildLog.htm"
1>Demo01_TheBasics - 2 error(s), 1 warning(s)
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========


Its the same 2 errors for every demo. Oh and should i update my newton sdk to 1.51???

Edit: I probably shouldn't be asking this here... but it came up with ogrenewt so... don't sue me.

grizzley90

09-03-2006 22:56:22

Problem solved here:
http://www.wreckedgames.com/forum/viewtopic.php?t=130

Wallaber i suggest you use the exampleapplication that comes in ogrenew/samples/common/includes. Since people have different versions of ogre. Since you already have the directory set up, theres no need to have your own example application. :) I hope that helps.

http://www.ogre3d.org/phpBB2/viewtopic.php?t=18227


should I upgrade to Newton 1.51?

walaber

10-03-2006 01:40:35

you should definately update to Newton 1.51.

I will update my CVS version, and then update OgreNewt to comply. I thought I had removed the local copies of Example*.h, I will reconfirm this.

walaber

10-03-2006 04:27:36

i checked, and I had removed the Example*.h files a while ago, you must have old copies in your ogrenewt directory. they are not part of the archive anymore, as of a few updates ago.

grizzley90

10-03-2006 13:32:28

Deleted OgreNewt Folder and redownloaded through cvs. Updated NewtonSDK. Everything is fine. It compiled out of the box, with the latest cvs version of ogre i got yesterday. :D

walaber

10-03-2006 17:06:02

yeah I updated to the latest ogre HEAD, and OgreNewt compiled fine, so that's nice. I had to update my trampoline project though b/c of the SceneManager changes.