ok thank you very much! I think those new declarations go under public, that works for me.

Read More...

I'm sorry I'm still missing something... Actually I'm totally new to INDI. I read all tutorials but I still can't figure out how to add a property.
Let's take the tutorial one: if I want to add a property "stupidmessage" as switch, for example, to the SimpleDevice, what I have to do?
I try to open (and modify something) SimpleDevice.h but It's still not clear looking at this.
Thanks a lot.

Read More...

Massimiliano replied to the topic 'help in very first indi driver' in the forum. 7 years ago

I've done what the apt-get said. now it's working!!
Thank you!

Read More...

Massimiliano replied to the topic 'help in very first indi driver' in the forum. 7 years ago

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

Read More...

Massimiliano replied to the topic 'help in very first indi driver' in the forum. 7 years ago

A tutorial that I found on this forum about a similar topic. I should be able to find it in my chronology if it's useful.
Is there any official or updated practical tutorial?

Read More...

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...