CMake changes, libindi and KStrars
Yuri Chornoivan
yurchor at ukr.net
Thu Dec 6 12:10:43 GMT 2018
Hi,
It seems that some recent changes in CMake lead to breakage of KStars compilation on Jenkins and recent Linux-based systems (like Mageia 7 with CMake 3.13.1).
https://build.kde.org/job/Extragear/job/kstars/
On the old systems (Mageia 6, gcc 5.5, CMake 3.10) everything works fine.
Examples:
FreeBSD on CI:
https://build.kde.org/job/Extragear/job/kstars/job/kf5-qt5%20FreeBSDQt5.11/173/consoleFull
08:13:27 -- Checking for module 'libindi'
08:13:29 -- Package 'libindi', required by 'virtual:world', not found
08:13:30 * INDI (required version >= 1.7.1), Astronomical instrumentation control, <http://www.indilib.org>
08:13:30 Support for controlling astronomical devices on Linux with KStars.
But
08:14:26 /usr/home/jenkins/workspace/Extragear/kstars/kf5-qt5 FreeBSDQt5.11/kstars/ekos/manager.h:15:10: fatal error: 'libindi/baseclient.h' file not found
08:14:26 #include <libindi/baseclient.h>
or in earlier build
/usr/home/jenkins/workspace/Extragear/kstars/kf5-qt5 FreeBSDQt5.11/kstars/ekos/manager.h:15:10: fatal error: 'baseclient.h' file not found
Mageia 7 (gcc 8.2.1, CMake 8.2.1, libindi 1.7.4):
-- Checking for module 'libindi'
-- Found libindi, version 1.7.4
But later
-- The following OPTIONAL packages have not been found:
* INDI (required version >= 1.7.1), Astronomical instrumentation control, <http://www.indilib.org>
Support for controlling astronomical devices on Linux with KStars.
then compiles file with #include <libindi/baseclient.h> and fails with
/kstars/kstars/ekos/manager.h:18:10: критична помилка: ui_manager.h: No such file or directory
#include "ui_manager.h"
^~~~~~~~~~~~~~
because INDI was not found and CMake did not generate ui_manager.h.
Does anybody know how this can be fixed?
Thanks in advance for your advice.
Best regards,
Yuri
More information about the Kstars-devel
mailing list