Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. Software Development
  3. VOXL SDK
  4. voxl-tflite-server build failed

voxl-tflite-server build failed

Scheduled Pinned Locked Moved VOXL SDK
tflite-server
7 Posts 2 Posters 1.0k Views 1 Watching
  • 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.
  • WondosenW Offline
    WondosenW Offline
    Wondosen
    wrote on last edited by
    #1

    I was able to compile successfully before, but recently the linker has stopped finding the library files "absl_wyhash" and "clog".

    The compilation output is shown below.

    tflite-build-error.png

    tomT 1 Reply Last reply
    0
    • WondosenW Wondosen

      I was able to compile successfully before, but recently the linker has stopped finding the library files "absl_wyhash" and "clog".

      The compilation output is shown below.

      tflite-build-error.png

      tomT Offline
      tomT Offline
      tom
      admin
      wrote on last edited by
      #2

      @Wondosen How are you running ./install_build_deps.sh?

      WondosenW 2 Replies Last reply
      0
      • tomT tom

        @Wondosen How are you running ./install_build_deps.sh?

        WondosenW Offline
        WondosenW Offline
        Wondosen
        wrote on last edited by Wondosen
        #3

        @tom yes I did

        ./install_build_deps.sh qrb5165 dev
        
        1 Reply Last reply
        0
        • tomT tom

          @Wondosen How are you running ./install_build_deps.sh?

          WondosenW Offline
          WondosenW Offline
          Wondosen
          wrote on last edited by
          #4

          @tom for running, ./build.sh qrb5165

          tomT 1 Reply Last reply
          0
          • WondosenW Wondosen

            @tom for running, ./build.sh qrb5165

            tomT Offline
            tomT Offline
            tom
            admin
            wrote on last edited by
            #5

            @Wondosen You're building voxl-tflite-server which is part of SDK 1.4.4, while calling install_build_deps.sh qrb5165 dev will pull the dependencies for a much newer version of voxl-tflite-server than you're using.

            Try running ./install_build_deps.sh qrb5165 sdk-1.4

            tomT 1 Reply Last reply
            0
            • tomT tom

              @Wondosen You're building voxl-tflite-server which is part of SDK 1.4.4, while calling install_build_deps.sh qrb5165 dev will pull the dependencies for a much newer version of voxl-tflite-server than you're using.

              Try running ./install_build_deps.sh qrb5165 sdk-1.4

              tomT Offline
              tomT Offline
              tom
              admin
              wrote on last edited by
              #6

              @tom I just ran the following successfully:

              cd voxl-tflite-server
              git checkout master
              git pull
              voxl-docker -i  voxl-cross:V2.7
              ./install_build_deps.sh qrb5165 sdk-1.4
              ./build.sh qrb5165
              ./make_package.sh
              

              here's a snippet

              [ 60%] Building CXX object src/CMakeFiles/voxl-tflite-server.dir/model_helper/generic_object_detection_model_helper.cpp.o
              [ 66%] Building CXX object src/CMakeFiles/voxl-tflite-server.dir/model_helper/yolov5_model_helper.cpp.o
              [ 73%] Building CXX object src/CMakeFiles/voxl-tflite-server.dir/model_helper/posenet_model_helper.cpp.o
              [ 80%] Building CXX object src/CMakeFiles/voxl-tflite-server.dir/model_helper/yolov8_model_helper.cpp.o
              [ 86%] Building C object src/CMakeFiles/voxl-tflite-server.dir/resize.c.o
              [ 93%] Building CXX object src/CMakeFiles/voxl-tflite-server.dir/utils.cpp.o
              [100%] Linking CXX executable voxl-tflite-server
              /usr/lib64//libtensorflow-lite.a(nnapi_delegate.cc.o): In function `tflite::delegate::nnapi::NNMemory::NNMemory(NnApi const*, char const*, unsigned long)':
              nnapi_delegate.cc:(.text+0xd58): warning: the use of `tmpnam' is dangerous, better use `mkstemp'
              [100%] Built target voxl-tflite-server
              voxl-cross(2.7):~(master)(0.4.1)$ ls
              CHANGELOG         build              include                scripts
              CMakeLists.txt    build.sh           install_build_deps.sh  services
              LICENSE           clean.sh           make_package.sh        src
              README.md         debug_source.sh    misc_files
              bash_completions  deploy_to_voxl.sh  pkg
              voxl-cross(2.7):~(master)(0.4.1)$ ./make_package.sh 
              Package Name:  voxl-tflite-server
              version Number:  0.4.1
              Consolidate compiler generated dependencies of target voxl-tflite-server
              [100%] Built target voxl-tflite-server
              Install the project...
              -- Install configuration: "DEBUG"
              -- Installing: ../pkg/data/usr/bin/voxl-tflite-server
              /home/root
              starting building Debian Package
              dpkg-deb: building package 'voxl-tflite-server' in 'voxl-tflite-server_0.4.1_arm64.deb'.
              DONE
              
              
              WondosenW 1 Reply Last reply
              0
              • tomT tom

                @tom I just ran the following successfully:

                cd voxl-tflite-server
                git checkout master
                git pull
                voxl-docker -i  voxl-cross:V2.7
                ./install_build_deps.sh qrb5165 sdk-1.4
                ./build.sh qrb5165
                ./make_package.sh
                

                here's a snippet

                [ 60%] Building CXX object src/CMakeFiles/voxl-tflite-server.dir/model_helper/generic_object_detection_model_helper.cpp.o
                [ 66%] Building CXX object src/CMakeFiles/voxl-tflite-server.dir/model_helper/yolov5_model_helper.cpp.o
                [ 73%] Building CXX object src/CMakeFiles/voxl-tflite-server.dir/model_helper/posenet_model_helper.cpp.o
                [ 80%] Building CXX object src/CMakeFiles/voxl-tflite-server.dir/model_helper/yolov8_model_helper.cpp.o
                [ 86%] Building C object src/CMakeFiles/voxl-tflite-server.dir/resize.c.o
                [ 93%] Building CXX object src/CMakeFiles/voxl-tflite-server.dir/utils.cpp.o
                [100%] Linking CXX executable voxl-tflite-server
                /usr/lib64//libtensorflow-lite.a(nnapi_delegate.cc.o): In function `tflite::delegate::nnapi::NNMemory::NNMemory(NnApi const*, char const*, unsigned long)':
                nnapi_delegate.cc:(.text+0xd58): warning: the use of `tmpnam' is dangerous, better use `mkstemp'
                [100%] Built target voxl-tflite-server
                voxl-cross(2.7):~(master)(0.4.1)$ ls
                CHANGELOG         build              include                scripts
                CMakeLists.txt    build.sh           install_build_deps.sh  services
                LICENSE           clean.sh           make_package.sh        src
                README.md         debug_source.sh    misc_files
                bash_completions  deploy_to_voxl.sh  pkg
                voxl-cross(2.7):~(master)(0.4.1)$ ./make_package.sh 
                Package Name:  voxl-tflite-server
                version Number:  0.4.1
                Consolidate compiler generated dependencies of target voxl-tflite-server
                [100%] Built target voxl-tflite-server
                Install the project...
                -- Install configuration: "DEBUG"
                -- Installing: ../pkg/data/usr/bin/voxl-tflite-server
                /home/root
                starting building Debian Package
                dpkg-deb: building package 'voxl-tflite-server' in 'voxl-tflite-server_0.4.1_arm64.deb'.
                DONE
                
                
                WondosenW Offline
                WondosenW Offline
                Wondosen
                wrote on last edited by
                #7

                @tom Thank you so much. It is working now with your suggestion. I think the README file of voxl-tflite-server need to be updated.

                1 Reply Last reply
                0

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                ModalAI
                Categories Recent Tags ModalAI.com Docs
                © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups