×

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

Bi-monthly release with minor bug fixes and improvements

kstars

  • Posts: 3
  • Thank you received: 0

kstars was created by Mahesh R

hello,
i am running wsl ubuntu 22.04.2 and while building kstars, the final step make does not work and 2 errors are thrown-
get(QVector3D const&)'
/usr/bin/ld: /home/rmahesh/Projects/kstars/kstars/fitsviewer/starprofileviewer.cpp:333: undefined reference to `QtDataVisualization::QAbstract3DGraph::scene() const'
/usr/bin/ld: /home/rmahesh/Projects/kstars/kstars/fitsviewer/starprofileviewer.cpp:333: undefined reference to `QtDataVisualization::Q3DScene::activeCamera() const'
/usr/bin/ld: /home/rmahesh/Projects/kstars/kstars/fitsviewer/starprofileviewer.cpp:333: undefined reference to `QtDataVisualization::Q3DCamera::setZoomLevel(float)'
/usr/bin/ld: ../../bin/test_skypoint: unable to sort relocs - they are of an unknown size
[ 79%] Built target test_skypoint
/usr/bin/ld: ../../bin/test_starobject: unable to sort relocs - they are of an unknown size
collect2: error: ld returned 1 exit status
make[2]: *** [Tests/skyobjects/CMakeFiles/test_starobject.dir/build.make:132: bin/test_starobject] Error 1
make[1]: *** [CMakeFiles/Makefile2:2732: Tests/skyobjects/CMakeFiles/test_starobject.dir/all] Error 2
/usr/bin/ld: ../../bin/testfitsdata: unable to sort relocs - they are of an unknown size
[ 79%] Built target testfitsdata
make: *** [Makefile:146: all] Error 2

Any suggestions on how to resolve this? Is kstars built differently on wsl than on linux and do i have to follow different steps than the ones mentioned in the README?
9 months 1 week ago #94108

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

  • Posts: 359
  • Thank you received: 114

Replied by nou on topic kstars

These error are when compiling tests. You can disable them with -DBUILD_TESTING=Off parameter when running cmake.
The following user(s) said Thank You: Mahesh R
9 months 1 week ago #94113

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

  • Posts: 3
  • Thank you received: 0

Replied by Mahesh R on topic kstars

Thank you,
CMake Error at /usr/share/cmake-3.22/Modules/FindKDE4.cmake:61 (message):
ERROR: Could not find KDE4 kde4-config
Call Stack (most recent call first):
CMakeLists.txt:12 (find_package)


CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as

cmake_minimum_required(VERSION 3.22)

should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.

what would these indicate?

thanks again for your reply
9 months 1 week ago #94115

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

  • Posts: 359
  • Thank you received: 114

Replied by nou on topic kstars

You seems to missing some dependency. I would suggest to use or at least read my scripts that build INDI and Kstars. gitea.nouspiro.space/nou/astro-soft-build In your case at least run command from install-dependencies.sh
Last edit: 9 months 1 week ago by nou.
9 months 1 week ago #94125

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

  • Posts: 33
  • Thank you received: 3

Replied by Osvaldo Paez on topic kstars

Hi nou
Do you plan to update your scripts for the new version of INDi?
Best regards!
8 months 3 weeks ago #94498

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

Time to create page: 0.890 seconds