<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt">Hi, Antonio,<br><br>libcppparser.so is one of the libraries created by smokegen. If it's missing, there's something wrong with smokegen. Check if you have libcppparser.so in /home/antonio/qyoto/lib. If so, make sure you have permission to read it (I've always build Qyoto with admin privileges so this may be the problem with your setup). If not, check if you have something like libcppparser2.so or libcppparser.so.2, etc, and if so, create a link named libcppparser.so and try again. Else please post here what you get in the console after you make install smokegen.<br><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"> <font face="Arial" size="2"> <hr size="1">  <b><span
 style="font-weight:bold;">From:</span></b> Antonio Macrì <ing.antonio.macri@gmail.com><br> <b><span style="font-weight: bold;">To:</span></b> kde-bindings@kde.org <br> <b><span style="font-weight: bold;">Sent:</span></b> Sunday, September 30, 2012 7:13 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> [Kde-bindings] Building qyoto on Ubuntu 12.04<br> </font> </div> <br>
Hi all!<br><br>I believe in Qyoto, and I'd love to use Qt from C#.<br>I'm trying to build it in many ways but they all fail.<br><br>Qt4, phonon, mono etc are already installed from official repository. It seems that installing smokeqt from official repositories (or Kubuntu-backports) is not the best option (and raises errors). So the best option is to build smokegen, smokeqt and assemblygen from sources, right?<br><br>This is what I do:<br><br>    git clone git://anongit.kde.org/smokegen<br>    cd smokegen<br>    mkdir build<br>    cd build<br>    cmake -DCMAKE_INSTALL_PREFIX="/home/antonio/qyoto" ../<br>    make<br>    make install<br>    cd ../../<br>    git clone git://anongit.kde.org/smokeqt<br>    cd smokeqt<br>    mkdir build<br>    cd build<br>    cmake -DCMAKE_INSTALL_PREFIX="/home/antonio/qyoto" ../<br>   
 make<br><br>As you can see, I set CMAKE_INSTALL_PREFIX to avoid installing in /usr/local, which would require root privileges (sudo make install): am I doing this right?<br><br>Everything is ok until smokeqt's cmake, but when I run make I get the following error:<br><br>    /home/antonio/qyoto/smokeqt/build$ make<br>    [  0%] Generating smokedata.cpp, x_1.cpp, x_2.cpp, x_3.cpp, x_4.cpp, x_5.cpp, x_6.cpp, x_7.cpp, x_8.cpp, x_9.cpp, x_10.cpp, x_11.cpp, x_12.cpp, x_13.cpp, x_14.cpp, x_15.cpp, x_16.cpp, x_17.cpp, x_18.cpp, x_19.cpp, x_20.cpp<br>    /home/antonio/qyoto/bin/smokegen: error while loading shared libraries: libcppparser.so: cannot open shared object file: No such file or directory<br>    make[2]: *** [qtcore/smokedata.cpp] Errore 127<br>    make[1]: *** [qtcore/CMakeFiles/smokeqtcore.dir/all] Errore 2<br>    make: *** [all] Errore 2<br>   
 /home/antonio/qyoto/smokeqt/build$<br><br><br>I thought this was caused by RPATH and was already fixed... What I'm doing wrong?<br><br><br>Thanks,<br>Antonio<br><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></body></html>