<div dir="ltr"><div>Thank You! This bug has been fixed [1]. <br>It seems this issue had already been reported along with a patch. [2]<br></div><br>You can report more bugs (and submit patches) in the future at <a href="https://bugs.kde.org">https://bugs.kde.org</a><br>

<div><br>[1] <a href="http://commits.kde.org/kstars/e25b3eea670c6e1b2555c2b67459b6ede4b25d2c">http://commits.kde.org/kstars/e25b3eea670c6e1b2555c2b67459b6ede4b25d2c</a><br>[2] <a href="https://bugs.kde.org/show_bug.cgi?id=313517">https://bugs.kde.org/show_bug.cgi?id=313517</a><br>

<br><br></div><div class="gmail_extra"><div>Cheers,<br><span style="color:rgb(0,0,0)">Rishab Arora<br></span><span style="color:rgb(0,0,0)"><span style="color:rgb(0,0,0)"><a href="http://rishab.in" target="_blank">rishab.in</a></span><br>

</span><br><br></div>
<br><br><div class="gmail_quote">On Wed, Mar 6, 2013 at 2:01 AM, slehti <span dir="ltr"><<a href="mailto:slehti@mail.cern.ch" target="_blank">slehti@mail.cern.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

Dear kstars developers,<br>
I have a linking problem with kstars:<br>
(using commit a251d504911e99da7a2f04c11386f7<u></u>79b99d2aea from Sun Feb 24 12:12:09 2013 on Kubuntu 12.10, gcc version 4.7.2)<br>
<br>
Scanning dependencies of target kstars<br>
[ 98%] Building CXX object kstars/CMakeFiles/kstars.dir/<u></u>kstars.o<br>
Linking CXX executable kstars<br>
../lib/libKStarsLib.a(<u></u>fitsimage.o): In function `FITSImage::checkWCS()':<br>
/home/slehti/public/Programs/<u></u>kstars/kstars/fitsviewer/<u></u>fitsimage.cpp:1043: undefined reference to `wcspih'<br>
/home/slehti/public/Programs/<u></u>kstars/kstars/fitsviewer/<u></u>fitsimage.cpp:1045: undefined reference to `wcshdr_errmsg'<br>
/home/slehti/public/Programs/<u></u>kstars/kstars/fitsviewer/<u></u>fitsimage.cpp:1063: undefined reference to `wcsset'<br>
/home/slehti/public/Programs/<u></u>kstars/kstars/fitsviewer/<u></u>fitsimage.cpp:1065: undefined reference to `wcs_errmsg'<br>
/home/slehti/public/Programs/<u></u>kstars/kstars/fitsviewer/<u></u>fitsimage.cpp:1082: undefined reference to `wcsp2s'<br>
/home/slehti/public/Programs/<u></u>kstars/kstars/fitsviewer/<u></u>fitsimage.cpp:1085: undefined reference to `wcs_errmsg'<br>
collect2: error: ld returned 1 exit status<br>
make[2]: *** [kstars/kstars] Error 1<br>
make[1]: *** [kstars/CMakeFiles/kstars.dir/<u></u>all] Error 2<br>
make: *** [all] Error 2<br>
<br>
<br>
This is fixed by changing line L481 in kstars/kstars/CMakeLists.txt:<br>
<br>
 if (WCSLIB_FOUND)<br>
-    target_link_libraries(kstars ${WCSLIB_LIBRARIES})<br>
+    target_link_libraries(<u></u>KStarsLib ${WCSLIB_LIBRARIES})<br>
 endif (WCSLIB_FOUND)<br>
<br>
<br>
I don't have any Developer Access, so could someone please take care of fixing this?<br>
<br>
Cheers,<br>
Sami<br>
______________________________<u></u>_________________<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/<u></u>listinfo/kstars-devel</a><br>
</blockquote></div><br></div></div>