I'm compiling the KStars nightly on a fresh install of Ubuntu Mate 22.04 64bit on the Raspberry Pi4 8gb
I believe I have all the necessary dependencies. Near the end, I encounter an error while compiling test_sequencejobstate
[99%] Building CXX object Tests/capture/CMakeFiles/test_sequencejobstate.dir/test_sequencejobstate.cpp.o
In file included from /usr/include/aarch64-linux-gnu/qt5/QtCore/qchar.h:43,
from /usr/include/aarch64-linux-gnu/qt5/QtCore/qstring.h:49,
from /usr/include/aarch64-linux-gnu/qt5/QtCore/QString:1,
from /home/pi/AstroRoot/kstars/kstars/indi/indicommon.h:9,
from /home/pi/AstroRoot/kstars/kstars/ekos/capture/sequencejobstate.h:9,
from /home/pi/AstroRoot/kstars/Tests/capture/test_sequencejobstate.h:11,
from /home/pi/AstroRoot/kstars/Tests/capture/test_sequencejobstate.cpp:9:
/usr/include/aarch64-linux-gnu/qt5/QtCore/qobject.h: In instantiation of ‘static QMetaObject::Connection QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const typename QtPrivate::FunctionPointer<Func2>::Object*, Func2, Qt::ConnectionType)[with Func1 = void (Ekos::SequenceJobState::*)(double); Func2 = void (TestAdapter::*)(double*); typename QtPrivate::FunctionPointer<Func>::Object = Ekos::SequenceJobState; typename QtPrivate::FunctionPointer<Func2>::Object = TestAdapter]’:
/home/pi/AstroRoot/kstars/Tests/capture/test_sequencejobstate.cpp:41:12: required from here
/usr/include/aarch64-linux-gnu/qt5/QtCore/qobject.h:255:9: error: static assertion failed: Signal and slot arguments are not compatible.
255 | Q_STATIC_ASSERT_X((QtPrivate::CheckCompatibleArguments<typename SignalType::Arguments, typename SlotType::Arguments>::value),
| ^~~~~~~~~~~~~~~~~
/usr/include/aarch64-linux-gnu/qt5/QtCore/qobject.h:255:9: note: ‘(((int)QtPrivate::CheckCompatibleArguments<QtPrivate::List<double>, QtPrivate::List<double*> >::value) != 0)’ evaluates to false
make[2]: *** [Tests/capture/CMakeFiles/test_sequencejobstate.dir/build.make:90: Tests/capture/CMakeFiles/test_sequencejobstate.dir/test_sequencejobstate.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:4328: Tests/capture/CMakeFiles/test_sequencejobstate.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
Don't compile nightly if you don't have reason to do. Latest commit is often in broken status. Build latest stable release instead. You can also try disable testing with -DBUILD_TESTING=Off
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.