[Kde-bindings] Error Running Qyoto C# App

Dimitar Dobrev dpldobrev at yahoo.com
Mon Jul 1 14:56:48 UTC 2013


    You should have qyoto-qt<module>-native.so files in the bin/ subdir of the dir you made make install at. Just copy them next to your executable, along with the necessary smokqt<module>.so files.

    Regards,

    Dimitar Dobrev



________________________________
 From: Chris Tottle <TottleCP at cardiff.ac.uk>
To: kde-bindings at kde.org 
Sent: Monday, July 1, 2013 5:30 PM
Subject: [Kde-bindings] Error Running Qyoto C# App
 


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

_______________________________________________
Kde-bindings mailing list
Kde-bindings at kde.org
https://mail.kde.org/mailman/listinfo/kde-bindings
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20130701/f3120eef/attachment.html>


More information about the Kde-bindings mailing list