Build questions...
-
Several questions/issues:
I'm digging into the details of the camera server, so I started by trying to build voxl-camera-server. I start with docker image voxl-cross:V1.9. When I run ./install_build_deps.sh apq8096 sdk-1.0 I get this:using apq8096 sdk-1.0 repo Downloading http://voxl-packages.modalai.com/dists/apq8096/sdk-1.0/binary-arm64//Packages.gz. Collected errors: * opkg_validate_cached_file: Failed to download http://voxl-packages.modalai.com/dists/apq8096/sdk-1.0/binary-arm64//Packag s.gz headers: HTTP response code said error. installing: libmodal-pipe libmodal-json libmodal-exposure libvoxl-cutils voxl-logger /data/offline_ipk_packages/apq8096-proprietary*.ipk Collected errors: * opkg_prepare_url_for_install: Couldn't find anything to satisfy 'libmodal-pipe'. Collected errors: * opkg_prepare_url_for_install: Couldn't find anything to satisfy 'libmodal-json'. Collected errors: * opkg_prepare_url_for_install: Couldn't find anything to satisfy 'libmodal-exposure'. Collected errors: * opkg_prepare_url_for_install: Couldn't find anything to satisfy 'libvoxl-cutils'. Collected errors: * opkg_prepare_url_for_install: Couldn't find anything to satisfy 'voxl-logger'. Collected errors: * opkg_prepare_url_for_install: Couldn't find anything to satisfy '/data/offline_ipk_packages/apq8096-proprietary*.ipk'. Done installing dependencies
So then I ran ./install_build_deps.sh apq8096 dev
and I get this:using apq8096 dev repo Downloading http://voxl-packages.modalai.com/dists/apq8096/dev/binary-arm64//Packages.gz. Updated source 'dev'. installing: libmodal-pipe libmodal-json libmodal-exposure libvoxl-cutils voxl-logger /data/offline_ipk_packages/apq8096-proprietary*.ipk Installing libmodal-pipe (2.4.4) on root. Downloading http://voxl-packages.modalai.com/dists/apq8096/dev/binary-arm64//libmodal-pipe_2.4.4_202209150032.ipk. Configuring libmodal-pipe. Installing libmodal-json (0.4.2) on root. Downloading http://voxl-packages.modalai.com/dists/apq8096/dev/binary-arm64//libmodal-json_0.4.2_202204051845.ipk. Configuring libmodal-json. Installing libmodal-exposure (0.0.7) on root. Downloading http://voxl-packages.modalai.com/dists/apq8096/dev/binary-arm64//libmodal-exposure_0.0.7_202204081652.ipk. Configuring libmodal-exposure. Installing libvoxl-cutils (0.1.1) on root. Downloading http://voxl-packages.modalai.com/dists/apq8096/dev/binary-arm64//libvoxl-cutils_0.1.1_202204051908.ipk. Configuring libvoxl-cutils. Installing voxl-logger (0.3.4) on root. Downloading http://voxl-packages.modalai.com/dists/apq8096/dev/binary-arm64//voxl-logger_0.3.4_202209082335.ipk. Configuring voxl-logger. Collected errors: * opkg_prepare_url_for_install: Couldn't find anything to satisfy '/data/offline_ipk_packages/apq8096-proprietary*.ipk'. Done installing dependencies
I assume both cases have issues, nevertheless, I tried running ./build.sh after both and in both cases the build fails. In both cases the output of ./build.sh indicated that various header files were not found. One common file was log/log.h. So I tried adding voxl-logger to DEPS_APQ8096 in install_build_deps.sh, but that didn't help.
Then...
Looking at voxl-logger, I saw it had several dependencies, and I just happened to attempt to build jpeg-turbo, but if you look at the build instructions the files are listed in the working directory, then the instructions say to execute ./install_build_deps.sh, but it doesn't even exist in the directory!So, I'm having a few build issues. Right now I'd like to just get over the voxl-camera-server hump, and have since noticed that there is also an apq8096-camera-server repository. So an additional question would be: what is the difference between voxl-camera-server and apq8096-camera-server? I just want to build the code prior to browsing it just so I know I'm looking at working code.
-
Hi,
voxl-camera-server requires voxl-cross >=v2.0. This includes the proprietary packages built in, which contain some hardware specific headers and libs (like android's liblog, not voxl-logger). As for APQ camera server vs voxl camera server, The builds for the two platforms used to be separate but we managed to merge them in together recently and are working out the last few kinks in the unified voxl-camera-server, after which we will deprecate the apq specific one.