ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    voxl-cross error when building voxl-open-vins-server

    VOXL SDK
    4
    7
    88
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      SKA
      last edited by

      Hi!
      When I try to build voxl-open-vins-server using voxl-cross:V4.4, first I run:

      ./install_build_deps.sh qrb5165 dev
      

      After 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 127
      

      Let me know how I can get past this, thanks!

      B 1 Reply Last reply Reply Quote 0
      • B
        bendraper @SKA
        last edited by

        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

        B Eric KatzfeyE 3 Replies Last reply Reply Quote 0
        • B
          bendraper @bendraper
          last edited by

          @Alex-Kushleyev any ideas?

          1 Reply Last reply Reply Quote 0
          • Eric KatzfeyE
            Eric Katzfey ModalAI Team @bendraper
            last edited by

            @bendraper Yes, we can recreate the failure. We need to release voxl-cross 4.8. We're working on it.

            1 Reply Last reply Reply Quote 0
            • Eric KatzfeyE
              Eric Katzfey ModalAI Team @bendraper
              last edited by Eric Katzfey

              @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?

              B 1 Reply Last reply Reply Quote 1
              • B
                bendraper @Eric Katzfey
                last edited by

                @Eric-Katzfey I got about a million warnings when actually building but it did appear to build after initializing the submodules. Thanks!

                zauberflote1Z 1 Reply Last reply Reply Quote 0
                • zauberflote1Z
                  zauberflote1 ModalAI Team @bendraper
                  last edited by

                  @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

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Powered by NodeBB | Contributors