/home/dev/libcamera-cpp-demo/main.cpp: In function ‘int main()’:
/home/dev/libcamera-cpp-demo/main.cpp:49:40: error: ‘AfMode’ is not a member of ‘libcamera::controls’; did you mean ‘AwbMode’?
49 | controls.set(controls::AfMode, controls::AfModeAuto);
| ^~
| AwbMode
/home/dev/libcamera-cpp-demo/main.cpp:49:58: error: ‘AfModeAuto’ is not a member of ‘libcamera::controls’
49 | controls.set(controls::AfMode, controls::AfModeAuto);
| ^~~~~~
/home/dev/libcamera-cpp-demo/main.cpp:50:40: error: ‘AfTrigger’ is not a member of ‘libcamera::controls’; did you mean ‘libcamera::controls::draft::AfTrigger’?
50 | controls.set(controls::AfTrigger, 0);
| ^~~~~
In file included from /home/dev/libcamera-cpp-demo/LibCamera.h:19,
from /home/dev/libcamera-cpp-demo/main.cpp:6:
/usr/include/libcamera/libcamera/control_ids.h:139:31: note: ‘libcamera::controls::draft::AfTrigger’ declared here
139 | extern const Control AfTrigger;
| ^~~~~
/home/dev/libcamera-cpp-demo/main.cpp:61:40: error: ‘AfMode’ is not a member of ‘libcamera::controls’; did you mean ‘AwbMode’?
61 | controls.set(controls::AfMode, controls::AfModeManual);
| ^~
| AwbMode
/home/dev/libcamera-cpp-demo/main.cpp:61:58: error: ‘AfModeManual’ is not a member of ‘libcamera::controls’
61 | controls.set(controls::AfMode, controls::AfModeManual);
| ^~~~
/home/dev/libcamera-cpp-demo/main.cpp:62:28: error: ‘LensPosition’ is not a member of ‘libcamera::controls’
62 | controls.set(controls::LensPosition, lens_position);
| ^~~~
make[2]: [CMakeFiles/libcamera-demo.dir/build.make:82: CMakeFiles/libcamera-demo.dir/main.cpp.o] Error 1
make[1]: [CMakeFiles/Makefile2:95: CMakeFiles/libcamera-demo.dir/all] Error 2
make: *** [Makefile:103: all] Error 2
b
/home/dev/libcamera-cpp-demo/main.cpp: In function ‘int main()’: /home/dev/libcamera-cpp-demo/main.cpp:49:40: error: ‘AfMode’ is not a member of ‘libcamera::controls’; did you mean ‘AwbMode’? 49 | controls.set(controls::AfMode, controls::AfModeAuto); | ^ AfTrigger;
| ^
~| AwbMode /home/dev/libcamera-cpp-demo/main.cpp:49:58: error: ‘AfModeAuto’ is not a member of ‘libcamera::controls’ 49 | controls.set(controls::AfMode, controls::AfModeAuto); | ^~~~~~ /home/dev/libcamera-cpp-demo/main.cpp:50:40: error: ‘AfTrigger’ is not a member of ‘libcamera::controls’; did you mean ‘libcamera::controls::draft::AfTrigger’? 50 | controls.set(controls::AfTrigger, 0); | ^~~~~ In file included from /home/dev/libcamera-cpp-demo/LibCamera.h:19, from /home/dev/libcamera-cpp-demo/main.cpp:6: /usr/include/libcamera/libcamera/control_ids.h:139:31: note: ‘libcamera::controls::draft::AfTrigger’ declared here 139 | extern const Control~~~~ /home/dev/libcamera-cpp-demo/main.cpp:61:40: error: ‘AfMode’ is not a member of ‘libcamera::controls’; did you mean ‘AwbMode’? 61 | controls.set(controls::AfMode, controls::AfModeManual); | ^~| AwbMode /home/dev/libcamera-cpp-demo/main.cpp:61:58: error: ‘AfModeManual’ is not a member of ‘libcamera::controls’ 61 | controls.set(controls::AfMode, controls::AfModeManual); | ^~~~ /home/dev/libcamera-cpp-demo/main.cpp:62:28: error: ‘LensPosition’ is not a member of ‘libcamera::controls’ 62 | controls.set(controls::LensPosition, lens_position); | ^~~~ make[2]: [CMakeFiles/libcamera-demo.dir/build.make:82: CMakeFiles/libcamera-demo.dir/main.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:95: CMakeFiles/libcamera-demo.dir/all] Error 2 make: *** [Makefile:103: all] Error 2 b