×

INDI Library v1.9.0 Released (23 Apr 2021)

Major INDI Library release v1.9.0 bring significant internal changes championed by @pawel-soja to modernize core INDI Library drivers and clients. New drivers for DeepSkyDad Flat Panel & Pegasus devices plus further improvements to PCM8 drivers.

Problem installing the indi meteostationWEB

  • Posts: 173
  • Thank you received: 3
Hello

I have a problem, I can't install it the way it's supposed to.



<code>Make sure you have giyclient and cmake installed in your system. Also install libcfitsio3-dev and libusb-dev libraries that indilib depends on.

Then:
#mkdir INDI
#cd INDI
#git clone github.com/indilib/indi.git
(this will download all INDI sources and copy in a directory called indi)
#mkdir build
#cd build
#mkdir libindi indi-duino
#cd libindi
#cmake ../../indi-code/libindi
#make
#sudo make install
(this will build libindi and install under /usr/local/)
#cd ..
#cd indi-duino
#cmake ../../indi-code/3party/indi-duino
#make
#sudo make install
(this will build indi-duino and install under /usr/local/bin.
The skeletons files will install in /usr/local/share/indi)

Testing. Start indiserver using FIFO.
#mkfifo /tmp/INDIFIFO
#indiserver -f /tmp/INDIFIFO
(see more details in indilib.org/index.php?title=INDI_Server)
#echo start indi_duino -n \"Device Switcher\" -s \"/usr/local/share/indi/switcher_sk.xml\" >/tmp/INDIFIFO
alternative you can start indiserver in the tradicional way setting before INDISKEL
#export INDISKEL="/usr/local/share/indi/switcher_sk.xml"
#indiserver indi_duino </code>



and here's the problem I have when I'm doing
cmake ../../indi-code/libindi

<code>
christophe@HP-Linux:~/INDI/build/libindi$ cmake ../../indi-code/libindi
CMake Error: The source directory "/home/christophe/INDI/indi-code/libindi" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.

</code>

Do you have any idea why?

Thank you
Last edit: 1 year 1 week ago by Porchet.
1 year 1 month ago #53296

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

  • Posts: 122
  • Thank you received: 25
For the core of indi :
<code>
mkdir -p ~/Src/indi/indi-core/
cd ~/Src/indi/indi-core/
git clone "github.com/indilib/indi.git"
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug ../
make -j4
sudo make install
</code>
Then for the indi-duino :
<code>
mkdir -p ~/Src/indi/indi-3rdparty
cd ~/Src/indi/indi-3rdparty
git clone github.com/indilib/indi-3rdparty.git
cd indi-duino
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug ../
make -j4
sudo make install
</code>
Last edit: 1 year 1 month ago by Marc.
1 year 1 month ago #53321

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

  • Posts: 173
  • Thank you received: 3
hello
So sorry, but it's not working.
or else I'm wrong.
Are you on command lines?
because after this command line
git clone https://github.com/indilib/indi.git
mkdir build
cd build

but then that command doesn't work.
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug ../

so what am I supposed to do?
Last edit: 1 year 1 month ago by Porchet.
1 year 1 month ago #53342

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

  • Posts: 1929
  • Thank you received: 413
When you issue

#git clone github.com/indilib/indi.git

it will create a directory called "indi" containing all source code. Then you do

#mkdir build
#cd build
#mkdir libindi indi-duino
#cd libindi
#cmake ../../indi-code/libindi

but the directory "indi-code" doesn't exist. That last line should be

#cmake ../../indi/libindi


HTH, Wouter
Wouter van Reeven

ASI6200MM and 7 slot 2" filter wheel with a SkyWatcher Esprit 80 ED on a SkyWatcher HEQ5-Pro
ASI1600MM-Pro Cooled and 5 slot 1.25" filter wheel with an 8" TS Ritchey-Chrétien on a SkyWatcher EQ6-R
1 year 1 month ago #53352

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

  • Posts: 173
  • Thank you received: 3
Hello
I always get an error message
christophe@HP-Linux:~/build/libindi$ cmake ../../indi/libindi
CMake Error: The source directory "/home/christophe/indi/libindi" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
1 year 1 month ago #53371

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

  • Posts: 173
  • Thank you received: 3
I have to create the "build" folder in "indi" floder ?
1 year 1 month ago #53372

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

  • Posts: 1929
  • Thank you received: 413
The build directory should be created outside of the indi directory. Repeating Marc's instructions and having corrected them a bit:
mkdir -p ~/Src/indi/indi-core/
cd ~/Src/indi/indi-core/
git clone https://www.github.com/indilib/indi.git
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug ../indi
make -j4
sudo make install
Wouter van Reeven

ASI6200MM and 7 slot 2" filter wheel with a SkyWatcher Esprit 80 ED on a SkyWatcher HEQ5-Pro
ASI1600MM-Pro Cooled and 5 slot 1.25" filter wheel with an 8" TS Ritchey-Chrétien on a SkyWatcher EQ6-R
Last edit: 1 year 1 month ago by Wouter van Reeven.
1 year 1 month ago #53374

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

  • Posts: 173
  • Thank you received: 3
I'm still having a problem installing
christophe@HP-Linux:~/Src/indi/indi-core/build$ make -j4
make: *** Pas de cible spécifiée et aucun makefile n'a été trouvé. Arrêt.
christophe@HP-Linux:~/Src/indi/indi-core/build$ sudo make install
[sudo] Mot de passe de christophe : 
make: *** Aucune règle pour fabriquer la cible « install ». Arrêt.
christophe@HP-Linux:~/Src/indi/indi-core/build$ 

the installation from the beginning
christophe@HP-Linux:~$ mkdir -p ~/Src/indi/indi-core/
christophe@HP-Linux:~$ cd ~/Src/indi/indi-core/
christophe@HP-Linux:~/Src/indi/indi-core$ git clone https://www.github.com/indilib/indi.git
Clonage dans 'indi'...
warning: redirection vers https://github.com/indilib/indi.git/
remote: Enumerating objects: 51, done.
remote: Counting objects: 100% (51/51), done.
remote: Compressing objects: 100% (40/40), done.
remote: Total 60988 (delta 23), reused 25 (delta 11), pack-reused 60937
Réception d'objets: 100% (60988/60988), 392.72 MiB | 11.75 MiB/s, fait.
Résolution des deltas: 100% (46635/46635), fait.
christophe@HP-Linux:~/Src/indi/indi-core$ mkdir build
christophe@HP-Linux:~/Src/indi/indi-core$ cd build
christophe@HP-Linux:~/Src/indi/indi-core/build$ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug ../indi
-- The C compiler identification is GNU 9.2.1
-- The CXX compiler identification is GNU 9.2.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test COMPATIBLE_FORTIFY_SOURCE
-- Performing Test COMPATIBLE_FORTIFY_SOURCE - Success
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
CMake Error at /usr/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
Call Stack (most recent call first):
  /usr/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-3.13/Modules/FindZLIB.cmake:114 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:161 (find_package)
 
 
-- Configuring incomplete, errors occurred!
See also "/home/christophe/Src/indi/indi-core/build/CMakeFiles/CMakeOutput.log".
See also "/home/christophe/Src/indi/indi-core/build/CMakeFiles/CMakeError.log".
christophe@HP-Linux:~/Src/indi/indi-core/build$ make -j4
make: *** Pas de cible spécifiée et aucun makefile n'a été trouvé. Arrêt.
christophe@HP-Linux:~/Src/indi/indi-core/build$ sudo make install
[sudo] Mot de passe de christophe : 
make: *** Aucune règle pour fabriquer la cible « install ». Arrêt.
christophe@HP-Linux:~/Src/indi/indi-core/build$ 
 
1 year 1 month ago #53377

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

  • Posts: 1929
  • Thank you received: 413
You are missing the required packages that are needed to build indi. Have a look at the README.md file in the ~/Src/indi/indi-core/indi directory which tells you exactly what to install and what steps to follow to build libindi. You can also look here:

github.com/indilib/indi

and scroll down to the Building section.
Wouter van Reeven

ASI6200MM and 7 slot 2" filter wheel with a SkyWatcher Esprit 80 ED on a SkyWatcher HEQ5-Pro
ASI1600MM-Pro Cooled and 5 slot 1.25" filter wheel with an 8" TS Ritchey-Chrétien on a SkyWatcher EQ6-R
1 year 1 month ago #53379

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

  • Posts: 173
  • Thank you received: 3
hello
so it's working, I must have missed something in the preinstall packages.
sudo apt-get install -y libnova-dev libcfitsio-dev libusb-1.0-0-dev zlib1g-dev libgsl-dev build-essential cmake git libjpeg-dev libcurl4-gnutls-dev libtiff-dev libfftw3-dev

But I can't find the arduino code to install on the arduino card?
Last edit: 1 year 1 month ago by Porchet.
1 year 1 month ago #53381

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

  • Posts: 173
  • Thank you received: 3
Seriously guys, where to find the code to install the arduino card, I can't find it!

I must be lame or blind, but I can't find it.
1 year 1 month ago #53439

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

  • Posts: 1929
  • Thank you received: 413
At the bottom of the INDI Meteo Station page

indilib.org/develop/arduino/meteostation.html

is a link to a blog post with what looks like all you need.
Wouter van Reeven

ASI6200MM and 7 slot 2" filter wheel with a SkyWatcher Esprit 80 ED on a SkyWatcher HEQ5-Pro
ASI1600MM-Pro Cooled and 5 slot 1.25" filter wheel with an 8" TS Ritchey-Chrétien on a SkyWatcher EQ6-R
1 year 1 month ago #53440

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

Time to create page: 0.979 seconds