[Kde-bindings] Unhandled Exception in Qyoto Initialisation

Lindsay Mathieson lindsay.mathieson at gmail.com
Mon Dec 22 23:54:16 UTC 2008


I'm using a standard build of kdebindings trunk - rev 900484. Have built the 
T1 tutorial with no problems, but running it generates the following stack 
dump:


Unhandled Exception: System.TypeInitializationException: An exception was 
thrown by the type initializer for Qyoto.QApplication ---> 
System.TypeInitializationException: An exception was thrown by the type 
initializer for Qyoto.SmokeInvocation ---> System.DllNotFoundException: 
libqyoto
  at (wrapper managed-to-native) Qyoto.Qyoto:Init_qyoto ()
  at Qyoto.SmokeInvocation.InitRuntime () [0x00000]
  at Qyoto.SmokeInvocation..cctor () [0x00000] --- End of inner exception 
stack trace ---

  at Qyoto.QApplication..cctor () [0x00000] --- End of inner exception stack 
trace ---

  at T1.Main (System.String[] args) [0x00000]


-------------------------------
Test Program below:
using System;
using Qyoto;

public class T1
{
    public static int Main(String[] args) {
        QApplication app = new QApplication(args);
        QPushButton hello = new QPushButton("Hello world!");
        QLabel label = new QLabel(hello);
        hello.Resize(100, 30);
        hello.Show();
        return QApplication.Exec();
    }
}


Any suggestions? I can rebuild the bindings with debug info if needed.


Thanks,

-- 
Lindsay Mathieson
http://members.optusnet.com.au/~blackpaw1/album
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20081223/655845b9/attachment.sig>


More information about the Kde-bindings mailing list