<div dir="ltr"><div><div><div>Hi Nalin,<br></div><div><br></div><div>We've update the techbase article to include zlib as a dependency.<br><br></div><div>Regarding the second issue which we discussed on IRC, there is a missing<br>
#include <QFile> </div>
in fitsimage.cpp [as hdevalence pointed out on IRC]<br><br></div><div>You can add that to get it working.<br></div>It worked for most of us so it was probably never flagged. We'll be adding that as well.<br><br>Thanks for the heads up!<br>
</div><div><div><div><br></div></div></div><div class="gmail_extra"><br><div><span style>Rishab Arora</span><span style><br></span></div><div><span style>(spacetime)<br>
</span></div><div><br><br></div>
<br><br><div class="gmail_quote">On Sat, Apr 20, 2013 at 4:30 AM, nalin chhibber <span dir="ltr"><<a href="mailto:nalin.chhibber@gmail.com" target="_blank">nalin.chhibber@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hello World!<br><br>My name is Nalin (codeinjector), a third year student pursuing Bachelors Of Computer Science & Engineering from MSIT/Indraprastha University New Delhi ,India. I am very delighted to work for Kstars and currently building the binaries from source to find any bugs/errors .<br>
<br>I followed the steps mentioned at <a href="http://techbase.kde.org/Projects/Edu/KStars/Building_KStars" target="_blank">techbase.kde.org/Projects/Edu/KStars/Building_KStars</a> <br>and found error in one of the file "fitsimage.cpp" <br>
<br>However the process mentioned in link above had some glitches related to ZLIB,<br>after doing <b>cmake ../kstars -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=~/kde/usr </b> as mentioned in the link above,<br>
I got an error <font color="#ff0000">missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR</font><font color="#000000"> ( complete log in attachment "typescript" )</font><font color="#ff0000"> </font><font color="#000000">which I found was similar to the matter discussed here-><br>
<a href="http://mail.kde.org/pipermail/taglib-devel/2010-June/001566.html" target="_blank">http://mail.kde.org/pipermail/taglib-devel/2010-June/001566.html</a></font><br>(quite old thread though)<br><br>to resolve the ZLIB issue-><br>
1) I fetched the tar package by doing <code><b>wget <a href="http://www.zlib.net/zlib-1.2.7.tar.gz" target="_blank">http://www.zlib.net/zlib-1.2.7.tar.gz</a><br></b></code>2)extracted the tar,<br>3)configured the zlib library by doing <code><b>./configure --prefix=/usr/local/zlib</b></code><br>
4)compiled it using <b>make</b><br>5) and finally installed it by <b>make install<br></b> I also did <div><div><code><b>aptitude install zlib1g-dev </b>to place the headers at their respective place<br>
<br>^these steps successfully installed ZLIB and now instead of doing </code><b><font color="#ff0000">cmake ../kstars -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=~/kde/usr,<br></font><br>I did <br><font color="#00ff00">cmake ../kstars -DCMAKE_INSTALL_PREFIX=~/kde/usr -DZLIB_LIBRARY:FILEPATH="/home/codeinjector/zlib-1.2.7" -DZILB_INCLUDE_DIR:PATH="/home/codeinjector/zlib-1.2.7"<br>
</font>(to point to respective directories</b><b>)</b></div></div><br>and the code was <u><i>configured successfully</i></u>.<br>'but' after that,<br>the <b>make</b> and <b>make install</b> of <a href="http://techbase.kde.org/Projects/Edu/KStars/Building_KStars" target="_blank">original procedure</a> threw error in the file (I couldnt manage to get the complete log this time,But here's the screenshot)<br>
<br><a href="https://docs.google.com/file/d/0B4MMNHlRfGSzaVRDREQ2NXNjRHM/edit" target="_blank">https://docs.google.com/file/d/0B4MMNHlRfGSzaVRDREQ2NXNjRHM/edit</a><br><br>^which shows gcc is not willing to accept "QFile" in nested name specifier.<br>
<br>I am using <u>gcc 4.6</u> , <u>QT 4.7.4</u> on <u>Mint 12(</u> lisa )<br>link <a href="http://techbase.kde.org/Projects/Edu/KStars/Building_KStars" target="_blank">here</a> is for debian/kbuntu but it should work for mint aswell, right?<br>
<br><br>Badly want to contribute towards kstar this time. Not sure if there's something wrong I am doing. Any suggestions?<br><br><br>Regards,<br>Nalin_C(codeinjector)<br><a href="http://www.nalinchhibber.com" target="_blank">www.nalinchhibber.com</a><br>
</div>
<br>_______________________________________________<br>
Kstars-devel mailing list<br>
<a href="mailto:Kstars-devel@kde.org" target="_blank">Kstars-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/kstars-devel" target="_blank">https://mail.kde.org/mailman/listinfo/kstars-devel</a><br>
<br></blockquote></div><br></div></div>