./openmw stops without any message

Support for running, installing or compiling OpenMW
Locked
User avatar
lgromanowski
Site Admin
Posts: 1193
Joined: 05 Aug 2011, 22:21
Location: Wroclaw, Poland
Contact:

./openmw stops without any message

Post by lgromanowski »

swick wrote: Hey all!
I have troubles starting openmw. I pulled the latest version form github, build it successfully but it just stops.

$ ./openmw
Using global config file: openmw.cfg
Using user config file: /home/sebastian/.config/openmw/openmw.cfg
No master file given. Assuming Morrowind.esm

...and then nothing and I dont understand why. I'm running Ubuntu 11.04.

PS: when it is running I want to help developing
Zini wrote: Haven't seen this problem before. Try to run openmw under the debugger (make sure you use the --debug option).
swick wrote: You mean /openmw --debug? Same thing here...
Zini wrote: No. Run it through the debugger (gdb).

The --debug option is needed during debugging, because else the GUI can lock up.
swick wrote: gdb ./openmw
GNU gdb (Ubuntu/Linaro 7.2-1ubuntu11) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/sebastian/prog/OpenMW/Build/openmw...(no debugging symbols found)...done.
(gdb) run
Starting program: /home/sebastian/prog/OpenMW/Build/openmw
[Thread debugging using libthread_db enabled]
Using global config file: openmw.cfg
Using user config file: /home/sebastian/.config/openmw/openmw.cfg
No master file given. Assuming Morrowind.esm

well, never needed the debugger yet but I am hoping this is what you want ;)
Zini wrote: Unfortunately that doesn't get us anywhere. Okay, another try. Lets look at the OGRE log (Ogre.log). Depending on the version of OpenMW this can either be found in alongside the OpenMW executable or in ~/.config/openmw.

Any error messages? If not, can you please post the last couple of lines?
swick wrote: no errors..

cat ~/.config/openmw/Ogre.log
22:44:42: Creating resource group General
22:44:42: Creating resource group Internal
22:44:42: Creating resource group Autodetect
22:44:42: SceneManagerFactory for type 'DefaultSceneManager' registered.
22:44:42: Registering ResourceManager for type Material
22:44:42: Registering ResourceManager for type Mesh
22:44:42: Registering ResourceManager for type Skeleton
22:44:42: MovableObjectFactory for type 'ParticleSystem' registered.
22:44:42: OverlayElementFactory for type Panel registered.
22:44:42: OverlayElementFactory for type BorderPanel registered.
22:44:42: OverlayElementFactory for type TextArea registered.
22:44:42: Registering ResourceManager for type Font
22:44:42: ArchiveFactory for archive type FileSystem registered.
22:44:42: ArchiveFactory for archive type Zip registered.
22:44:42: DDS codec registering
22:44:42: FreeImage version: 3.15.0
22:44:42: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
22:44:42: Supported formats: bmp,ico,jpg,jif,jpeg,jpe,jng,koa,iff,lbm,mng,pbm,pbm,pcd,pcx,pgm,pgm,png,ppm,ppm,ras,tga,targa,tif,tiff,wap,wbmp,wbm,psd,cut,xbm,xpm,gif,hdr,g3,sgi,exr,j2k,j2c,jp2,pfm,pct,pict,pic,3fr,arw,bay,bmq,cap,cine,cr2,crw,cs1,dc2,dcr,drf,dsc,dng,erf,fff,ia,iiq,k25,kc2,kdc,mdc,mef,mos,mrw,nef,nrw,orf,pef,ptx,pxn,qtk,raf,raw,rdc,rw2,rwl,rwz,sr2,srf,sti
22:44:42: Registering ResourceManager for type HighLevelGpuProgram
Zini wrote: Okay. That helps some. Apparently OpenMW dies during the OGRE initialisation. I can't make much sense of it yet, but there is probably something wrong with your OGRE installation.
swick wrote: You're right! Purged all ogre and boost packages, installed them again and now it works like a charm. Well, now I am (hopefully) ready to help you. Which task a beginner should take?
Zini wrote: Depends on your definition of beginner. Can you give a bit more information about your skills regarding the tools and languages we are using (C++, OGRE, boost, MyGUI, Bullet, cmake)?

I suggest to get the organisational parts out of the way first. From what I see you haven't forked OpenMW on github yet. You definitely need to familiarize yourself with git and github first.

Also, you need an account on our issue tracker tracker: http://bugs.openmw.org/
swick wrote: Forked on github and registered on bug tracker. Never worked on a real c++ project and never touched one of these libs but I am sure that I can help you on easy task... ;)
Zini wrote: We are kinda running out of entry level tasks. I have only one left. Well, first come, first served.

http://bugs.openmw.org/issues/18

It's kinda boring. But if you want it, you can have it.

Did I already point you to our developer documentation? Sorry, so many newcomer in such a short timespan that I am losing track.

http://openmw.org/wiki/index.php?title= ... _Reference

See especially the page marked as "must read".
Star-Demon wrote: Can we tell Cmake to make the VS project indent by 4 spaces? that would solve it right there.
Zini wrote: Indent mode is a project-wise setting under MSVC? Really? If that is true I am kinda impressed.
Star-Demon wrote:
Zini wrote:Indent mode is a project-wise setting under MSVC? Really? If that is true I am kinda impressed.
I imagine there has to be a setting.

Nope - program, not project. :(

Eclipse has this feature, though. Eclipse isn't my choice for anything but generating classes in C++. MSVC is defaulted to #pragma once and looks terrible, while Eclipse uses #ifndef and does more generation.
Locked