Mahesh R replied to the topic 'kstars' in the forum. 9 months ago

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

Read More...

Mahesh R created a new topic ' kstars' in the forum. 9 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...