Runtime Error on Windows 7 64bit

Get help with installing, running and configuring Orxonox.

Moderator: PPS-Leaders

Post Reply
Atlaun
Noxonian Grollknom
Posts: 5
Joined: Sun Sep 22, 2013 11:28 am

Runtime Error on Windows 7 64bit

Post by Atlaun » Mon Oct 07, 2013 2:52 pm

I followed the instructions to copile and run the programm using MinWG.
After running into the same compile problem as mentioned here, I have managed to compile the code.
While running the run.bat the Orxonox console provides following Error message:

Code: Select all


C:\msys\1.0\home\<name>\trunk\build>title Orxonox

C:\msys\1.0\home\<name>\trunk\build>path C:\msys\1.0\home\<name>\dependencie
s\bin\mingw-x86;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\P
rogram Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Program Files (
x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;
C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;
C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCom
mon\;C:\Program Files\ThinkPad\Bluetooth Software\;C:\Program Files\ThinkPad\Blu
etooth Software\syswow64;;C:\Program Files\Intel\Intel(R) Management Engine Comp
onents\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\P
rogram Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Fi
les (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)
\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x6
4;C:\Program Files\Common Files\Lenovo;C:\Program Files (x86)\Windows Live\Share
d;C:\Program Files (x86)\Lenovo\Access Connections\;C:\SWTOOLS\ReadyApps;C:\Prog
ram Files (x86)\Symantec\VIP Access Client\;C:\Program Files (x86)\Common Files\
Lenovo;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\CMake 2.8\bin;C:\
MinGW\bin

C:\msys\1.0\home\<name>\trunk\build>"C:\msys\1.0\home\<name>\trunk\build\bin
\orxonox.exe"
Info: Opening log file C:\Users\<name>\AppData\Local\Temp/orxonox.log
Status: Welcome to Orxonox (v0.0.5 Arcturus)
Error (internal): [ogre] Ogre, caught exception: OGRE EXCEPTION(5:ItemIdentityEx
ception): Unable to derive resource group for resources.oxr automatically since
the resource was not found. in ResourceGroupManager::findGroupContainingResource
 at ../../OgreMain/src/OgreResourceGroupManager.cpp (line 1793)
Error: [loader] Could not find XML file 'resources.oxr'.
Error (internal): [ogre] Ogre, caught exception: OGRE EXCEPTION(5:ItemIdentityEx
ception): Unable to derive resource group for ambient/default/. automatically si
nce the resource was not found. in ResourceGroupManager::findGroupContainingReso
urce at ../../OgreMain/src/OgreResourceGroupManager.cpp (line 1793)
Warning (internal): Mood default does not exist. Will not change.
Error (internal): [ogre] Ogre, caught exception: OGRE EXCEPTION(5:ItemIdentityEx
ception): Unable to derive resource group for ambient/default/. automatically si
nce the resource was not found. in ResourceGroupManager::findGroupContainingReso
urce at ../../OgreMain/src/OgreResourceGroupManager.cpp (line 1793)
Warning (internal): Mood Warning: Folder for default mood (default) does not exi
st!
Status: Finished initialization
Status: Loading graphics
Info: Loading Ogre plugins...
Info: Creating render window...
Info: Ogre config file has changed, but no level was started since then. Display
ing config dialogue again to verify the changes.
Info: Initializing all resource groups...
Info: Loading user interface...
Error (internal): [ogre] Ogre, caught exception: OGRE EXCEPTION(6:FileNotFoundEx
ception): Cannot locate resource Imageset.xsd in resource group General or any o
ther group. in ResourceGroupManager::openResource at ../../OgreMain/src/OgreReso
urceGroupManager.cpp (line 756)
Error (internal): [cegui] XercesParser::parseXMLFile - An unexpected error occur
red while parsing XML file 'TaharezGreenLook.imageset'.
orxonox #

The Ogre Engine Rendering Setup opens and I can choose which Subsystem I want to use (OpenGL or Direct3D9). In both cases my screen turns black and after 10 sec Windows cancels the game saying it doesn't work anymore.
The console writes:

Code: Select all


orxonox # terminate called after throwing an instance of 'Ogre::FileNotFoundExce
ption'
  what():  OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource Image
set.xsd in resource group General or any other group. in ResourceGroupManager::o
penResource at ../../OgreMain/src/OgreResourceGroupManager.cpp (line 756)

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

C:\msys\1.0\home\<name>\trunk\build>pause
Drücken Sie eine beliebige Taste . . .

Thanks for the help

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

Re: Runtime Error on Windows 7 64bit

Post by x3n » Mon Oct 07, 2013 8:39 pm

Hi Atlaun

Did you check out the data_extern repository?
URL: https://svn.orxonox.net/game/data/trunk
Checkout directory: c:\<msys-homedir>\data_extern
Ensure that you have a directory structure like this:

Image
Fabian 'x3n' Landau, Orxonox developer

Atlaun
Noxonian Grollknom
Posts: 5
Joined: Sun Sep 22, 2013 11:28 am

Re: Runtime Error on Windows 7 64bit

Post by Atlaun » Tue Oct 08, 2013 4:01 pm

Yes I have the same directory stucture as in the picture.
However the data_extern folder has a red exclamation mark.
I have repeted the checkout from:
URL: https://svn.orxonox.net/game/data/trunk
Checkout directory: c:\<msys-homedir>\data_extern
But no changes so far.
SVN has updated the folder, but doesn't add any files.
Completion line from SVN: At revision: 9697

Executing the run.bat still gives the same error message.

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

Re: Runtime Error on Windows 7 64bit

Post by x3n » Wed Oct 09, 2013 7:37 pm

I tried to reproduce the error on my machine. I get the exact same error when I remove my data_extern directory. So I guess this is the problem.

What's inside your data_extern directory? Does it look like this:
data_extern.png
data_extern.png (8.82 KiB) Viewed 17636 times

Or maybe you executed cmake before you checked out data_extern.
In this case you should delete the build directory and create it again, then compile Orxonox again from scratch:

Code: Select all

cd trunk
rm -rf build
mkdir build
cd build
cm
make -j8
Fabian 'x3n' Landau, Orxonox developer

Atlaun
Noxonian Grollknom
Posts: 5
Joined: Sun Sep 22, 2013 11:28 am

Re: Runtime Error on Windows 7 64bit

Post by Atlaun » Thu Oct 10, 2013 4:30 pm

My data_extern directory has the same subfolders than yours.
But the folders audio, materials and models have this exclamation mark.

However I have recompiled the code and now it works.
So far I have not found any missing sounds or models in the Singleplayer Mission 1, which I know from the P&S course.

So thank you again for the help. :)

User avatar
beni
Baron Vladimir Harkonnen
Posts: 949
Joined: Tue Oct 03, 2006 9:15 am
Location: Zurich
Contact:

Re: Runtime Error on Windows 7 64bit

Post by beni » Thu Oct 10, 2013 4:42 pm

About the exclamation mark: It means that there are local changes. Which is kind of weird if you didn't change anything yet.

Try to right click on the folders and choose TortoiseSVN -> Check for Modifications... This should bring up a dialog with information on what kind of files were modified. This should also show you missing files.

It's great it works now, but apparently something went slightly wrong. It would be good for you to know how to find SVN problems by yourself using this method.
"I'm Commander Shepard and this is my favorite forum on the internet."

Atlaun
Noxonian Grollknom
Posts: 5
Joined: Sun Sep 22, 2013 11:28 am

Re: Runtime Error on Windows 7 64bit

Post by Atlaun » Mon Oct 14, 2013 1:51 pm

Checking for modifications, the TortioseSVN shows some missing files:
Orxonox_missing_data_extern_Files.png
Orxonox_missing_data_extern_Files.png (74.6 KiB) Viewed 17619 times
However updating data_extern doesn't add the missing files.

User avatar
beni
Baron Vladimir Harkonnen
Posts: 949
Joined: Tue Oct 03, 2006 9:15 am
Location: Zurich
Contact:

Re: Runtime Error on Windows 7 64bit

Post by beni » Mon Oct 14, 2013 5:36 pm

Hmm, try to delete the subfolders of these missing files and try updating again.
"I'm Commander Shepard and this is my favorite forum on the internet."

Atlaun
Noxonian Grollknom
Posts: 5
Joined: Sun Sep 22, 2013 11:28 am

Re: Runtime Error on Windows 7 64bit

Post by Atlaun » Mon Oct 21, 2013 2:17 pm

I have deleted the subfolders and updated the files.
But checking the folders, it can not find these three missing files.
However the deleted data was restored.

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

Re: Runtime Error on Windows 7 64bit

Post by x3n » Sun Nov 10, 2013 7:45 pm

The problem with missing files is solved now. Try to update data_extern with SVN and it should be ok.
Fabian 'x3n' Landau, Orxonox developer

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests