[Kstars-devel] kstars linking problem
Rishab Arora
ra.rishab at gmail.com
Tue Mar 5 22:06:51 UTC 2013
Thank You! This bug has been fixed [1].
It seems this issue had already been reported along with a patch. [2]
You can report more bugs (and submit patches) in the future at
https://bugs.kde.org
[1] http://commits.kde.org/kstars/e25b3eea670c6e1b2555c2b67459b6ede4b25d2c
[2] https://bugs.kde.org/show_bug.cgi?id=313517
Cheers,
Rishab Arora
rishab.in
On Wed, Mar 6, 2013 at 2:01 AM, slehti <slehti at mail.cern.ch> wrote:
> Dear kstars developers,
> I have a linking problem with kstars:
> (using commit a251d504911e99da7a2f04c11386f7**79b99d2aea from Sun Feb 24
> 12:12:09 2013 on Kubuntu 12.10, gcc version 4.7.2)
>
> Scanning dependencies of target kstars
> [ 98%] Building CXX object kstars/CMakeFiles/kstars.dir/**kstars.o
> Linking CXX executable kstars
> ../lib/libKStarsLib.a(**fitsimage.o): In function `FITSImage::checkWCS()':
> /home/slehti/public/Programs/**kstars/kstars/fitsviewer/**fitsimage.cpp:1043:
> undefined reference to `wcspih'
> /home/slehti/public/Programs/**kstars/kstars/fitsviewer/**fitsimage.cpp:1045:
> undefined reference to `wcshdr_errmsg'
> /home/slehti/public/Programs/**kstars/kstars/fitsviewer/**fitsimage.cpp:1063:
> undefined reference to `wcsset'
> /home/slehti/public/Programs/**kstars/kstars/fitsviewer/**fitsimage.cpp:1065:
> undefined reference to `wcs_errmsg'
> /home/slehti/public/Programs/**kstars/kstars/fitsviewer/**fitsimage.cpp:1082:
> undefined reference to `wcsp2s'
> /home/slehti/public/Programs/**kstars/kstars/fitsviewer/**fitsimage.cpp:1085:
> undefined reference to `wcs_errmsg'
> collect2: error: ld returned 1 exit status
> make[2]: *** [kstars/kstars] Error 1
> make[1]: *** [kstars/CMakeFiles/kstars.dir/**all] Error 2
> make: *** [all] Error 2
>
>
> This is fixed by changing line L481 in kstars/kstars/CMakeLists.txt:
>
> if (WCSLIB_FOUND)
> - target_link_libraries(kstars ${WCSLIB_LIBRARIES})
> + target_link_libraries(**KStarsLib ${WCSLIB_LIBRARIES})
> endif (WCSLIB_FOUND)
>
>
> I don't have any Developer Access, so could someone please take care of
> fixing this?
>
> Cheers,
> Sami
> ______________________________**_________________
> Kstars-devel mailing list
> Kstars-devel at kde.org
> https://mail.kde.org/mailman/**listinfo/kstars-devel<https://mail.kde.org/mailman/listinfo/kstars-devel>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kstars-devel/attachments/20130306/9eaac74d/attachment.html>
More information about the Kstars-devel
mailing list