×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

How to disable fits viewer in EKOS

  • Posts: 157
  • Thank you received: 19

I got a cmake error when trying to build kstars:

CMake Error at icons/CMakeLists.txt:1 (ecm_install_icons):
Unknown CMake command "ecm_install_icons".


CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as

cmake_minimum_required(VERSION 3.10)

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!
See also "/home/jmh/Devel/kstars/build/kstars/CMakeFiles/CMakeOutput.log".

The os is ubuntu 18.04:

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.1 LTS"

cmake version is 3.10.2
5 years 4 months ago #31473

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

  • Posts: 111
  • Thank you received: 41
Have you tried first installing all required DEB packages. There exists the simple command:
sudo apt-get build-dep kstars
which installs all required packages for building kstars on your system.
5 years 4 months ago #31477

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

  • Posts: 1957
  • Thank you received: 420
I used to get the same error when the build directory is created inside the KStars source directory. If you created it along side of it the error disappears. By the way, it isn’t stated with so much words, but the install or readme or whatever it is called does suggest to not put the build inside the source directory but I had to read it several times before I realised this.


Cheers, Wouter
The following user(s) said Thank You: fmozza
5 years 4 months ago #31480

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

  • Posts: 157
  • Thank you received: 19

All the packages are installed as per the INSTALL files. What should be in the sources.list file for kstars?

jmh
5 years 4 months ago #31481

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

  • Posts: 157
  • Thank you received: 19

When I first encountered this error, I removed all the bits and followed the instructions verbatim in the install, and still got the same error. I confirmed that all the packages are installed. I also tried "apt-get build-dep kstars" but don't know what to put into sources.list.

jmh
5 years 4 months ago #31483

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

  • Posts: 157
  • Thank you received: 19

Worked! When I first tried this, I had a trailing '/' on the kstars source directory - removed this and it's building!

Thanks!

jmh
5 years 4 months ago #31485

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

  • Posts: 1009
  • Thank you received: 133

Strange. I just built an rpm package of the latest git version, an for rpmbuild it's default to place the build tree in the source tree. Never had an issue with this. But Tumblewed has cmake 3.12....
5 years 4 months ago #31486

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

  • Posts: 2876
  • Thank you received: 809

Here is how I configure PHD2 on a raspberry Pi to not need an INDI driver for a ZWO camera (so that it doesn't have to send guide images over the network), to use the ZWO ST4 guiding cable to send the guide commands, but to still benefit from pointing information from INDI.
5 years 4 months ago #31487
Attachments:

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

  • Posts: 157
  • Thank you received: 19

Fixed! Works well.

Thanks!

jmh
5 years 4 months ago #31489

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

  • Posts: 257
  • Thank you received: 22
@rlancasteNeat! I'll have to try that with the Odroid sometime.

@knro
I just looked at Kstars INSTALL and I think it could really use an update. I've not gotten Kstars to compile either but didn't want to bug anyone about it. (re:not a programmer :P)
Last edit: 5 years 4 months ago by Ray Wells.
5 years 4 months ago #31490

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

  • Posts: 157
  • Thank you received: 19

After getting everything built, and I took a look at the instructions again, and they are correct. My problem was PEBCAK where I was installing bits on one VM and trying to compile on another, thinking I was on the same machine... need stronger coffee before I touch the keyboard.

jmh
5 years 4 months ago #31492

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

  • Posts: 2876
  • Thank you received: 809
I do believe this discussion thread is now not about the original topic at all, but is now about several different topics at the same time.
5 years 4 months ago #31494

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

Time to create page: 1.527 seconds