[Kde-bindings] Error Running Qyoto C# App

Chris Tottle TottleCP at cardiff.ac.uk
Mon Jul 1 14:30:48 UTC 2013


Hi All,

I've been following the tutorial from Zetcode (http://zetcode.com/gui/csharpqyoto/introduction/) and trying to build Qyoto on openSUSE 12.3 (both 32 and 64 versions).

I've found all the various dependencies in order for the cmake / make / install to work.

I can successfully install all the .NET assemblies etc. to the Mono/Qyoto directory (as per the make install utility).

But when ever I try and run / compile a C# Qyoto app I get the following error.

Unhandled Exception:
System.TypeInitializationException: An exception was thrown by the type initializer for QtCore.Qt ---> System.TypeInitializationException: An exception was thrown by the type initializer for QtCore.SmokeInvocation ---> System.DllNotFoundException: qyoto-qtcore-native
  at (wrapper managed-to-native) QtCore.Qyoto:Init_qyoto_qtcore ()
  at QtCore.SmokeInvocation.InitRuntime () [0x00000] in <filename unknown>:0 
  at QtCore.SmokeInvocation..cctor () [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at QtCore.Qt..cctor () [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at tet.MainClass.Main (System.String[] args) [0x00000] in <filename unknown>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An exception was thrown by the type initializer for QtCore.Qt ---> System.TypeInitializationException: An exception was thrown by the type initializer for QtCore.SmokeInvocation ---> System.DllNotFoundException: qyoto-qtcore-native
  at (wrapper managed-to-native) QtCore.Qyoto:Init_qyoto_qtcore ()
  at QtCore.SmokeInvocation.InitRuntime () [0x00000] in <filename unknown>:0 
  at QtCore.SmokeInvocation..cctor () [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at QtCore.Qt..cctor () [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at tet.MainClass.Main (System.String[] args) [0x00000] in <filename unknown>:0 

I've tried this on Xubuntu 12.04 and Kubuntu 12.04 (32 bit) and got the same result.

It looks like it can't find the qyoto-qtcore-native.dll (but the *native.so files are there). I've even tried a symbolic link in the Mono/Qyoto dir and called them *native.dll, and that failed also.

Any advice or help would be much appreciated.

Many Thanks

Chris Tottle
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20130701/753c344d/attachment.html>


More information about the Kde-bindings mailing list