×

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

Bi-monthly release with minor bug fixes and improvements

issue solved with disabling but

  • Posts: 1309
  • Thank you received: 226
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
10 months 3 days ago #93665

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

  • Posts: 361
  • Thank you received: 114
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
The following user(s) said Thank You: Alfred
10 months 3 days ago #93668

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

  • Posts: 3
  • Thank you received: 0
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.

-- Configuring incomplete, errors occurred!

New issue encountered, what could this mean?
Last edit: 9 months 1 week ago by Mahesh R.
9 months 1 week ago #94114

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

Master should compile and run fine. I just tested with TESTING On and no errors.

Regarding the issue above, looks like you have a package missing, on which OS is this? You need 22.04 or higher.
9 months 1 week ago #94139

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

Time to create page: 0.543 seconds