×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

kstars build issue with updated stellarsolver

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

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

  • Posts: 460
  • 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 2 months 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 2 months ago #80507

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

  • Posts: 460
  • 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 2 months 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 2 months ago by Jay Sottolano.
2 years 2 months ago #80511

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

  • Posts: 460
  • 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 2 months ago by Jerry Black.
2 years 2 months ago #80512

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

  • Posts: 2877
  • Thank you received: 812
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 2 months 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 2 months 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 2 months ago #80538

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

  • Posts: 2877
  • Thank you received: 812
I'm sorry, I am not sure I understand the question, are you asking if you should do another pull to fix the issue?  If so I hope the answer is yes.  I made a change as I said to fix the issue and it was accepted earlier today (invent.kde.org/education/kstars/-/merge_requests/532), so I would hope that it does fix the issue.  All of you who were reporting the issue can tell me if it actually did fix the issue.  Sorry I can't answer whether it did actually fix it simply because I thought I had fixed it the first time, but I hadn't realized it was in another spot in the code.  but hopefully the second time its good :-). Please let me know.
The following user(s) said Thank You: Alan Archer
2 years 2 months ago #80540

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

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

I'm not as skilled as many here.  What I'm asking is was the change you made specific to the issue about Solver not compiling?  Can I "uncomment" that one line and recompile?  I suppose I can recompile with STABLE and it should overwrite  LATEST ?

Jay S.
The following user(s) said Thank You: Alan Archer
2 years 2 months ago #80541

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

  • Posts: 2877
  • Thank you received: 812
Ok I understand your question a little better now.  The issue was that you had to comment out that line because I had made a change to stellarsolver to remove a feature we were not even using in KStars. That meant that we had to remove any lines in KStars that turned off that feature we weren't using because it doesn't exist anymore.  The change I just made was to remove that command you had to comment out in the latest GIT.  If you do a git pull from the latest master, it won't even have that line anymore, so there is no more need to comment it out, but of course you need to do a git pull to update to the latest code to get that line removed.  If you have already commented it out, then it should work fine as well, but you won't have the latest code  Does that make more sense?
2 years 2 months ago #80543

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

Time to create page: 0.734 seconds