DlangUI

igor_p via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Wed Apr 15 01:38:55 PDT 2015


Great work!!

On windows works fine.
On debian:


$ dub run dlangui:example1
Building package dlangui:example1 in 
/home/igor/devel/dlang/dlangui/dlangui/examples/example1/
Target gl3n 1.0.1 is up to date. Use --force to rebuild.
Target dlib ~master is up to date. Use --force to rebuild.
Target derelict-util 1.9.1 is up to date. Use --force to rebuild.
Target derelict-ft 1.0.2 is up to date. Use --force to rebuild.
Target derelict-sdl2 1.9.5 is up to date. Use --force to rebuild.
Target derelict-gl3 1.0.12 is up to date. Use --force to rebuild.
Target dlangui 0.6.20 is up to date. Use --force to rebuild.
Building dlangui:example1 0.6.20 configuration "application", 
build type debug.
Compiling using dmd...
Linking...
Running ./examples/example1/bin/example1
2015-04-15 11:20:21.323 E  Derelict: cannot load freetype shared 
library: Failed to load symbol FT_Gzip_Uncompress from shared 
library libfreetype.so.6
object.Exception at src/dlangui/graphics/ftfonts.d(519): Cannot load 
freetype library
----------------
./examples/example1/bin/example1(bool 
dlangui.platforms.common.platform.initFontManager()+0x23) 
[0x73871f]
./examples/example1/bin/example1(int 
dlangui.platforms.sdl.sdlapp.sdlmain(immutable(char)[][])+0x23) 
[0x69ae37]
./examples/example1/bin/example1(DLANGUImain+0x25) [0x69ae11]
./examples/example1/bin/example1(_Dmain+0x20) [0x6307dc]
./examples/example1/bin/example1(_D2rt6dmain211_d_run_mainUiPPaPUAAaZiZ6runAllMFZ9__lambda1MFZv+0x1f) 
[0x78c393]
./examples/example1/bin/example1(void rt.dmain2._d_run_main(int, 
char**, extern (C) int function(char[][])*).tryExec(scope void 
delegate())+0x2a) [0x78c2e6]
./examples/example1/bin/example1(void rt.dmain2._d_run_main(int, 
char**, extern (C) int function(char[][])*).runAll()+0x30) 
[0x78c34c]
./examples/example1/bin/example1(void rt.dmain2._d_run_main(int, 
char**, extern (C) int function(char[][])*).tryExec(scope void 
delegate())+0x2a) [0x78c2e6]
./examples/example1/bin/example1(_d_run_main+0x193) [0x78c267]
./examples/example1/bin/example1(main+0x25) [0x66d6a9]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd) 
[0x7f8738aedead]
2015-04-15 11:20:21.328 D  Destroying font manager
Error executing command run:
Program exited with code 1


Problem with freetype? or Derelict? What's wrong?

google on FT_Gzip_Uncompress show smth about 2.5-2.6 of freetype. 
May be, this is just new function. In wheezy thereis 2.4 
freetype. (

It's today fresh install (even dub)

# dmd -v
DMD64 D Compiler v2.066.1

# dpkg -l | grep freetype
ii  libfreetype6:amd64                    2.4.9-1.1+deb7u1        
            amd64        FreeType 2 font engine, shared library 
files
ii  libfreetype6-dev                      2.4.9-1.1+deb7u1        
            amd64        FreeType 2 font engine, development files

# dpkg -l | grep freeimage
ii  libfreeimage3                         3.15.1-1+b1             
            amd64        Support library for graphics image 
formats (library)

# dpkg -l | grep opengl
ii  libqt4-opengl:amd64                   4:4.8.2+dfsg-11         
            amd64        Qt 4 OpenGL module
ii  libqt4-opengl-dev                     4:4.8.2+dfsg-11         
            amd64        Qt 4 OpenGL library development files
ii  libsmokeqtopengl4-3                   4:4.8.4-1               
            amd64        Qt OpenGL SMOKE library

# dpkg -l | grep libsdl
ii  libsdl-image1.2:amd64                 1.2.12-2                
            amd64        Image loading library for Simple 
DirectMedia Layer 1.2, libraries
ii  libsdl1.2-dev                         1.2.15-5                
            amd64        Simple DirectMedia Layer development files
ii  libsdl1.2debian:amd64                 1.2.15-5                
            amd64        Simple DirectMedia Layer
ii  libsdl2-2.0-0:amd64                   2.0.0+dfsg1-2~bpo70+1   
            amd64        Simple DirectMedia Layer
ii  libsdl2-dev                           2.0.0+dfsg1-2~bpo70+1   
            amd64        Simple DirectMedia Layer development files

Thanx one more time!


More information about the Digitalmars-d-announce mailing list