×

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

Bi-monthly release with minor bug fixes and improvements

Issue compiling KStars

  • Posts: 1309
  • Thank you received: 226
I like to build KStars myself using the AstroPi3 build script but have come upon an issue that stops the make process. I'm given the choice to build latest release or master, both have had the same issue.
In file included from /home/pi/AstroRoot/kstars-build/kstars/KStarsLib_autogen/YBWGFWFLDP/moc_remoteastrometryparser.cpp:9,
                 from /home/pi/AstroRoot/kstars-build/kstars/KStarsLib_autogen/mocs_compilation.cpp:45:
/home/pi/AstroRoot/kstars/kstars/ekos/align/remoteastrometryparser.h:56:20: error: 'Parity' in namespace 'FITSImage' does not name a type
         FITSImage::Parity parity = FITSImage::BOTH;
                    ^~~~~~
make[2]: *** [kstars/CMakeFiles/KStarsLib.dir/build.make:848: kstars/CMakeFiles/KStarsLib.dir/KStarsLib_autogen/mocs_compilation.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1575: kstars/CMakeFiles/KStarsLib.dir/all] Error 2
make: *** [Makefile:141: all] Error 2

I also noticed this message
AutoMoc: /home/pi/AstroRoot/kstars/kstars/ekos/scheduler/mosaictilesmanager.h:117: Warning: Class MosaicTilesManager implements the interface QGraphicsItem but does not list it in Q_INTERFACES. qobject_cast to QGraphicsItem will not work!
Last edit: 2 years 5 days ago by Andrew.
2 years 5 days ago #82431

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

  • Posts: 355
  • Thank you received: 109

Replied by nou on topic Issue compiling KStars

You can try my build script gitea.nouspiro.space/nou/astro-soft-build
2 years 5 days ago #82434

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

  • Posts: 1309
  • Thank you received: 226

Replied by Andrew on topic Issue compiling KStars

I tried the your script and had the same issue.
2 years 4 days ago #82442

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

  • Posts: 2877
  • Thank you received: 812
What system is this on? Ubuntu Mate, Raspbian, or something else? If it is ubuntu mate, and you are using the right script, stellarsolver should have been updated with the PPA. If it is something else, we might have to look into it.
2 years 2 days ago #82470

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

  • Posts: 1309
  • Thank you received: 226

Replied by Andrew on topic Issue compiling KStars

I am using the AstroPi3 build script. As far as I know it rebuilt StellarSolver, presumably the 2.0 version. I am unsure how to verify that though.
2 years 2 days ago #82471

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

Time to create page: 1.058 seconds