Dear Radek!
First of all, I'd like to say a great thanks for your work on Astroberry Server and Astroberry DIY.
I have an RPI 3 model B+ with Raspbian, and I wanted to install the Astroberry focuser with cmake, following the installation instructions, but I always got this error message:
Scanning dependencies of target indi_rpifocus
[ 93%] Building CXX object CMakeFiles/indi_rpifocus.dir/rpi_focus.o
/home/pi/astroberry-diy/rpi_focus.cpp: In member function :
/home/pi/astroberry-diy/rpi_focus.cpp:212:73: error: was not declared in this scope
SetFocuserCapability(FOCUSER_CAN_ABS_MOVE | FOCUSER_CAN_REL_MOVE);
^
CMakeFiles/indi_rpifocus.dir/build.make:62: recipe for target 'CMakeFiles/indi_rpifocus.dir/rpi_focus.o' failed
make[2]: *** [CMakeFiles/indi_rpifocus.dir/rpi_focus.o] Error 1
CMakeFiles/Makefile2:215: recipe for target 'CMakeFiles/indi_rpifocus.dir/all' failed
make[1]: *** [CMakeFiles/indi_rpifocus.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
Earlier the Astroberry Focuser worked perfectly in Kstars installed on my RPI2 with Ubuntu Mate, but unfortunately the SD card injured, and the whole setup destroyed. I don't remember, how I installed the working focuser driver, but when I tried to compile the driver, I got the same error message.
Please help me to solve this problem! (I am a really-really end-user :-) ).
Thanks in advance
Gabor