how to build voxl-camera-server
-
I followed the README from here https://gitlab.com/voxl-public/voxl-sdk/services/voxl-camera-server. But I got,
/root/yoctohome/src/hal3/buffer_impl_apq8096.cpp:10:21: fatal error: log/log.h: No such file or directory
#include <log/log.h>
^
compilation terminated.
In file included from /root/yoctohome/src/hal3/buffer_manager.cpp:7:0:
/root/yoctohome/include/hal3/buffer_manager.h:11:30: fatal error: hardware/camera3.h: No such file or directory
#include "hardware/camera3.h"Seems ./install_build_deps.sh doesn't install everything needed to build voxl-camera-server.
-
Found the problem
The voxl-docker script mount host /data to the container /data. But voxl-cross image has its own /data folder where /data/offline_ipk_packages/apq8096-proprietary_0.0.4.ipk is stored.
Remove the -v /data:/data from voxl-docker script, start the docker again. This it works!