Summary: | Not able to compile kstars on Ubuntu 12.04 (wcslib error) | ||
---|---|---|---|
Product: | [Applications] kstars | Reporter: | Adam Garami <garamiad> |
Component: | general | Assignee: | Rishab Arora <ra.rishab> |
Status: | RESOLVED FIXED | ||
Severity: | critical | CC: | kdebugz.10.dubuit, mutlaqja, ra.rishab |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | Add link dependency for cmake library |
Description
Adam Garami
2013-01-19 18:11:16 UTC
Created attachment 77217 [details]
Add link dependency for cmake library
I also had this problem. I could build it by adding (see attached diff) target_link_libraries(KStarsLib ${WCSLIB_LIBRARIES}) at line 481 of kstars/CMakeLists.txt Could you please confirm that the above fix works for you? Dear Nicolas, your fix worked! I was able to compile kstars without errors! Thank you! (In reply to comment #3) > Dear Nicolas, > > your fix worked! I was able to compile kstars without errors! Thank you! Please do not close the report before the patch is really accepted and committed . (In reply to comment #4) > (In reply to comment #3) > > Dear Nicolas, > > > > your fix worked! I was able to compile kstars without errors! Thank you! > > Please do not close the report before the patch is really accepted and > committed . Ok, sorry for that! Thanks for the report and the patch. The target for the library was incorrect. The committed patch is slightly different. This should fix this bug. http://commits.kde.org/kstars/e25b3eea670c6e1b2555c2b67459b6ede4b25d2c |