Build Issues on mjpg-streamer-experimental

I have build issues when I go through the directions on installing software support for the Arducam Autofocus camera on OctoPi build of Raspian. Its Raspian Release 10 by the way. I am uncertain if this is the core issue or not.

I get the following on a build command:

Blockquote [email protected]:~/mjpg-streamer-libcamera/mjpg-streamer-experimental $ make

[ -d _build ] || mkdir _build

[ -f _build/Makefile ] || (cd _build && cmake -DCMAKE_BUILD_TYPE=Release …)

make -C _build

make[1]: Entering directory ‘/home/pi/mjpg-streamer-libcamera/mjpg-streamer-experimental/_build’

make[2]: Entering directory ‘/home/pi/mjpg-streamer-libcamera/mjpg-streamer-experimental/_build’

make[3]: Entering directory ‘/home/pi/mjpg-streamer-libcamera/mjpg-streamer-experimental/_build’

make[3]: Leaving directory ‘/home/pi/mjpg-streamer-libcamera/mjpg-streamer-experimental/_build’

[ 10%] Built target mjpg_streamer

make[3]: Entering directory ‘/home/pi/mjpg-streamer-libcamera/mjpg-streamer-experimental/_build’

make[3]: Leaving directory ‘/home/pi/mjpg-streamer-libcamera/mjpg-streamer-experimental/_build’

[ 17%] Built target input_file

make[3]: Entering directory ‘/home/pi/mjpg-streamer-libcamera/mjpg-streamer-experimental/_build’

make[3]: Leaving directory ‘/home/pi/mjpg-streamer-libcamera/mjpg-streamer-experimental/_build’

[ 31%] Built target input_http

make[3]: Entering directory ‘/home/pi/mjpg-streamer-libcamera/mjpg-streamer-experimental/_build’

make[3]: Leaving directory ‘/home/pi/mjpg-streamer-libcamera/mjpg-streamer-experimental/_build’

[ 37%] Built target input_raspicam

make[3]: Entering directory ‘/home/pi/mjpg-streamer-libcamera/mjpg-streamer-experimental/_build’

make[3]: Leaving directory ‘/home/pi/mjpg-streamer-libcamera/mjpg-streamer-experimental/_build’

[ 55%] Built target input_uvc

make[3]: Entering directory ‘/home/pi/mjpg-streamer-libcamera/mjpg-streamer-experimental/_build’

make[3]: Leaving directory ‘/home/pi/mjpg-streamer-libcamera/mjpg-streamer-experimental/_build’

make[3]: Entering directory ‘/home/pi/mjpg-streamer-libcamera/mjpg-streamer-experimental/_build’

[ 58%] Building CXX object plugins/input_libcamera/CMakeFiles/input_libcamera.dir/input_libcamera.cpp.o

/home/pi/mjpg-streamer-libcamera/mjpg-streamer-experimental/plugins/input_libcamera/input_libcamera.cpp: In function ‘int input_cmd(int, unsigned int, unsigned int, int)’:

/home/pi/mjpg-streamer-libcamera/mjpg-streamer-experimental/plugins/input_libcamera/input_libcamera.cpp:480:31: error:AfTrigger’ is not a member of ‘libcamera::controls

controls_.set(controls::AfTrigger, 0);

^~~~~~~~~

/home/pi/mjpg-streamer-libcamera/mjpg-streamer-experimental/plugins/input_libcamera/input_libcamera.cpp:480:31: note: suggested alternative:

In file included from /home/pi/mjpg-streamer-libcamera/mjpg-streamer-experimental/plugins/input_libcamera/LibCamera.h:21,

from /home/pi/mjpg-streamer-libcamera/mjpg-streamer-experimental/plugins/input_libcamera/input_libcamera.cpp:31:

/usr/include/libcamera/libcamera/control_ids.h:140:31: note:libcamera::controls::draft::AfTrigger

extern const Control<int32_t> AfTrigger;

^~~~~~~~~

make[3]: *** [plugins/input_libcamera/CMakeFiles/input_libcamera.dir/build.make:63: plugins/input_libcamera/CMakeFiles/input_libcamera.dir/input_libcamera.cpp.o] Error 1

make[3]: Leaving directory ‘/home/pi/mjpg-streamer-libcamera/mjpg-streamer-experimental/_build’

make[2]: *** [CMakeFiles/Makefile2:483: plugins/input_libcamera/CMakeFiles/input_libcamera.dir/all] Error 2

make[2]: Leaving directory ‘/home/pi/mjpg-streamer-libcamera/mjpg-streamer-experimental/_build’

make[1]: *** [Makefile:130: all] Error 2

make[1]: Leaving directory ‘/home/pi/mjpg-streamer-libcamera/mjpg-streamer-experimental/_build’

make: *** [Makefile:19: all] Error 2

[email protected]:~/mjpg-streamer-libcamera/mjpg-streamer-experimental $