build-16 Failed to initialize SDL, no valid video driver
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Medium
|
Unassigned |
Bug Description
I get the following output after compiling build-16 on freeBSD 8.2-RELEASE.
-------
%./widelands
Set home directory: /home/tom/
No version file found
Adding directory:./.
Version file found with id "build-16" (real "build-16" )
No version file found
Adding directory:
Adding directory:.
Version file found with id "build-16" (real "build-16" )
No version file found
Widelands executable directory:
localedir: locale
selected language: (system language)
SDL_VIDEODRIVER=&
Caught exception (of type '11_wexception') in outermost handler!
The exception said: [/usr/home/
This should not happen. Please file a bug report on version build-16(Release).
and remember to specify your operating system.
-------
A workaround is to specify the video driver in the environment, e.g.
SDL_VIDEODRIVER=x11 ./widelands
Changed in widelands: | |
milestone: | none → build17-rc1 |
Thank you for the patch, but could you please clean it up so that files from your build do not appear in it?
As for the other problem, that seems like a FreeBSD-specific issue of SDL. What about other games using SDL, do they show the same problem? And if not, can you perhaps try to figure out what they do differently? SDL is supposed to select the video output method automatically.