×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

kstars build issue with updated stellarsolver

  • Posts: 157
  • Thank you received: 19
Encountered a build error attempting to build kstars after latest github pull:  

/home/xxx/Devel/kstars/kstars/ekos/align/align.cpp: In member function ‘void Ekos::Align::startSolving()’:
/home/xxx/Devel/kstars/kstars/ekos/align/align.cpp:2016:26: error: ‘class StellarSolver’ has no member named ‘setLoadWCS’
 2016 |         m_StellarSolver->setLoadWCS(false);
      |                          ^~~~~~~~~~
make[2]: *** [kstars/CMakeFiles/KStarsLib.dir/build.make:1911: kstars/CMakeFiles/KStarsLib.dir/ekos/align/align.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1548: kstars/CMakeFiles/KStarsLib.dir/all] Error 2

Regards,

jmh
 
2 years 1 month ago #80342

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

  • Posts: 2876
  • Thank you received: 809
Thanks for the heads up, I put in a pull request to delete this line from KStars since it is no longer needed.

invent.kde.org/education/kstars/-/merge_requests/527
2 years 1 month ago #80352

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

  • Posts: 157
  • Thank you received: 19
Thanks for all your work. Latest build works.

jmh
2 years 1 month ago #80378

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

  • Posts: 2
  • Thank you received: 0
Hi, I have the same problem in kstars/ekos/auxiliary/solverutils.cpp line 81
2 years 1 month ago #80445

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

  • Posts: 459
  • Thank you received: 69
/Projects/kstars/kstars/ekos/auxiliary/solverutils.cpp:81:22: error: ‘class StellarSolver’ has no member named ‘setLoadWCS’
81 | m_StellarSolver->setLoadWCS(false);

I'm still seeing this error, after the merge request appears to have failed.

invent.kde.org/education/kstars/-/merge_requests/527

Cheers
Jerry
2 years 1 month ago #80506

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

  • Posts: 46
  • Thank you received: 4
Jerry..

This is exactly where mine is failing on the 64 bit script build.. Same message, but I've also had very similar messages for different locations that are points of failure it seems. Is it fixed with a new GIT based on what NOU built?

/home/pi/astro-soft/kstars/kstars/ekos/auxiliary/solverutils.cpp: In member function ‘void SolverUtils::runSolver(FITSData*, const SSolver::Parameters&, double)’:
/home/pi/astro-soft/kstars/kstars/ekos/auxiliary/solverutils.cpp:81:22: error: ‘class StellarSolver’ has no member named ‘setLoadWCS’
   81 |     m_StellarSolver->setLoadWCS(false);
      |                      ^~~~~~~~~~
make[2]: *** [kstars/CMakeFiles/KStarsLib.dir/build.make:1579: kstars/CMakeFiles/KStarsLib.dir/ekos/auxiliary/solverutils.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:1184: kstars/CMakeFiles/KStarsLib.dir/all] Error 2
make: *** [Makefile:149: all] Error 2
KStars failed


Jay S.
2 years 1 month ago #80507

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

  • Posts: 459
  • Thank you received: 69
My quick fix, until I can get updated code from git,
was to just comment out line 81 in /home/pi/astro-soft/kstars/kstars/ekos/auxiliary/solverutils.cpp
I think the requested update to the master hasn't yet updated, but the messaging on that merge request 527 is confusing to me.
2 years 1 month ago #80508

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

  • Posts: 46
  • Thank you received: 4
Jerry..

Sorry, which file did you comment it out in??

Jay S.
Last edit: 2 years 1 month ago by Jay Sottolano.
2 years 1 month ago #80511

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

  • Posts: 459
  • Thank you received: 69
comment out line 81 in /home/pi/astro-soft/kstars/kstars/ekos/auxiliary/solverutils.cpp if that's the path to the file.

Or maybe the entire file should be removed, as I don't see it in
invent.kde.org/lancaster/kstars/-/tree/m...stars/ekos/auxiliary
 
The following user(s) said Thank You: Jay Sottolano
Last edit: 2 years 1 month ago by Jerry Black.
2 years 1 month ago #80512

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

  • Posts: 2876
  • Thank you received: 809
Sorry I guess I missed that it was in another spot.  I just made another pull request.
The following user(s) said Thank You: Alan Archer, Jerry Black, Jay Sottolano
2 years 1 month ago #80514

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

  • Posts: 46
  • Thank you received: 4
Jerry...

OK, we have a KSTARS and INDI running on 64 Bit Bullseye..  (minus that one line).  :-)  Will wait to recompile once that is fixed..  On to PHD2!!  :-)

Jay
2 years 1 month ago #80516

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

  • Posts: 46
  • Thank you received: 4
Rob,

Did doing another pull fix the issue? Thanks..

Jay S.
2 years 1 month ago #80538

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

Time to create page: 0.894 seconds