×

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

Bi-monthly release with minor bug fixes and improvements

Problem installing the indi meteostationWEB

  • Posts: 250
  • 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.
3 years 10 months ago #53371

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

  • Posts: 250
  • Thank you received: 3
I have to create the "build" folder in "indi" floder ?
3 years 10 months ago #53372

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

  • Posts: 1957
  • Thank you received: 420
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
Last edit: 3 years 10 months ago by Wouter van Reeven.
3 years 10 months ago #53374

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

  • Posts: 250
  • 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$ 
 
3 years 10 months ago #53377

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

  • Posts: 1957
  • Thank you received: 420
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.
3 years 10 months ago #53379

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

  • Posts: 250
  • 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: 3 years 10 months ago by Porchet.
3 years 10 months ago #53381

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

  • Posts: 250
  • 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.
3 years 10 months ago #53439

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

  • Posts: 1957
  • Thank you received: 420
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.
3 years 10 months ago #53440

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

  • Posts: 294
  • Thank you received: 54
Indi MeteoStation is under the INDI 3rd-party in GIT, not under the INDI core software. You can get it at github.com/indilib/indi-3rdparty, under indi-duino.

Depending on your sensor set (e.g. BME280, TSL2591 and MLX), you may want to consider the "Weather Radio" driver which, IMHO is improved from the previous MeteoStation.
3 years 10 months ago #53441

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

  • Posts: 250
  • Thank you received: 3
hello
so I found the arduino code, but it gives me a lot of errors when I want to upload it to the arduino.
And unfortunately I don't know how to do for the adapter or how to correct it to make it work.

Thanks for the info, but I got the sensors for the weather station, except I'm not going to put the light sensor on.
But if you tell me it might work, I'm interested.
But I'm not so good at installing with Linux, I'm just starting out.

The main objective is to get the weather station to intervene on the opening and closing of my observatory roof.
3 years 10 months ago #53454

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

  • Posts: 294
  • Thank you received: 54
I assume that you have the Arduino IDE already installed, if not, you can dowload it from www.arduino.cc/en/Main/Software for your platform (Windows, MAC, Linux,...).

Once you have all required parts (IDE, Arduino libraries for your sensors, MeteoStation firmware code,... you need to make the necessary changes in indiduinoMETEO.ino to reflect the sensors you are using and then compile for your MeteoStation platform (Arduino Nano, Uno, etc...). There should not be major compilation problems.

As mentioned on a previous post, read the MeteoStation related web pages and follow the relevant links. They contain useful info.

Bonne chance.
3 years 10 months ago #53456

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

  • Posts: 250
  • Thank you received: 3
then it is while wanting to compile with arduino IDE, because it marks me that there are things which do not go, of the blow, of the blow I cannot download it on board arduino.
but I think that normally it should install even if I'm not the right sensor.

I'm going to look again on the page, but not all simple to understand for me, because I go through the translator (like now) because my english is not so good anymore.
3 years 10 months ago #53457

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

Time to create page: 0.742 seconds