voxl-cross error when building voxl-open-vins-server
-
Hi!
When I try to build voxl-open-vins-server using voxl-cross:V4.4, first I run:./install_build_deps.sh qrb5165 devAfter which I build and face this error:
voxl-cross(4.4):~(voxl-open-vins-server)(0.5.6)$ ./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 DEBUG BUILD -- EN_ION_BUF enabled CMake Warning (dev) at CMakeLists.txt:35 (find_package): Policy CMP0167 is not set: The FindBoost module is removed. Run "cmake --help-policy CMP0167" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it. CMake Error at /usr/share/cmake-3.31/Modules/FindBoost.cmake:1858 (file): file STRINGS file "/usr/include/boost/version.hpp" cannot be read. Call Stack (most recent call first): CMakeLists.txt:35 (find_package) CMake Warning at /usr/share/cmake-3.31/Modules/FindBoost.cmake:1031 (message): Imported targets and dependency information not available for Boost version 0.0.0 (all versions older than 1.33) Call Stack (most recent call first): /usr/share/cmake-3.31/Modules/FindBoost.cmake:1539 (_Boost_COMPONENT_DEPENDENCIES) /usr/share/cmake-3.31/Modules/FindBoost.cmake:2151 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:35 (find_package) CMake Error at /usr/share/cmake-3.31/Modules/FindPackageHandleStandardArgs.cmake:233 (message): Could NOT find Boost: Found unsuitable version "0.0.0", but required is at least "1.63.0" (found /usr/include, ) Call Stack (most recent call first): /usr/share/cmake-3.31/Modules/FindPackageHandleStandardArgs.cmake:601 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake-3.31/Modules/FindBoost.cmake:2409 (find_package_handle_standard_args) CMakeLists.txt:35 (find_package) -- Configuring incomplete, errors occurred! make: /usr/local/bin/cmake: No such file or directory make: *** [Makefile:257: cmake_check_build_system] Error 127Let me know how I can get past this, thanks!
-
Also experiencing this issue. @Eric-Katzfey could you provide any inside here? I've also tried different branches in the open vins server repo and different branches for install_deps such as staging and sdk_1.6
-
@Alex-Kushleyev any ideas?
-
@bendraper Yes, we can recreate the failure. We need to release voxl-cross 4.8. We're working on it.
-
@bendraper Actually, if you try to build the dev branch in voxl-cross:V4.4 it works but you first need to initialize the submodule with
git submodule update --init. Can you try this with the dev branch and see if it works for you? -
@Eric-Katzfey I got about a million warnings when actually building but it did appear to build after initializing the submodules. Thanks!
-
@bendraper
Hello,
I hope this quick clarification helps for warnings:CMake Policy warnings: OV internally (external dir in the repo) still uses boost and references an older cmake version -- it's a harmless warning for devs (as you are building from scratch)
Yaml-cpp lib warnings: This is a third party dependency that gets compiled from scratch during the make/build process. We use C++ 17 but the library is based on an older C++ version; nevertheless, it compiles fine on C++ 17 with minor warnings. -- it's a harmless warning
TrackOCL warning: ModalFlow is a core library written in C++ 17 that allows function call usage as done in TrackOCL, i.e., the narrowing conversion is harmless in this case.
That being said, we are actively working on the dev branch, so all flight--impacting warnings are hopefully caught early. We currently have no flight-impacting warnings/bugs identified, but if you found one warning/bug that caught your attention, please feel free to share.
All the best,
ZBFT