I have followed all instructions on https://wiki.openmw.org/index.php?title ... ment_Setup and it builds and everything but as I run it it says: "Could not select a valid render system. Please make sure the plugins.cfg file exists and contains a valid rendering plugin".
Looking throw the code it seems that the problem is that I don't set up any render:
#ifdef ENABLE_PLUGIN_GL
mGLPlugin = new Ogre::GLPlugin();
mOgre->installPlugin(mGLPlugin);
#endif
#ifdef ENABLE_PLUGIN_Direct3D9
mD3D9Plugin = new Ogre::D3D9Plugin();
mOgre->installPlugin(mD3D9Plugin);
#endif
It doesn't enter on any of those options, anyone has an idea of what is happening? Maybe a missing configuration file or something?
Thanks!
Trouble setting up enviroment on ubuntu 12.04
Re: Trouble setting up enviroment on ubuntu 12.04
The code segment you showed is only used with static OGRE builds. Currently not even supported. The problem is somewhere else. Probably some misconfiguration, but it is unclear what that could be. You have OGRE properly installed. right?
-
- Posts: 25
- Joined: 04 Nov 2012, 16:22
Re: Trouble setting up enviroment on ubuntu 12.04
It goes throw that code executing the omwlauncher, I've put some outputs and I've seen that it goes throw there.
Arribing to (graphicspagce.cpp)
without any of those set up...
Executing the openmw it throws the next error:
I've put the path of my Data files like
on openmw.cfg
Is that correct?
The installation of OGRE seems ok.
Arribing to (graphicspagce.cpp)
Code: Select all
if (!mOpenGLRenderSystem && !mDirect3DRenderSystem) {
Executing the openmw it throws the next error:
Code: Select all
S'està iniciant: /home/eduard/OpenMW/openmw/build/openmw
Loading config file: ./openmw.cfg... done.
Using default (English) font encoding.
No master file given. Assuming Morrowind.esm
ERROR: RenderSystem with name OpenGL Rendering Subsystem not found, make sure the plugins are loaded
*** S'ha sortit retornant el codi: 1 ***
Code: Select all
data="/home/eduard/OpenMW/openMW/Data Files"
Is that correct?
The installation of OGRE seems ok.
Re: Trouble setting up enviroment on ubuntu 12.04
Code: Select all
locate RenderSystem_GL
-
- Posts: 25
- Joined: 04 Nov 2012, 16:22
Re: Trouble setting up enviroment on ubuntu 12.04
In redenderer.cpp:
renderSytem = 'OpenGL rendering subsystem'
I've located the plugidDir = '/usr/lib/i386-linux-gnu/OGRE-1.8.0', everything in there looks fine, I have a file called RenderSystem_GL.so, so it look goods. But it seems like
rs = 0!
So it's not getting any plugin..
Later i'll try to run a basic ogre tutorial to see if I see anything there...
Code: Select all
Files::loadOgrePlugin(pluginDir, "RenderSystem_GL", *mRoot);
Files::loadOgrePlugin(pluginDir, "RenderSystem_Direct3D9", *mRoot);
Files::loadOgrePlugin(pluginDir, "Plugin_CgProgramManager", *mRoot);
RenderSystem* rs = mRoot->getRenderSystemByName(renderSystem);
if (rs == 0)
throw std::runtime_error ("RenderSystem with name " + renderSystem + " not found, make sure the plugins are loaded");
mRoot->setRenderSystem(rs);
I've located the plugidDir = '/usr/lib/i386-linux-gnu/OGRE-1.8.0', everything in there looks fine, I have a file called RenderSystem_GL.so, so it look goods. But it seems like
Code: Select all
RenderSystem* rs = mRoot->getRenderSystemByName(renderSystem);
So it's not getting any plugin..
Later i'll try to run a basic ogre tutorial to see if I see anything there...
-
- Posts: 25
- Joined: 04 Nov 2012, 16:22
Re: Trouble setting up enviroment on ubuntu 12.04
I have benn able to build it but now It crashes every time I start up.
With --nosound
An it crahes... I already started programming but It has nothing to do with it. Cause I've tried to download from git diferent times and every builds ends as the same. Nobody has had any problems with te last version and ubuntu 12.10?
This is all I do:
With the version downloaded from the forum openmw_0.18.0.orig.tar.bz2, I had no problem... but with this...
I want to start programming! jjejeje
Code: Select all
eduard@eduard-iMac:~/OpenMW/openmw/build$ ./openmw
Loading config file: /home/eduard/.config/openmw/openmw.cfg... done.
Loading config file: ./openmw.cfg... done.
Using default (English) font encoding.
No master file given. Assuming Morrowind.esm
Adding /home/eduard/OpenMW/data/bloodmoon.bsa
Adding /home/eduard/OpenMW/data/morrowind.bsa
Adding /home/eduard/OpenMW/data/tribunal.bsa
Data dir /home/eduard/OpenMW/data
Loading ESM /home/eduard/OpenMW/data/morrowind.esm
Sound output: OpenAL
Sound decoder: mpg123,sndfile
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
Enumerated output devices:
PulseAudio Default
Audio intern Estèreo analògic via PulseAudio
ALSA Default
HDA Intel [ALC889A Analog] (hw:0,0) via ALSA
HDA Intel [ALC889A Digital] (hw:0,1) via ALSA
PortAudio Default
No Output
Opened "PulseAudio Default"
AL lib: pulseaudio.c:331: PulseAudio returned minreq > tlength/2; expect break up
Changing to interior
loading cell Beshara
cellName:Beshara
Violació de segment (bolcat de la imatge del nucli)
eduard@eduard-iMac:~/OpenMW/openmw/build$ ./openmw --nosound
Loading config file: /home/eduard/.config/openmw/openmw.cfg... done.
Loading config file: ./openmw.cfg... done.
Using default (English) font encoding.
No master file given. Assuming Morrowind.esm
Adding /home/eduard/OpenMW/data/bloodmoon.bsa
Adding /home/eduard/OpenMW/data/morrowind.bsa
Adding /home/eduard/OpenMW/data/tribunal.bsa
Data dir /home/eduard/OpenMW/data
Loading ESM /home/eduard/OpenMW/data/morrowind.esm
Changing to interior
loading cell Beshara
cellName:Beshara
Violació de segment (bolcat de la imatge del nucli)
Code: Select all
eduard@eduard-iMac:~/OpenMW/Build$ ./openmw --nosound
Loading config file: /home/eduard/.config/openmw/openmw.cfg... done.
Loading config file: ./openmw.cfg... done.
Using default (English) font encoding.
No master file given. Assuming Morrowind.esm
Adding /home/eduard/OpenMW/data/bloodmoon.bsa
Adding /home/eduard/OpenMW/data/morrowind.bsa
Adding /home/eduard/OpenMW/data/tribunal.bsa
Data dir /home/eduard/OpenMW/data
Loading ESM /home/eduard/OpenMW/data/morrowind.esm
Changing to interior
loading cell Beshara
cellName:Beshara
Violació de segment (bolcat de la imatge del nucli)
This is all I do:
Anythin wrong??git clone git://github.com/trombonecot/openmw.git
cd openmw
git submodule update --init
mkdir build
cd build
cmake ../
make
With the version downloaded from the forum openmw_0.18.0.orig.tar.bz2, I had no problem... but with this...
I want to start programming! jjejeje
Re: Trouble setting up enviroment on ubuntu 12.04
That could be anything. Please verify that your data directory points to the correct place. Then have a look at the Ogre.log (at .config/openmw) and see if there is anything strange in there (post the log, if you are unsure). And finally, if that does not help, run OpenMW under the debugger (don't forget to use the --debug switch; see ./openmw --help for details) and get us a stack backtrace.
-
- Posts: 25
- Joined: 04 Nov 2012, 16:22
Re: Trouble setting up enviroment on ubuntu 12.04
It works with the option --fs-strict.
What about that? Any hints? It's okey if I run it with this option or maybe I'll have other problems??
What about that? Any hints? It's okey if I run it with this option or maybe I'll have other problems??
Re: Trouble setting up enviroment on ubuntu 12.04
MW is a Windows game, which means it ignores the case of its filenames. We have replicated this feature in OpenMW even on Linux, but if you don't want it, you can switch it off with --fs-strict. However that should break Morrowind.esm. I do not understand why OpenMW would only work with --fs-strict for you.