Problem compiling CVS against Ogre CVS ...

futnuh

10-02-2007 08:37:27

In trying to compile OgreNewt (CVS) against Ogre (CVS) using VC .NET 2003, I'm getting the following error:

inc\OgreNewt_BasicFrameListener.h(54) : error C2039: 'InputReader' : is not a member of 'Ogre'

Any ideas on where my problem lies would be most appreciated. Getting OgreNewt compiled is my last step on a long list of prerequisites to getting python-ogre compiled from source ...

Game_Ender

10-02-2007 16:59:59

Then you should follow the directions a little more closely ;). The Compiling page on the wiki for Python-Ogre. Says that you need to apply the patch for ogrenewt so that it will not try and compile the BasicFrame listener.

That was the short answer. The long answer was that OgreNewt is not being actively maintained, and Ogre 1.4 hasn't been released yet. So the frame listener tries to use the Ogre input system which no longer exists in Ogre. We have a Python version of the frame listener that use OIS for the demos.

walaber

10-02-2007 19:15:21

once the new version of Ogre is released, I will fix OgreNewt to use OIS.

futnuh

10-02-2007 20:31:13

Then you should follow the directions a little more closely ;). The Compiling page on the wiki for Python-Ogre. Says that you need to apply the patch for ogrenewt so that it will not try and compile the BasicFrame listener.


Oops. I took the first line of the instructions that says "get everything here first" to mean "get it and compile it". As I now understand it, I shouldn't actually be building these modules via their visual studio solution files ...

Game_Ender

11-02-2007 19:23:36

Well the vcproj files are just text, so the patch should include the fix to them as well. I'll see if I can get Andy to update the patch.

once the new version of Ogre is released, I will fix OgreNewt to use OIS.

If I whip up a patch that includes Scons scripts for Linux support as well as small change to the ContactCallback class (providing accessors to the material and contact members) could it be applied to CVS head?

Then along with that, could a release be made soon after Ogre 1.4 and your OIS fixes are in? Being able to point people at zip/tarball on source forge and say "compile that" lowers the barrier of entry for new OgreNewt users.

OvermindDL1

12-02-2007 22:22:52

May as well mention, new version of Ogre is released. :)

Game_Ender

13-02-2007 02:13:19

The RC stage won't be over for a month, so every body has time to catch up.

walaber

13-02-2007 07:29:41

if you can get me a patch for the Linux stuff, that would be great! I will try to update to the latest Ogre this weekend.

walaber

14-02-2007 21:42:02

I have downloaded the new 1.4.0 RC1, so I will work on updating OgreNewt over the weekend.

Game_Ender

15-02-2007 06:48:05

I have submitted the patch to the patch tracker. See it here: 1660304