Welcome, Guest
Username: Password: Remember me
27 Feb 2017
INDI development team is happy to announce the release of INDI Library v1.4.0. This new exciting release builds on the maturity of INDI Library and comes with many new supported devices and fixes for existing drivers. Several improvements and enhancements are included in this release including native support for Cygwin and MacOS platforms in addition to Linux, BSD, and Windows (Client only).
Read More...
  • Page:
  • 1

TOPIC: HOWTO: Building latest libindi & Ekos

HOWTO: Building latest libindi & Ekos 3 years 7 months ago #337

The following instructions are only applicable to desktop Linux. For Raspberry PI, download the daily-built Raspberry PI package .

1. Ubuntu

Packages are already available for Ubuntu 15.04 or newer ONLY as Ekos now depends on KDE Frameworks 5.10+:

Ubuntu 15.04+: x86, x64, and ARMHF versions avaiable:
$ sudo apt-add-repository ppa:mutlaqja/ppa
$ sudo apt-get update

If you have Ubuntu 15.04 or higher, you can install kstars-bleeding which will install KStars, Ekos, libindi, and all 3rd party drivers.
$ sudo apt-get install kstars-bleeding

It is highly recommended to install the debug symbols as well to help diagnosing any issues with KStars/Ekos
$ sudo apt-get install kstars-bleeding-dbg indi-dbg

If you plan to use the CCD Simulator, you should download the General Star Catalog (GSC) as it is used to generate the simulated star maps
$ sudo apt-get install gsc

2. Astrometry.net solver

Astrometry.net should already be installed after installing kstars-bleeding. To use it in offline mode (no internet connection required), you need to download index files suitable for your field-of-view (FOV). After installing the index files, edit the astrometry configuration file:
sudo kate /etc/astrometry.cfg

And make sure the add_path points to the correct data directory. It should be as following:
add_path /usr/share/astrometry

3. Building INDI from Source

To build libindi, first install the following packages:
$ sudo apt-get install libnova-dev libcfitsio3-dev libusb-1.0-0-dev zlib1g-dev libgsl0-dev build-essential cmake git libjpeg-dev libcurl4-gnutls-dev

Now that all the prerequisites are installed, you are ready to build libindi:
mkdir ~/Projects
cd ~/Projects
git clone https://github.com/indilib/indi.git
mkdir -p build/libindi
cd build/libindi
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug ~/Projects/indi/libindi
sudo make install

To update the libindi source code in the future, just go libindi source directory (e.g. ~/Projects/libindi) and type git pull. After the code is updated, go to the build/libindi directory and run sudo make install.

4. Building 3rd party INDI drivers

Some INDI drivers are only available as 3rd party modules (such as EQMod and all CCD drivers). To build and install 3rd party drivers:
cd ~/Projects
mkdir -p build/indi-eqmod
cd build/indi-eqmod
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug ~/Projects/indi/3rdparty/indi-eqmod

Then follow the detailed instructions in README.

5. Building KStars from Source

Assuming you built and installed libindi as instructed above, you can proceed to build KStars from source. You need to install the following packages:

sudo apt-get install build-essential cmake git libeigen3-dev libcfitsio-dev zlib1g-dev libindi-dev extra-cmake-modules libkf5plotting-dev libqt5svg5-dev libkf5xmlgui-dev kio-dev kinit-dev libkf5newstuff-dev kdoctools-dev libkf5notifications-dev qtdeclarative5-dev libkf5crash-dev gettext


Now that all the prerequisites are installed, you are ready to build KStars:
$ mkdir ~/Projects/build/kstars
$ cd ~/Projects
$ git clone git://anongit.kde.org/kstars.git
$ cd build/kstars
$ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug ~/Projects/kstars
$ make
$ sudo make install

To update the KStars source code in the future, just go KStars source directory (~/Projects/kstars) and type git pull. After the code is updated, go to the build/kstars directory and run sudo make install.
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Last Edit: by knro.
The topic has been locked.
  • Page:
  • 1
Time to create page: 0.147 seconds

Login

3rd Party

Choose from the numerous 3rd party INDI drivers to suit your needs!

Got Problem?

Check out the FAQ, the forum, and the bug tracking system to resolve any issues you might have!
You can also subscribe to INDI newsletter and development mailing lists to get the latest updates on INDI!

Gallery

Replica

Why INDI

Replica