[Mono-list] gtk-sharp with directfb backend

Paolo Molaro lupus at ximian.com
Wed Aug 22 09:27:07 EDT 2007


On 08/22/07 Spencer, Matthew wrote:
> I am trying to get gtk-sharp working without X support (ie by using the
> directfb version of gtk).  The demo app gtk-demo works fine.
>  
> To achieve this, I have changed the dll mapping in gtk-sharp.dll.config
> to:
>   <dllmap dll="libgtk-win32-2.0-0.dll"
> target="libgtk-directfb-2.0.so.0"/>
>  
> I have created a simple class that inherits from DrawingArea
>  
> class TestClass : DrawingArea {
> }
>  
> When I create an instance of TestClass, the runtime bombs out:
>  
> (!) [ 4220:    0.000] --> Caught signal 24 (unknown origin) <--
>  
> Any ideas what the problem might be?  I am running on an arm based
> platform.

Did you also recompile gtk-sharp with the directfb-targeted gtk?
Gtk# uses a few helper shared libs that would be linked against the x11
version and changing the config file wouldn't be enough (also gdk names
need changing).
As for signal 24: how are you getting that? It's likely one of the
signals used by the GC: if you get an error, post that, the above is not
printed by mono.

lupus

-- 
-----------------------------------------------------------------
lupus at debian.org                                     debian/rules
lupus at ximian.com                             Monkeys do it better


More information about the Mono-list mailing list