Mahesh R created a new topic ' kstars' in the forum. 10 months ago

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?

Read More...