×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

help in very first indi driver

  • Posts: 6
  • Thank you received: 0
Hello, I'm new to INDI development. I'm trying to build my first driver following the tutorial step by step but I'm experiencing some issues.
If I CMAKE as in tutorial I got the following:

-- The C compiler identification is GNU 6.3.0
-- The CXX compiler identification is GNU 6.3.0
-- 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
-- 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.7/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake-3.7/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.7/Modules/FindZLIB.cmake:114 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:132 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/ekos/Projects/CMakeFiles/CMakeOutput.log".
See also "/home/ekos/Projects/CMakeFiles/CMakeError.log".


If I try to CMAKE in the examples/tutorial_one folder the CMAKE works fine, withour errors, but I can't install (make install):
make: *** No rule to make target 'install'. Stop.

Can anybody help me? I'm probably missing something important...
Thank you very much
6 years 11 months ago #16403

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

Which tutorial are you following?
6 years 11 months ago #16404

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

  • Posts: 6
  • Thank you received: 0
A tutorial that I found on this forum about a similar topic. The same that you find at the following link:
indilib.org/develop/tutorials.html

I forgot something: I'm working on VM ekos

Thank you
Last edit: 6 years 11 months ago by Massimiliano.
6 years 11 months ago #16406

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

Install pre-requisites:
sudo apt-get install cdbs libcfitsio3-dev libnova-dev libusb-1.0-0-dev libjpeg-dev libusb-dev libtiff5-dev libftdi-dev fxload libkrb5-dev libcurl4-gnutls-dev libraw-dev libgphoto2-dev libgsl0-dev dkms libboost-regex-dev libgps-dev libdc1394-22-dev
6 years 11 months ago #16411

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

  • Posts: 6
  • Thank you received: 0
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libgsl-dev' instead of 'libgsl0-dev'
Package libcfitsio3-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libcfitsio-dev:i386 libcfitsio-dev

E: Package 'libcfitsio3-dev' has no installation candidate


I try to follow the suggestions
Last edit: 6 years 11 months ago by Massimiliano.
6 years 11 months ago #16412

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

  • Posts: 6
  • Thank you received: 0
I've done what the apt-get said. now it's working!!
Thank you!
6 years 11 months ago #16413

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

Time to create page: 0.575 seconds