DlangUI
igor_p via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Wed Apr 15 02:06:17 PDT 2015
after upgrade
apt-get install libfreetype6/jessie
apt-get install libsdl2-dev/jessie (this couldn't find
Failed to load symbol SDL_GetDefaultAssertionHandler from shared
library libSDL2.so)
Now:
Running ./examples/helloworld/bin/helloworld
2015-04-15 11:56:52.590 W Only hardcoded paths to TTF fonts are
supported under linux so far. TODO: implement fontconfig support.
2015-04-15 11:56:52.590 D FreeTypeFontManager.registerFont
/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf SansSerif
DejaVuSans italic=false weight=400
2015-04-15 11:56:52.590 D FreeTypeFontManager.registerFont
/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf
SansSerif DejaVuSans italic=false weight=800
2015-04-15 11:56:52.590 D FreeTypeFontManager.registerFont
/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Oblique.ttf
SansSerif DejaVuSans italic=true weight=400
2015-04-15 11:56:52.590 D FreeTypeFontManager.registerFont
/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-BoldOblique.ttf
SansSerif DejaVuSans italic=true weight=800
2015-04-15 11:56:52.591 D FreeTypeFontManager.registerFont
/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf MonoSpace
DejaVuSansMono italic=false weight=400
2015-04-15 11:56:52.591 D FreeTypeFontManager.registerFont
/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-Bold.ttf
MonoSpace DejaVuSansMono italic=false weight=800
2015-04-15 11:56:52.591 D FreeTypeFontManager.registerFont
/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-Oblique.ttf
MonoSpace DejaVuSansMono italic=true weight=400
2015-04-15 11:56:52.592 D FreeTypeFontManager.registerFont
/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-BoldOblique.ttf
MonoSpace DejaVuSansMono italic=true weight=800
2015-04-15 11:56:52.593 D Creating default theme
2015-04-15 11:56:52.827 D Loading string resources from file
@embedded@/std_en.ini
2015-04-15 11:56:52.832 I Applying loaded theme theme_default
2015-04-15 11:56:52.833 D Creating SDL window
2015-04-15 11:56:52.837 I Trying to create OpenGL 3.2 context
2015-04-15 11:56:52.839 E SDL_GL_CreateContext failed: Could not
create GL context
2015-04-15 11:56:52.839 W trying other versions of OpenGL
2015-04-15 11:56:52.840 I Trying to create OpenGL 3.3 context
2015-04-15 11:56:52.842 E SDL_GL_CreateContext failed: Could not
create GL context
2015-04-15 11:56:52.842 I Trying to create OpenGL 3.1 context
2015-04-15 11:56:52.846 E SDL_GL_CreateContext failed: Could not
create GL context
2015-04-15 11:56:52.846 I Trying to create OpenGL 4.0 context
2015-04-15 11:56:52.850 E SDL_GL_CreateContext failed: Could not
create GL context
2015-04-15 11:56:52.851 I Trying to create OpenGL 2.1 context
2015-04-15 11:56:52.854 E SDL_GL_CreateContext failed: Could not
create GL context
2015-04-15 11:56:52.854 W OpenGL support is disabled
But glxgears works fine, glxinfo show direct rendering: yes.
BTW, why openGL for forms ?
in wiki:
"Fallback to pure Win32 API / SDL / XCB when OpenGL is not
available (e.g. opengl dynamic library cannot be loaded)"
Why no fallback?
More information about the Digitalmars-d-announce
mailing list