×

INDI Library v1.9.0 Released (23 Apr 2021)

Major INDI Library release v1.9.0 bring significant internal changes championed by @pawel-soja to modernize core INDI Library drivers and clients. New drivers for DeepSkyDad Flat Panel & Pegasus devices plus further improvements to PCM8 drivers.

[solved] cmake error after update

  • Posts: 106
  • Thank you received: 4
@Dev-team

Suddenly cmake is confused because it does not find stellarsolver.

I added the path to libstellarsolver.so to the file
/usr/lib/x86_64-linux-gnu/cmake/StellarSolver/StellarSolverConfig.cmake

set_target_properties(StellarSolver::stellarsolver PROPERTIES
INTERFACE_INCLUDE_DIRECTORIES "/usr/include/libstellarsolver"
INTERFACE_LINK_LIBRARIES "/usr/lib/x86_64-linux-gnu/libstellarsolver.so;/usr/lib/x86_64-linux-gnu/libcfitsio.so;/usr/lib/x86_64-linux-gnu/libgsl.so;/usr/lib/x86_64-linux-gnu/libgslcblas.so;/usr/lib/x86_64-linux-gnu/libwcs.so;Qt5::Core;Qt5::Network;Qt5::Widgets;Qt5::Concurrent;-lpthread"
)

And now Qt Creator complains:
The imported target "StellarSolver::stellarsolver" references the file

"/usr/lib/x86_64-linux-gnu/libstellarsolver.so.1.5"

In the directory are 3 files:
libstellarsolver.so -> libstellarsolver.so.1
libstellarsolver.so.1 -> libstellarsolver.so.1.6
libstellarsolver.so.1.6

So the version 1.6 should be referenced.
Powered by

GNU / Linux
Git
KDE neon
KStars | EKOS | INDI

and some cheap hardware
5 months 1 week ago #65635

Please Log in or Create an account to join the conversation.

  • Posts: 106
  • Thank you received: 4

Replied by Heiko on topic cmake error after update

I thought it might be an error because of some kind of cached variable. I trashed the whole kstars directory and cloned the repo.

Same error:

CMake Error at /usr/lib/x86_64-linux-gnu/cmake/StellarSolver/StellarSolverConfig.cmake:89 (message):
The imported target "StellarSolver::stellarsolver" references the file

"/usr/lib/x86_64-linux-gnu/libstellarsolver.so.1.5"

but this file does not exist. Possible reasons include:

* The file was deleted, renamed, or moved to another location.

* An install or uninstall procedure did not complete successfully.

* The installation package was faulty and contained

"/usr/lib/x86_64-linux-gnu/cmake/StellarSolver/StellarSolverConfig.cmake"

but not all the files it references.
Powered by

GNU / Linux
Git
KDE neon
KStars | EKOS | INDI

and some cheap hardware
5 months 1 week ago #65643

Please Log in or Create an account to join the conversation.

  • Posts: 106
  • Thank you received: 4
Ok

I ended up pulling the stellarsolver repo from github.
After compiling the sources I installed it over the existing installation which was already stellarsolver version 1.6.
But the CMakeLists.txt had 4 changes. This seems to be crucial.
My local project is up to date and now also in a working state.
Powered by

GNU / Linux
Git
KDE neon
KStars | EKOS | INDI

and some cheap hardware
Last edit: 5 months 1 week ago by Heiko.
5 months 1 week ago #65658

Please Log in or Create an account to join the conversation.

  • Posts: 713
  • Thank you received: 113
Thanks for posting, had to go through the same procedure...
3 months 3 days ago #68705

Please Log in or Create an account to join the conversation.

  • Posts: 568
  • Thank you received: 277
FWIW, I did try and update the KStars README file to address this stellarsolver cmake issue.
E.g. search for stellarsolver in the bottom/README section on invent.kde.org/education/kstars
If you feel there are better ways to phrase things, please let me know and I'll update the instructions.
Hy
Orion Atlas Pro, William Optics ZS105, Moonlight V2 focuser
ZWO ASI1600, OAG & Filterwheel, Astronomik Filters, QHY 5L-IIm guidecam.
KStars/Ekos/Indi on RPi4 w/SSD
Ekos Projects: Terrain Backgrounds, Polar Alignment, Analyze, Linear Focuser, SEP MultiStar & GPG Guiding, FITS autostretch.
The following user(s) said Thank You: Alfred
3 months 3 days ago #68736

Please Log in or Create an account to join the conversation.

  • Posts: 713
  • Thank you received: 113
Setting up another Kstars client I ran into it again. No problem, just noticed that the issue should be mentioned in the Kstars INSTALL file that comes with the git download, too. AFAICS the current version is from Kstars 3.3.7 and does not contain any info regarding Stellarsolver.
Last edit: 1 month 1 week ago by Alfred.
1 month 1 week ago #71247

Please Log in or Create an account to join the conversation.

Time to create page: 0.207 seconds