[Mono-list] gtk-sharp with directfb backend

2007-08-22 Thread Spencer, Matthew
Hi All
 
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.
 
Cheers
 
Matt
*
This e-mail is confidential, the property of NDS Ltd and intended for the 
addressee only.  Any dissemination, copying or distribution of this message or 
any attachments by anyone other than the intended recipient is strictly 
prohibited.  If you have received this message in error, please immediately 
notify the [EMAIL PROTECTED] and destroy the original message.  Messages sent 
to and from NDS may be monitored.  NDS cannot guarantee any message delivery 
method is secure or error-free.  Information could be intercepted, corrupted, 
lost, destroyed, arrive late or incomplete, or contain viruses.  We do not 
accept responsibility for any errors or omissions in this message and/or 
attachment that arise as a result of transmission.  You should carry out your 
own virus checks before opening any attachment.  Any views or opinions 
presented are solely those of the author and do not necessarily represent those 
of NDS.

To protect the environment please do not print this e-mail unless necessary.

NDS Limited Registered office: One Heathrow Boulevard, 286 Bath Road, West 
Drayton, Middlesex, UB7 0DQ, United Kingdom. A company registered in England 
and Wales  Registered no. 3080780   VAT no. GB 603 8808 40-00
**

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] gtk-sharp with directfb backend

2007-08-22 Thread Paolo Molaro
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

-- 
-
[EMAIL PROTECTED] debian/rules
[EMAIL PROTECTED] Monkeys do it better
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list