CMake changes, libindi and KStrars

Yuri Chornoivan yurchor at ukr.net
Thu Dec 6 12:28:30 GMT 2018



6 грудня 2018, 14:18:59, від "Jasem Mutlaq" <mutlaqja at ikarustech.com>:

> Ok this is not a solution, but does anything change if we pump libindi minimum version to 1.7.5 ?

No. fitstab.cpp still requires ekos/manager.h and manager.h requires ui_manager.h which cannot be generated because libindi (INDI_FOUND) is not found.

Best regards,
Yuri
> 
> --
> Best Regards,
> Jasem Mutlaq
> 
> 
> 
> On Thu, Dec 6, 2018 at 3:10 PM Yuri Chornoivan <yurchor at ukr.net> wrote:
> > 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