[solved] problems after installing

Found a bug? Report it here.

Moderator: PPS-Leaders

Post Reply
The Jo
General DuGalle
Posts: 121
Joined: Mon Mar 01, 2010 7:43 pm

[solved] problems after installing

Post by The Jo » Mon Mar 01, 2010 7:51 pm

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?
Fail. Fail again. Fail better.

User avatar
greenman
Baron Vladimir Harkonnen
Posts: 360
Joined: Wed Oct 03, 2007 2:53 pm
Contact:

Re: problems after installing

Post by greenman » Mon Mar 01, 2010 9:59 pm

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 ?
There are only 10 types of people in the world: Those who understand binary, and those who don't.

The Jo
General DuGalle
Posts: 121
Joined: Mon Mar 01, 2010 7:43 pm

Re: problems after installing

Post by The Jo » Tue Mar 02, 2010 8:32 pm

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.
Fail. Fail again. Fail better.

User avatar
Mozork
Mogthorgar, the mighty
Posts: 134
Joined: Wed Sep 24, 2008 3:27 pm

Re: problems after installing

Post by Mozork » Tue Mar 02, 2010 8:39 pm

If you run "ccmake .." from the build directory what does it say under EXTERNAL_DATA_DIRECTORY ?

The Jo
General DuGalle
Posts: 121
Joined: Mon Mar 01, 2010 7:43 pm

Re: problems after installing

Post by The Jo » Tue Mar 02, 2010 10:57 pm

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).
Fail. Fail again. Fail better.

User avatar
x3n
Baron Vladimir Harkonnen
Posts: 810
Joined: Mon Oct 30, 2006 5:40 pm
Contact:

Re: problems after installing

Post by x3n » Wed Mar 03, 2010 12:40 am

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
Fabian 'x3n' Landau, Orxonox developer

User avatar
greenman
Baron Vladimir Harkonnen
Posts: 360
Joined: Wed Oct 03, 2007 2:53 pm
Contact:

Re: problems after installing

Post by greenman » Wed Mar 03, 2010 9:53 am

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 ...
There are only 10 types of people in the world: Those who understand binary, and those who don't.

User avatar
1337
Baron Vladimir Harkonnen
Posts: 521
Joined: Wed Oct 10, 2007 7:59 am

Re: problems after installing

Post by 1337 » Wed Mar 03, 2010 7:36 pm

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.
http://www.xkcd.com/
A webcomic of romance, sarcasm, math, and language.

User avatar
greenman
Baron Vladimir Harkonnen
Posts: 360
Joined: Wed Oct 03, 2007 2:53 pm
Contact:

Re: problems after installing

Post by greenman » Wed Mar 03, 2010 7:59 pm

what interests me is the file that produces the follow-up error when the Bump-Specular file is being deleted
There are only 10 types of people in the world: Those who understand binary, and those who don't.

The Jo
General DuGalle
Posts: 121
Joined: Mon Mar 01, 2010 7:43 pm

Re: problems after installing

Post by The Jo » Wed Mar 03, 2010 8:46 pm

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.
Fail. Fail again. Fail better.

User avatar
greenman
Baron Vladimir Harkonnen
Posts: 360
Joined: Wed Oct 03, 2007 2:53 pm
Contact:

Re: problems after installing

Post by greenman » Wed Mar 03, 2010 9:47 pm

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?)
There are only 10 types of people in the world: Those who understand binary, and those who don't.

Post Reply

Who is online

Users browsing this forum: No registered users and 12 guests