Page 1 of 1

[solved] problems after installing

Posted: Mon Mar 01, 2010 7:51 pm
by The Jo
Hi! I just followed the installation instructions on the wiki for Ubuntu. But I'm not able to start the programm correctly:
1. I moved to ~/orxonox/trunk/build in the terminal
2. I entered ./run
3. The screen went dark for half a second
4. I recieved the following error messages:
Could not find XML file 'resources.oxr'
Could not find XML file 'resources.oxr'

Loading GameState 'graphics' failed: OGRE EXCEPTION(5:ItemIdentityExceptiorxonox #
How can I fix these problems?

Re: problems after installing

Posted: Mon Mar 01, 2010 9:59 pm
by greenman
this error implies that there is some problem with the data_extern directory

is the directory structure as follows?
~/orxonox
~/orxonox/trunk
~/orxonox/data_extern

is the file resources.oxr in ~/orxonox/data_extern/resources.oxr ?

Re: problems after installing

Posted: Tue Mar 02, 2010 8:32 pm
by The Jo
greenman wrote: is the directory structure as follows?
~/orxonox
~/orxonox/trunk
~/orxonox/data_extern
Yes.
is the file resources.oxr in ~/orxonox/data_extern/resources.oxr ?
Yes. Sorry that I didn't mention that myself.

Re: problems after installing

Posted: Tue Mar 02, 2010 8:39 pm
by Mozork
If you run "ccmake .." from the build directory what does it say under EXTERNAL_DATA_DIRECTORY ?

Re: problems after installing

Posted: Tue Mar 02, 2010 10:57 pm
by The Jo
I've reinstalled everything.
After using the ./run, I had to chose a rendering engine - something like openGL. I didn't touch the ogre-settings.

After that I recieved the following error message:
Error:Loading GameState 'graphics' failed: OGRE EXCEPTION(5:ItemIdentityException): Unable to locate vertex program called Ogre/BasicVertexPrograms/AmbientO
(Unfortunately, the message is incomplete. )

I have no idea, what to do (this bug wasn't on the LinuxProblems page).

Re: problems after installing

Posted: Wed Mar 03, 2010 12:40 am
by x3n
it's probably the same problem we already had here and correct me if i'm wrong, but i think we didn't fix that, so the only known workaround is to apply this patch or manually uncomment all 4 sections with a vertex_program_ref in data_extern/materials/scripts/Bump_Specular.material

Re: problems after installing

Posted: Wed Mar 03, 2010 9:53 am
by greenman
x3n is probably right ...

just curious: what happens if you simply delete the Bump_Specular.material file ? i couldn't find any reference to that file or to a program in it. on my machine i can safely remove it and nothing seems to happen ...

Re: problems after installing

Posted: Wed Mar 03, 2010 7:36 pm
by 1337
I think I once tried deleting files... Unfortunately the errors simply pops up in another file. And when you delete that, you run into other problems. At least that's what I think happened when I tried.
Anyway: There is currently no solution. And it only affects about half of the linux versions. Downgrading to Ogre 1.4 certainly fixes the issue.

Re: problems after installing

Posted: Wed Mar 03, 2010 7:59 pm
by greenman
what interests me is the file that produces the follow-up error when the Bump-Specular file is being deleted

Re: problems after installing

Posted: Wed Mar 03, 2010 8:46 pm
by The Jo
greenman wrote:x3n is probably right ...

just curious: what happens if you simply delete the Bump_Sepcular.material file ? i couldn't find any reference to that file or to a program in it. on my machine i can safely remove it and nothing seems to happen ...
8) The program works fine ! Thanks.

Re: problems after installing

Posted: Wed Mar 03, 2010 9:47 pm
by greenman
i somehow expected that...

i would really like to know who created this script and if we ever used it ^^ guess we can safely comment out everything inside it and keep it if we once want to use bumpmaps (again?)