Wrecked Games

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're just that awesome.

Author Topic: Possible bug in the Ogre/OIS demo  (Read 2451 times)

init

  • Newbie
  • *
  • Karma: +0/-0
  • Posts: 6
    • View Profile
Possible bug in the Ogre/OIS demo
« on: April 15, 2006, 02:10:44 PM »

Hi,

I noticed that there seem to be a bug in the Ogre/OIS demo. When trying to start the Ogre demo called ActionMap, I get the Ogre configuration dialog as expected. But when I try to select a rendering system, the program quits with the message

Code: [Select]
Error: Shell widget menu has zero width and/or height

I have properly configured resources.cfg and Media directory from Ogre copied to the demos/ogre/ directory. Ogre demos in the Ogre distribution works. The non-ogre OIS demo ConsoleApp works fine. Could it be related to the fact that I use Ogre 1.2.0RC1 (Dagon)? My operating system is Fedora Core 5 (Linux).

Regards
Ingemar
Logged

pjcast

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 2652
    • View Profile
    • http://www.wreckedgames.com
Re: Possible bug in the Ogre/OIS demo
« Reply #1 on: April 15, 2006, 02:27:27 PM »

Quote from: "init"

I have properly configured resources.cfg and Media directory from Ogre copied to the demos/ogre/ directory

What do you mean copied over? The resource.cfg (heck all the files are where needed already).. Please restore them to there orignal state.

Run the ogre Linux demos from:
ois/demos/ogre/common

Oh, and make sure are using the 0.6.0 release, some mouse issues were fixed. Either checkout cvs (though, anonymous cvs is heywire) using the v0-6 tag, or download the tar.gz from the file release section (from sourceforge project).
Logged

init

  • Newbie
  • *
  • Karma: +0/-0
  • Posts: 6
    • View Profile
Re: Possible bug in the Ogre/OIS demo
« Reply #2 on: April 15, 2006, 03:24:14 PM »

Quote from: "pjcast"
What do you mean copied over? The resource.cfg (heck all the files are where needed already).. Please restore them to there orignal state.

Run the ogre Linux demos from:
ois/demos/ogre/common


First, I didn't overwrite anything, so no restoring is actually needed. After building OIS, I changed to the demos directory. I saw the ConsoleApp program there, tried it and it worked. The FFConsoleTest program did not work, but I have no force feedback device connected. :) Then I saw the ogre directory, changed into it and found two programs, ActionMap and ForceFeedback. How was I supposed to know that I had to go to the common subdirectory to run the programs, when the program files also exist in the ogre directory? Anyway, I tried ActionMap, and it complained about a missing resource.cfg file, so I simply copied it (and the Media tree) from the Ogre Samples directory and changed the paths in the resource.cfg accordingly.

By the way, I now tried running them from the common subdirectory, and they worked fine. :)

Quote from: "pjcast"
Oh, and make sure are using the 0.6.0 release, some mouse issues were fixed. Either checkout cvs (though, anonymous cvs is heywire) using the v0-6 tag, or download the tar.gz from the file release section (from sourceforge project).


I use the 0.6.0 release.
Logged

pjcast

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 2652
    • View Profile
    • http://www.wreckedgames.com
Possible bug in the Ogre/OIS demo
« Reply #3 on: April 15, 2006, 07:46:18 PM »

What do you mean how are you supposed to know? Your supposed to be pyschic ;)
Logged