You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fatal error: libs/indiclient/baseclient.h: No such file or directoryΒ #4019
In file included from /build/stellarium/src/build/plugins/TelescopeControl/src/INDI/TelescopeControl_INDI_autogen/EWIEGA46WW/moc_INDIConnection.cpp:9,
from /build/stellarium/src/build/plugins/TelescopeControl/src/INDI/TelescopeControl_INDI_autogen/mocs_compilation.cpp:2:
/build/stellarium/src/build/plugins/TelescopeControl/src/INDI/TelescopeControl_INDI_autogen/EWIEGA46WW/../../../../../../../stellarium-24.4/plugins/TelescopeControl/src/INDI/INDIConnection.hpp:23:10: fatal error: libs/indiclient/baseclient.h: No such file or directory
23 | #include <libs/indiclient/baseclient.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Actually, there is a bug in my patch: pkg-config returns a bogus value, because libindi.pc doesn't actually contain -lindiclient. But the imported cmake target is not used anyway, because this target (neither its alias) is not visible from plugins/TelescopeControl/CMakeLists.txt, in which target_link_libraries(TelescopeControl_INDI indiclient) turns into -lindiclient which happens to be exactly what we needed.
So, for downstream, simply removing all that indi code from src/external/CMakeLists.txt is enough.
Activity
alex-w commentedon Dec 23, 2024
Hmm⦠@DarthGandalf, has Gentoo same problem?
DarthGandalf commentedon Dec 23, 2024
I haven't tried to package the newly released version yet, will try soon and report.
DarthGandalf commentedon Dec 23, 2024
But the libs/ prefix in that include looks suspicious.
alex-w commentedon Dec 23, 2024
Please see cmake code for INDI - itβs an expectedβ¦
P.S. My distro doesnβt have 2.x.x INDI yetβ¦
DarthGandalf commentedon Dec 23, 2024
That file is called /usr/include/libindi/baseclient.h here
Well, using indi without installing it first is messy
DarthGandalf commentedon Dec 23, 2024
Here's the patch I'll apply downstream
Need to think how to adapt this for upstream.
arjendekorte commentedon Dec 23, 2024
Same problem on openSUSE Tumbleweed (libindi-2.1.1). The above patch seems to at least fix the build (I don't have a telescope to test with though).
DarthGandalf commentedon Dec 23, 2024
Actually, there is a bug in my patch: pkg-config returns a bogus value, because libindi.pc doesn't actually contain
-lindiclient. But the imported cmake target is not used anyway, because this target (neither its alias) is not visible fromplugins/TelescopeControl/CMakeLists.txt, in whichtarget_link_libraries(TelescopeControl_INDI indiclient)turns into-lindiclientwhich happens to be exactly what we needed.So, for downstream, simply removing all that indi code from src/external/CMakeLists.txt is enough.
Include correct indi headers (#4025)
github-actions commentedon Dec 29, 2024
Hello @carlosal1015!
Please check the fresh version (development snapshot) of Stellarium:
https://github.com/Stellarium/stellarium-data/releases/tag/weekly-snapshot
github-actions commentedon Mar 23, 2025
Hello @carlosal1015!
Please check the latest stable version of Stellarium:
https://github.com/Stellarium/stellarium/releases/latest