On Mon, 29 Dec 2014 05:52:10 +0000 Vadim Lopatin via Digitalmars-d-announce <email@example.com> wrote:
> On Monday, 29 December 2014 at 04:23:49 UTC, ketmar via > Digitalmars-d-announce wrote: > > On Mon, 29 Dec 2014 04:09:41 +0000 > > Vadim Lopatin via Digitalmars-d-announce > > <firstname.lastname@example.org> wrote: > > > >> On Sunday, 28 December 2014 at 20:30:53 UTC, ketmar via > >> Digitalmars-d-announce wrote: > >> > On Fri, 26 Dec 2014 12:33:03 +0000 > >> > Vadim Lopatin via Digitalmars-d-announce > >> > <email@example.com> wrote: > >> > > >> >> Hello! > >> >> > >> >> DlangUI project is alive and under active development. > >> >> > >> >> https://github.com/buggins/dlangui > >> > > >> > ah, i really love this project! it's stable as a rock: every > >> > time i > >> > tried it, it crashing with "exception while loading image > >> > from > >> > file". it's not working, but at least it's not working every > >> > time i > >> > check it. ;-) > >> > >> Can you check once again - v0.1.16? Just in case. Probably, > >> it's as stable as previous. > > i wrote this just after i did 'git clone' (i tend to rm it all > > after > > unsuccessfull attempt). besides the bug in > > src/dlangui/graphics/ftfonts.d at line 40 (extra 'const', my > > patched > > compiler is not tolerant to it), it's still the same "image > > error" as > > ever. GNU/Linux x86 is you need that info. and here's the > > message log: > > > > Running ./examples/example1/bin/example1 > > 2014-12-29 06:20:19.859 W resource theme_default is not found > > 2014-12-29 06:20:19.859 E Cannot load theme from resource > > theme_default - will use default theme > > 2014-12-29 06:20:20.092 E exception while loading image from > > file > > /mnt/tigerclaw/D/dlangui/examples/example1/.dub/build/application-debug-linux.posix-x86-dmd_2067-AA7A6EC68D298A63D0B7CD4C8C934A19/../../../res/mdpi/tx_fabric.jpg > > Compilation is fixed. > > It looks like you don't have libfreeimage installed. It causes > crash. > wow, now it works. it's look funny without images though. btw, i have freeimage installed, but the loader wants to find "FreeImage_ConvertToRGB16" function in it, which it seems to not even use. that's the joy of Derelict: it loads everything whether, it needs it or not. ah, and another thing: freeimage sux for GNU/Linux. it looks completely alien and no sane GUI software requires it. i didn't looked at the code, but i hope that image loading is well abstracted in DlangUI? if it is, i can try to write a loaders for png and jpg (jpg? in GUI? holy heavens, why?!). it's better to check if the system has the corresponding libraries with corresponding versions (imlib2 rocks, for example), but i suppose that dub cannot into configure checks, am i right?
Description: PGP signature