Voxl-Cross Issue
-
Trying to build latest voxl-vision-hub master with voxl-cross 4.4 and get the following error.
voxl-cross(4.4):~(master)(1.9.20)$ ./build.sh qrb5165 Found voxl-cross version: 4.4 -- --------------------------------------------------------- -- Using voxl-cross 64-bit toolchain for QRB5165 ubun1 18.04 -- C Compiler : /usr/bin/aarch64-linux-gnu-gcc-7 -- C++ Compiler: /usr/bin/aarch64-linux-gnu-g++-7 -- Sysroot : /opt/sysroots/qrb5165_1 -- C flags : -isystem=/usr/lib/gcc/aarch64-linux-gnu/7/include -isystem=/usr/local/include -isystem=/usr/lib/gcc/aarch64-linux-gnu/7/include-fixed -isystem=/usr/include/aarch64-linux-gnu -isystem=/usr/include -idirafter /usr/include -march=armv8.2-a -- CXX flags : -isystem=/usr/include/c++/7 -isystem=/usr/include/aarch64-linux-gnu/c++/7 -isystem=/usr/include/c++/7/backward -isystem=/usr/lib/gcc/aarch64-linux-gnu/7/include -isystem=/usr/local/include -isystem=/usr/lib/gcc/aarch64-linux-gnu/7/include-fixed -isystem=/usr/include/aarch64-linux-gnu -isystem=/usr/include -idirafter /usr/include -march=armv8.2-a -- Link Flags : -B/opt/sysroots/qrb5165_1/usr/lib/ -L/opt/sysroots/qrb5165_1/usr/lib/gcc/aarch64-linux-gnu/7 -L/opt/sysroots/qrb5165_1/usr/lib/aarch64-linux-gnu -L/opt/sysroots/qrb5165_1/usr/lib -L/opt/sysroots/qrb5165_1/lib/aarch64-linux-gnu -L/opt/sysroots/qrb5165_1/usr/lib/aarch64-linux-gnu -L/opt/sysroots/qrb5165_1/lib -L/usr/lib64 -L/usr/lib -- Configuring done (0.0s) -- Generating done (0.0s) -- Build files have been written to: /home/root/build [ 12%] Built target voxl-calibrate-px4-horizon [ 9%] Built target voxl-inspect-vfc [ 18%] Building C object src/CMakeFiles/voxl-vision-hub.dir/main.c.o [ 18%] Building C object src/CMakeFiles/voxl-vision-hub.dir/offboard_backtrack.c.o [ 21%] Building C object src/CMakeFiles/voxl-vision-hub.dir/offboard_vfc.c.o [ 25%] Building C object src/CMakeFiles/voxl-vision-hub.dir/offboard_wps.c.o /home/root/src/offboard_vfc.c:43:10: fatal error: voxl_vfc_config.h: No such file or directory #include <voxl_vfc_config.h> ^~~~~~~~~~~~~~~~~~~ compilation terminated. /home/root/src/offboard_backtrack.c:41:10: fatal error: voxl_vfc_config.h: No such file or directory #include <voxl_vfc_config.h> ^~~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [src/CMakeFiles/voxl-vision-hub.dir/build.make:331: src/CMakeFiles/voxl-vision-hub.dir/offboard_vfc.c.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [src/CMakeFiles/voxl-vision-hub.dir/build.make:261: src/CMakeFiles/voxl-vision-hub.dir/offboard_backtrack.c.o] Error 1 /home/root/src/main.c:42:10: fatal error: voxl_vfc_config.h: No such file or directory #include "voxl_vfc_config.h" ^~~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [src/CMakeFiles/voxl-vision-hub.dir/build.make:191: src/CMakeFiles/voxl-vision-hub.dir/main.c.o] Error 1 /home/root/src/offboard_wps.c:44:10: fatal error: voxl_vfc_config.h: No such file or directory #include "voxl_vfc_config.h" ^~~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [src/CMakeFiles/voxl-vision-hub.dir/build.make:345: src/CMakeFiles/voxl-vision-hub.dir/offboard_wps.c.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:155: src/CMakeFiles/voxl-vision-hub.dir/all] Error 2 make: *** [Makefile:136: all] Error 2 voxl-cross(4.4):~(master)(1.9.20)$ -
@bendraper Which repo are you using for the dependencies? For example:
voxl-cross(4.4):~(master)(1.9.20)$ ./install_build_deps.sh qrb5165 staging -
@Eric-Katzfey I did not provide an argument
-
@bendraper If you don't provide any arguments then the command will not work and you won't get any dependencies installed.
-
@Eric-Katzfey sorry, I was thinking of the build script. I’m using dev in accordance with the README in vision hub
-
@bendraper You cannot always match dev and master. Since you want to build master I would suggest using staging for you dependencies instead. Why don't you want the dev branch?
-
@Eric-Katzfey I tried staging and that ended up working. I was trying dev because voxl-vision-hub repo says to

-
@bendraper I would recommend using dev instead of master. dev is latest, master is an occasional snapshot of dev. However, dev can sometimes be broken so that's always a risk.
-
@Eric-Katzfey dev seems to be broken in that case as I was getting the error
/home/root/src/main.c:42:10: fatal error: voxl_vfc_config.h: No such file or directory