[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bindings
Subject: Re: [Kde-bindings] Error Running Qyoto C# App
From: Dimitar Dobrev <dpldobrev () yahoo ! com>
Date: 2013-07-01 14:56:48
Message-ID: 1372690608.74914.YahooMailNeo () web122405 ! mail ! ne1 ! yahoo ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
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@cardiff.ac.uk>
To: kde-bindings@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@kde.org
https://mail.kde.org/mailman/listinfo/kde-bindings
[Attachment #5 (text/html)]
<html><body><div style="color:#000; background-color:#fff; font-family:times new \
roman, new york, times, serif;font-size:12pt"><div><br><span \
class="tab"> You should have \
qyoto-qt<module></span>-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.</div><div style="color: rgb(0, 0, 0); font-size: 16px; \
font-family: times new roman,new york,times,serif; background-color: transparent; \
font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; \
font-family: times new roman,new york,times,serif; background-color: transparent; \
font-style: normal;"><span class="tab"> \
Regards,<br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; \
font-family: times new roman,new york,times,serif; background-color: transparent; \
font-style: normal;"><span class="tab"> Dimitar \
Dobrev<br></span></div><div><br></div> <div style="font-family: times new roman, new \
york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new \
york, times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1"> <font \
face="Arial" size="2"> <b><span style="font-weight:bold;">From:</span></b> Chris \
Tottle <TottleCP@cardiff.ac.uk><br> <b><span style="font-weight: \
bold;">To:</span></b> kde-bindings@kde.org <br> <b><span style="font-weight: \
bold;">Sent:</span></b> Monday, July 1, 2013 5:30 PM<br> <b><span style="font-weight: \
bold;">Subject:</span></b> [Kde-bindings] Error Running Qyoto C# App<br> </font> \
</div> <div class="y_msg_container"><br><div id="yiv9105413602"><font face="Default \
Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2"><div>Hi \
All,</div><div><br></div><div>I've been following the tutorial from Zetcode (<a \
rel="nofollow" target="_blank" \
href="http://zetcode.com/gui/csharpqyoto/introduction/">http://zetcode.com/gui/csharpqyoto/introduction/</a>) and \
trying to build Qyoto on openSUSE 12.3 (both 32 and 64 \
versions).</div><div><br></div><div>I've found all the various dependencies in order \
for the cmake / make / install to work.</div><div><br></div><div>I can successfully \
install all the .NET assemblies etc. to the Mono/Qyoto directory (as per the make \
install utility).</div><div><br></div><div>But when ever I try and run / compile a C# \
Qyoto app I get the following error.<br><br><span style="font-size:small;">Unhandled \
Exception:</span><br style="font-size:small;"><span style="font-size: \
13px;">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</span><br \
style="font-size:small;"><span style="font-size:small;"> at (wrapper \
managed-to-native) QtCore.Qyoto:Init_qyoto_qtcore ()</span><br \
style="font-size:small;"><span style="font-size:small;"> at \
QtCore.SmokeInvocation.InitRuntime () [0x00000] in <filename \
unknown>:0 </span><br style="font-size:small;"><span \
style="font-size:small;"> at QtCore.SmokeInvocation..cctor () [0x00000] in \
<filename unknown>:0 </span><br style="font-size:small;"><span \
style="font-size:small;"> --- End of inner exception stack trace ---</span><br \
style="font-size:small;"><span style="font-size:small;"> at QtCore.Qt..cctor () \
[0x00000] in <filename unknown>:0 </span><br \
style="font-size:small;"><span style="font-size:small;"> --- End of inner \
exception stack trace ---</span><br style="font-size:small;"><span \
style="font-size:small;"> at tet.MainClass.Main (System.String[] args) \
[0x00000] in <filename unknown>:0 </span><br \
style="font-size:small;"><span style="font-size:small;">[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</span><br \
style="font-size:small;"><span style="font-size:small;"> at (wrapper \
managed-to-native) QtCore.Qyoto:Init_qyoto_qtcore ()</span><br \
style="font-size:small;"><span style="font-size:small;"> at \
QtCore.SmokeInvocation.InitRuntime () [0x00000] in <filename \
unknown>:0 </span><br style="font-size:small;"><span \
style="font-size:small;"> at QtCore.SmokeInvocation..cctor () [0x00000] in \
<filename unknown>:0 </span><br style="font-size:small;"><span \
style="font-size:small;"> --- End of inner exception stack \
trace
---</span><br style="font-size:small;"><span style="font-size:small;"> at \
QtCore.Qt..cctor () [0x00000] in <filename unknown>:0 </span><br \
style="font-size:small;"><span style="font-size:small;"> --- End of inner \
exception stack trace ---</span><br style="font-size:small;"><span \
style="font-size:small;"> at tet.MainClass.Main (System.String[] args) \
[0x00000] in <filename unknown>:0 </span></div><div><font \
size="2"><br></font></div><div><font size="2">I've tried this on Xubuntu 12.04 and \
Kubuntu 12.04 (32 bit) and got the same result.</font></div><div><font \
size="2"><br></font></div><div><font size="2">It looks like it can't find \
the </font><span style="font-size:small;">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.</span></div><div><span \
style="font-size:small;"><br></span></div><div><span style="font-size:small;">Any \
advice or help would be much appreciated.</span></div><div><span \
style="font-size:small;"><br></span></div><div><span style="font-size:small;">Many \
Thanks</span></div><div><br></div><div>Chris \
Tottle<br></div></font></div><br>_______________________________________________<br>Kde-bindings \
mailing list<br><a ymailto="mailto:Kde-bindings@kde.org" \
href="mailto:Kde-bindings@kde.org">Kde-bindings@kde.org</a><br><a \
href="https://mail.kde.org/mailman/listinfo/kde-bindings" \
target="_blank">https://mail.kde.org/mailman/listinfo/kde-bindings</a><br><br><br></div> \
</div> </div> </div></body></html>
_______________________________________________
Kde-bindings mailing list
Kde-bindings@kde.org
https://mail.kde.org/mailman/listinfo/kde-bindings
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic