digited schrieb:
> Gian Perrone Wrote:
> 
>> I just wanted you to know that i built dwt-linux (from the repository) 
>> with ldc, just a few small changes were made:
>>
>> <...patch here...>
>>
>> The browser widget had to be ignored (move away dwt/browser and 
>> dwt/internals/mozilla). The "simple" example was run successfully, i 
>> didn't test more.
>>
>> dwt-addons doesn't work because of a bug with tuples in ldc.
> 
> Thanks for the patch!
> 
> I've compiled some HelloWorlds with LDC trunk, Tango trunk and xfbuild on 
> openSUSE 11.1 x86_64:
> 
> xfbuild dwt-samples/examples/helloworld/HelloWorld1.d -Idwt-linux 
> -Jdwt-linux/res -d-version=TANGOSVN -d +ohw1 -L-lz -L-lgtk-x11-2.0 
> -L-lgdk-x11-2.0 -L-latk-1.0 -L-lgdk_pixbuf-2.0 -L-lgthread-2.0 
> -L-lpangocairo-1.0 -L-lfontconfig -L-lXtst -L-lXext -L-lXrender -L-lXinerama 
> -L-lXi -L-lXrandr -L-lXcursor -L-lX11 -L-lXfixes -L-lpango-1.0 
> -L-lgobject-2.0 -L-lgmodule-2.0 -L-ldl -L-lglib-2.0 -L-lcairo
> 
> However, i have problems with Gtk/Gdk and locale - when i try to run a DWT 
> app, i get:
> 
> (process:9804): Gdk-WARNING **: locale not supported by C library
> (process:9804): Gtk-WARNING **: Locale not supported by C library.
> Using the fallback 'C' locale.
> 
> And the app halts without showing any window. 'locale' returns en_US.UTF-8 
> everywhere, resetting it with 'localedef' also doesn't change the error. May 
> it be some DWT bug?

I know this warning. I do not remember what the solution was, to make it
go away, but my application always worked with it.
So the not showing window or halt might not be related to the warning.

Reply via email to