I tried to compile the Hitecastro driver on my rpi3, but then got an error when try 'make'. Here is what I wrote on GitHub. Maybe you know what's happening:
I have installed 'build essential' and libindi-dev.
I successfully issued the 'make .. ' command and got the following, I presume successful output (btw I've swapped FindINDI.cmake with another found at:
sourceforge.net/p/indi/code/HEAD/tree/tr...dules/FindINDI.cmake):
giorgio@astropi3:~/hitecastrodcfocuser/build$ cmake ..
-- The CXX compiler identification is GNU 5.4.0
-- The C compiler identification is GNU 5.4.0
-- 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
-- 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
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for module 'libindi'
-- Found libindi, version 1.3.1
-- Found INDI: /usr/include/libindi (found version "1.3.1")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/giorgio/hitecastrodcfocuser/build
At this point I tried issuing a 'make' but got the following message:
giorgio@astropi3:/hitecastrodcfocuser/build$ make
Scanning dependencies of target indi_hitecastrodcfocuser
[ 50%] Building CXX object CMakeFiles/indi_hitecastrodcfocuser.dir/hitecastrodcfocuser.cpp.o
In file included from /home/giorgio/hitecastrodcfocuser/hitecastrodcfocuser.cpp:21:0:
/home/giorgio/hitecastrodcfocuser/hitecastrodcfocuser.h:28:34: fatal error: indibase/indifocuser.h: No such file or directory
compilation terminated.
CMakeFiles/indi_hitecastrodcfocuser.dir/build.make:62: recipe for target 'CMakeFiles/indi_hitecastrodcfocuser.dir/hitecastrodcfocuser.cpp.o' failed
make[2]: *** [CMakeFiles/indi_hitecastrodcfocuser.dir/hitecastrodcfocuser.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/indi_hitecastrodcfocuser.dir/all' failed
make[1]: *** [CMakeFiles/indi_hitecastrodcfocuser.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
giorgio@astropi3:/hitecastrodcfocuser/build$
It seems file indibase/indifocuser.h cannot be found, but I can see it in /usr/include/libindi/ .