We only want to read the position of a telescop. Not to drive it.
RA and DEC are calculated by a Python program, reading barcodes on pictures. Files attached show two examples of pictures.
The picture is taken by a camera on a Raspberry Pi 3.
On Raspberry number 1 (Ubuntu Mate), we installed KStars, Indi Server, Indi driver, and the Python program which measures RA.
On Raspberry number 2, we installed the Python program which measures DEC.
Python program number 2 sends DEC value to Python program number 1. This is ok. So Python program number 1 has RA and DEC numeric values.
Raspberry number 1 must send RA and DEC numeric values to Indi driver. We decided to implement a TCP communication between the C++ Indi driver and the Python program. A simple way to implement TCP communication consists in using zeromq dynamic library.
Is it possible to build Indi driver including zeromq library ?
This is what I do not understand. If you do not intend to drive the mount, then why are sending RA/DE values to INDI driver? What will INDI driver do with RA/DE values?
Ok in that case you can link to any libraries. It's done in CMakeLists.txt. You need to make an INDI driver like those in 3rd party (check EQMod for an example), and then simply add your library to target_link_libraries. You probably want to find if there is FindZeroMQ.cmake file out there that detects the library on the system. If it doesn't exist, then create your own (find others in cmake_modules subdirectory).