Massimiliano created a new topic ' help in very first indi driver' in the forum. 7 years ago

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

Read More...