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

ModalAI Forum

  1. ModalAI Support Forum
  2. FAQs
  3. failed to compile voxl-dfs-server ver 0.2.0

failed to compile voxl-dfs-server ver 0.2.0

Scheduled Pinned Locked Moved FAQs
12 Posts 4 Posters 2.8k Views 3 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.
  • Chad SweetC Offline
    Chad SweetC Offline
    Chad Sweet
    ModalAI Team
    wrote on last edited by
    #2

    You need to use the latest version of voxl-docker from developer.modalai.com

    1 Reply Last reply
    0
    • S Offline
      S Offline
      shlee853
      Regular
      wrote on last edited by
      #3

      I downloaded latest sw in gitlab. as I know, ver.0.2.0 is latest one.

      1 Reply Last reply
      0
      • Alex KushleyevA Offline
        Alex KushleyevA Offline
        Alex Kushleyev
        ModalAI Team
        wrote on last edited by
        #4

        voxl-emulator and voxl-cross are docker images that contain the voxl system headers and libraries for cross-compilation (voxl-cross is used in this example). voxl-docker is a script which launches voxl-cross docker image. The docker image has been updated to include opencl stuff. Make sure you download the latest voxl-emulator and voxl-cross docker images from https://developer.modalai.com/asset.

        S 2 Replies Last reply
        0
        • Alex KushleyevA Alex Kushleyev

          voxl-emulator and voxl-cross are docker images that contain the voxl system headers and libraries for cross-compilation (voxl-cross is used in this example). voxl-docker is a script which launches voxl-cross docker image. The docker image has been updated to include opencl stuff. Make sure you download the latest voxl-emulator and voxl-cross docker images from https://developer.modalai.com/asset.

          S Offline
          S Offline
          shlee853
          Regular
          wrote on last edited by
          #5

          @Alex-Kushleyev okay Thanks buddy

          1 Reply Last reply
          0
          • Alex KushleyevA Alex Kushleyev

            voxl-emulator and voxl-cross are docker images that contain the voxl system headers and libraries for cross-compilation (voxl-cross is used in this example). voxl-docker is a script which launches voxl-cross docker image. The docker image has been updated to include opencl stuff. Make sure you download the latest voxl-emulator and voxl-cross docker images from https://developer.modalai.com/asset.

            S Offline
            S Offline
            shlee853
            Regular
            wrote on last edited by
            #6

            @Alex-Kushleyev Can I ask something?

            Can I get disparity image in real-time using stereo camera?

            obstable distance is not reliable on 0 degree for my voxl flight.

            Thanks,

            1 Reply Last reply
            0
            • Chad SweetC Offline
              Chad SweetC Offline
              Chad Sweet
              ModalAI Team
              wrote on last edited by Chad Sweet
              #7

              If the data is not very accurate, it is likely you need to recalibrate the stereo sensors. Instructions are here

              Otherwise, the data is published here disparity and point cloud. We provide the code so you can change how you see fit for your application

              S 1 Reply Last reply
              0
              • ? Offline
                ? Offline
                A Former User
                wrote on last edited by
                #8
                This post is deleted!
                1 Reply Last reply
                0
                • Chad SweetC Chad Sweet

                  If the data is not very accurate, it is likely you need to recalibrate the stereo sensors. Instructions are here

                  Otherwise, the data is published here disparity and point cloud. We provide the code so you can change how you see fit for your application

                  S Offline
                  S Offline
                  shlee853
                  Regular
                  wrote on last edited by
                  #9

                  @Chad-Sweet could you please try compile voxl-dfs-server 0.2.0 and client?

                  I need to modify application but it failed even the voxl-cross version is newest.

                  Thanks,

                  1 Reply Last reply
                  0
                  • ? Offline
                    ? Offline
                    A Former User
                    wrote on last edited by
                    #10

                    Hi shlee,

                    Here is a copy of my device cloning a fresh copy of dfs-server and building it successfully in voxl-cross, if you could let us know exactly what errors you're encountering when trying to build that'd be helpful.

                    Alex:~/tmp$ git clone git@gitlab.com:voxl-public/modal-pipe-architecture/voxl-dfs-server.git
                    Cloning into 'voxl-dfs-server'...
                    remote: Enumerating objects: 525, done.
                    remote: Counting objects: 100% (266/266), done.
                    remote: Compressing objects: 100% (139/139), done.
                    remote: Total 525 (delta 173), reused 197 (delta 121), pack-reused 259
                    Receiving objects: 100% (525/525), 200.24 KiB | 1.16 MiB/s, done.
                    Resolving deltas: 100% (297/297), done.
                    Alex:~/tmp$ cd voxl-dfs-server/
                    Alex:~/tmp/voxl-dfs-server(master)$ voxl-docker -i voxl-cross
                    launching image: voxl-cross with the following command:
                    docker run --rm -it --net=host --privileged -w /home/alex --volume=/dev/bus/usb:/dev/bus/usb -e LOCAL_USER_ID=0 -e LOCAL_USER_NAME=root -e LOCAL_GID=0 -v /home/alex/tmp/voxl-dfs-server:/home/root:rw -w /home/root voxl-cross /bin/bash -l
                    
                    voxl-cross:~$ ./install_build_deps.sh stable
                    using stable repository
                    Downloading http://voxl-packages.modalai.com/stable/Packages.gz.
                    Updated source 'stable'.
                    Installing libmodal_pipe (2.0.7) on root.
                    Downloading http://voxl-packages.modalai.com/stable/libmodal_pipe_2.0.7.ipk.
                    Configuring libmodal_pipe.
                    
                    Done installing libmodal_pipe
                    
                    Installing libmodal_json (0.3.5) on root.
                    Downloading http://voxl-packages.modalai.com/stable/libmodal_json_0.3.5.ipk.
                    Configuring libmodal_json.
                    
                    Done installing libmodal_json
                    
                    Installing opencv (4.5.2) on root.
                    Downloading http://voxl-packages.modalai.com/stable/opencv_4.5.2-1.ipk.
                    Configuring opencv.
                    
                    done installing opencv
                    
                    voxl-cross:~$ ./build.sh
                    -- The C compiler identification is GNU 5.4.0
                    -- The CXX compiler identification is GNU 5.4.0
                    -- Check for working C compiler: /usr/bin/cc
                    -- Check for working C compiler: /usr/bin/cc -- works
                    -- Detecting C compiler ABI info
                    -- Detecting C compiler ABI info - done
                    -- Detecting C compile features
                    -- Detecting C compile features - done
                    -- Check for working CXX compiler: /usr/bin/c++
                    -- Check for working CXX compiler: /usr/bin/c++ -- works
                    -- Detecting CXX compiler ABI info
                    -- Detecting CXX compiler ABI info - done
                    -- Detecting CXX compile features
                    -- Detecting CXX compile features - done
                    -- Configuring done
                    -- Generating done
                    -- Build files have been written to: /home/root/build_utils/build
                    Scanning dependencies of target embedfile
                    [ 50%] Building C object CMakeFiles/embedfile.dir/src/embedfile.c.o
                    [100%] Linking C executable embedfile
                    [100%] Built target embedfile
                    -- The C compiler identification is GNU 4.9.3
                    -- The CXX compiler identification is GNU 4.9.3
                    -- Check for working C compiler: /usr/bin/aarch64-linux-gnu-gcc-4.9
                    -- Check for working C compiler: /usr/bin/aarch64-linux-gnu-gcc-4.9 -- works
                    -- Detecting C compiler ABI info
                    -- Detecting C compiler ABI info - done
                    -- Detecting C compile features
                    -- Detecting C compile features - done
                    -- Check for working CXX compiler: /usr/bin/aarch64-linux-gnu-g++-4.9
                    -- Check for working CXX compiler: /usr/bin/aarch64-linux-gnu-g++-4.9 -- works
                    -- Detecting CXX compiler ABI info
                    -- Detecting CXX compiler ABI info - done
                    -- Detecting CXX compile features
                    -- Detecting CXX compile features - done
                    -- Configuring done
                    -- Generating done
                    -- Build files have been written to: /home/root/build64
                    [ 10%] Generating blur_kernel_code.c
                    [ 10%] Generating sobel_filter_kernel_code.c
                    [ 21%] Generating disparity_kernel_code.c
                    [ 21%] Generating compute_dsi_kernel_code.c
                    [ 26%] Generating sparse_census_transform_kernel_code.c
                    Scanning dependencies of target voxl-dfs-server
                    [ 31%] Building C object server/CMakeFiles/voxl-dfs-server.dir/undistort.c.o
                    [ 36%] Building CXX object server/CMakeFiles/voxl-dfs-server.dir/dfs_processing_engine.cpp.o
                    [ 42%] Building CXX object server/CMakeFiles/voxl-dfs-server.dir/sad_disparity_estimation.cpp.o
                    [ 47%] Building CXX object server/CMakeFiles/voxl-dfs-server.dir/box_filter_blur.cpp.o
                    [ 52%] Building CXX object server/CMakeFiles/voxl-dfs-server.dir/opencl_kernel.cpp.o
                    [ 57%] Building CXX object server/CMakeFiles/voxl-dfs-server.dir/main.cpp.o
                    [ 63%] Building CXX object server/CMakeFiles/voxl-dfs-server.dir/opencl_manager.cpp.o
                    [ 68%] Building CXX object server/CMakeFiles/voxl-dfs-server.dir/sobel_filter.cpp.o
                    [ 73%] Building C object server/CMakeFiles/voxl-dfs-server.dir/blur_kernel_code.c.o
                    [ 78%] Building C object server/CMakeFiles/voxl-dfs-server.dir/disparity_kernel_code.c.o
                    [ 84%] Building C object server/CMakeFiles/voxl-dfs-server.dir/compute_dsi_kernel_code.c.o
                    [ 89%] Building C object server/CMakeFiles/voxl-dfs-server.dir/sparse_census_transform_kernel_code.c.o
                    [ 94%] Building C object server/CMakeFiles/voxl-dfs-server.dir/sobel_filter_kernel_code.c.o
                    [100%] Linking CXX executable voxl-dfs-server
                    [100%] Built target voxl-dfs-server
                    voxl-cross:~$ ./make_package.sh 
                    
                    Package Name:  voxl-dfs-server
                    version Number:  0.2.0
                    [100%] Built target voxl-dfs-server
                    Install the project...
                    -- Install configuration: "Release"
                    -- Installing: ../ipk/data/etc/systemd/system/voxl-dfs-server.service
                    -- Installing: ../ipk/data/usr/bin/voxl-dfs-server
                    /home/root
                    ar: creating voxl-dfs-server_0.2.0.ipk
                    
                    DONE
                    voxl-cross:~$ 
                    
                    S 2 Replies Last reply
                    0
                    • ? A Former User

                      Hi shlee,

                      Here is a copy of my device cloning a fresh copy of dfs-server and building it successfully in voxl-cross, if you could let us know exactly what errors you're encountering when trying to build that'd be helpful.

                      Alex:~/tmp$ git clone git@gitlab.com:voxl-public/modal-pipe-architecture/voxl-dfs-server.git
                      Cloning into 'voxl-dfs-server'...
                      remote: Enumerating objects: 525, done.
                      remote: Counting objects: 100% (266/266), done.
                      remote: Compressing objects: 100% (139/139), done.
                      remote: Total 525 (delta 173), reused 197 (delta 121), pack-reused 259
                      Receiving objects: 100% (525/525), 200.24 KiB | 1.16 MiB/s, done.
                      Resolving deltas: 100% (297/297), done.
                      Alex:~/tmp$ cd voxl-dfs-server/
                      Alex:~/tmp/voxl-dfs-server(master)$ voxl-docker -i voxl-cross
                      launching image: voxl-cross with the following command:
                      docker run --rm -it --net=host --privileged -w /home/alex --volume=/dev/bus/usb:/dev/bus/usb -e LOCAL_USER_ID=0 -e LOCAL_USER_NAME=root -e LOCAL_GID=0 -v /home/alex/tmp/voxl-dfs-server:/home/root:rw -w /home/root voxl-cross /bin/bash -l
                      
                      voxl-cross:~$ ./install_build_deps.sh stable
                      using stable repository
                      Downloading http://voxl-packages.modalai.com/stable/Packages.gz.
                      Updated source 'stable'.
                      Installing libmodal_pipe (2.0.7) on root.
                      Downloading http://voxl-packages.modalai.com/stable/libmodal_pipe_2.0.7.ipk.
                      Configuring libmodal_pipe.
                      
                      Done installing libmodal_pipe
                      
                      Installing libmodal_json (0.3.5) on root.
                      Downloading http://voxl-packages.modalai.com/stable/libmodal_json_0.3.5.ipk.
                      Configuring libmodal_json.
                      
                      Done installing libmodal_json
                      
                      Installing opencv (4.5.2) on root.
                      Downloading http://voxl-packages.modalai.com/stable/opencv_4.5.2-1.ipk.
                      Configuring opencv.
                      
                      done installing opencv
                      
                      voxl-cross:~$ ./build.sh
                      -- The C compiler identification is GNU 5.4.0
                      -- The CXX compiler identification is GNU 5.4.0
                      -- Check for working C compiler: /usr/bin/cc
                      -- Check for working C compiler: /usr/bin/cc -- works
                      -- Detecting C compiler ABI info
                      -- Detecting C compiler ABI info - done
                      -- Detecting C compile features
                      -- Detecting C compile features - done
                      -- Check for working CXX compiler: /usr/bin/c++
                      -- Check for working CXX compiler: /usr/bin/c++ -- works
                      -- Detecting CXX compiler ABI info
                      -- Detecting CXX compiler ABI info - done
                      -- Detecting CXX compile features
                      -- Detecting CXX compile features - done
                      -- Configuring done
                      -- Generating done
                      -- Build files have been written to: /home/root/build_utils/build
                      Scanning dependencies of target embedfile
                      [ 50%] Building C object CMakeFiles/embedfile.dir/src/embedfile.c.o
                      [100%] Linking C executable embedfile
                      [100%] Built target embedfile
                      -- The C compiler identification is GNU 4.9.3
                      -- The CXX compiler identification is GNU 4.9.3
                      -- Check for working C compiler: /usr/bin/aarch64-linux-gnu-gcc-4.9
                      -- Check for working C compiler: /usr/bin/aarch64-linux-gnu-gcc-4.9 -- works
                      -- Detecting C compiler ABI info
                      -- Detecting C compiler ABI info - done
                      -- Detecting C compile features
                      -- Detecting C compile features - done
                      -- Check for working CXX compiler: /usr/bin/aarch64-linux-gnu-g++-4.9
                      -- Check for working CXX compiler: /usr/bin/aarch64-linux-gnu-g++-4.9 -- works
                      -- Detecting CXX compiler ABI info
                      -- Detecting CXX compiler ABI info - done
                      -- Detecting CXX compile features
                      -- Detecting CXX compile features - done
                      -- Configuring done
                      -- Generating done
                      -- Build files have been written to: /home/root/build64
                      [ 10%] Generating blur_kernel_code.c
                      [ 10%] Generating sobel_filter_kernel_code.c
                      [ 21%] Generating disparity_kernel_code.c
                      [ 21%] Generating compute_dsi_kernel_code.c
                      [ 26%] Generating sparse_census_transform_kernel_code.c
                      Scanning dependencies of target voxl-dfs-server
                      [ 31%] Building C object server/CMakeFiles/voxl-dfs-server.dir/undistort.c.o
                      [ 36%] Building CXX object server/CMakeFiles/voxl-dfs-server.dir/dfs_processing_engine.cpp.o
                      [ 42%] Building CXX object server/CMakeFiles/voxl-dfs-server.dir/sad_disparity_estimation.cpp.o
                      [ 47%] Building CXX object server/CMakeFiles/voxl-dfs-server.dir/box_filter_blur.cpp.o
                      [ 52%] Building CXX object server/CMakeFiles/voxl-dfs-server.dir/opencl_kernel.cpp.o
                      [ 57%] Building CXX object server/CMakeFiles/voxl-dfs-server.dir/main.cpp.o
                      [ 63%] Building CXX object server/CMakeFiles/voxl-dfs-server.dir/opencl_manager.cpp.o
                      [ 68%] Building CXX object server/CMakeFiles/voxl-dfs-server.dir/sobel_filter.cpp.o
                      [ 73%] Building C object server/CMakeFiles/voxl-dfs-server.dir/blur_kernel_code.c.o
                      [ 78%] Building C object server/CMakeFiles/voxl-dfs-server.dir/disparity_kernel_code.c.o
                      [ 84%] Building C object server/CMakeFiles/voxl-dfs-server.dir/compute_dsi_kernel_code.c.o
                      [ 89%] Building C object server/CMakeFiles/voxl-dfs-server.dir/sparse_census_transform_kernel_code.c.o
                      [ 94%] Building C object server/CMakeFiles/voxl-dfs-server.dir/sobel_filter_kernel_code.c.o
                      [100%] Linking CXX executable voxl-dfs-server
                      [100%] Built target voxl-dfs-server
                      voxl-cross:~$ ./make_package.sh 
                      
                      Package Name:  voxl-dfs-server
                      version Number:  0.2.0
                      [100%] Built target voxl-dfs-server
                      Install the project...
                      -- Install configuration: "Release"
                      -- Installing: ../ipk/data/etc/systemd/system/voxl-dfs-server.service
                      -- Installing: ../ipk/data/usr/bin/voxl-dfs-server
                      /home/root
                      ar: creating voxl-dfs-server_0.2.0.ipk
                      
                      DONE
                      voxl-cross:~$ 
                      
                      S Offline
                      S Offline
                      shlee853
                      Regular
                      wrote on last edited by
                      #11

                      @Alex-Gardner are you using a version 1.1 for voxl-cross?

                      You can find my compilation result at the first comment in this thread.

                      The errors are related with obsolete opencl lib.

                      Thanks

                      1 Reply Last reply
                      0
                      • ? A Former User

                        Hi shlee,

                        Here is a copy of my device cloning a fresh copy of dfs-server and building it successfully in voxl-cross, if you could let us know exactly what errors you're encountering when trying to build that'd be helpful.

                        Alex:~/tmp$ git clone git@gitlab.com:voxl-public/modal-pipe-architecture/voxl-dfs-server.git
                        Cloning into 'voxl-dfs-server'...
                        remote: Enumerating objects: 525, done.
                        remote: Counting objects: 100% (266/266), done.
                        remote: Compressing objects: 100% (139/139), done.
                        remote: Total 525 (delta 173), reused 197 (delta 121), pack-reused 259
                        Receiving objects: 100% (525/525), 200.24 KiB | 1.16 MiB/s, done.
                        Resolving deltas: 100% (297/297), done.
                        Alex:~/tmp$ cd voxl-dfs-server/
                        Alex:~/tmp/voxl-dfs-server(master)$ voxl-docker -i voxl-cross
                        launching image: voxl-cross with the following command:
                        docker run --rm -it --net=host --privileged -w /home/alex --volume=/dev/bus/usb:/dev/bus/usb -e LOCAL_USER_ID=0 -e LOCAL_USER_NAME=root -e LOCAL_GID=0 -v /home/alex/tmp/voxl-dfs-server:/home/root:rw -w /home/root voxl-cross /bin/bash -l
                        
                        voxl-cross:~$ ./install_build_deps.sh stable
                        using stable repository
                        Downloading http://voxl-packages.modalai.com/stable/Packages.gz.
                        Updated source 'stable'.
                        Installing libmodal_pipe (2.0.7) on root.
                        Downloading http://voxl-packages.modalai.com/stable/libmodal_pipe_2.0.7.ipk.
                        Configuring libmodal_pipe.
                        
                        Done installing libmodal_pipe
                        
                        Installing libmodal_json (0.3.5) on root.
                        Downloading http://voxl-packages.modalai.com/stable/libmodal_json_0.3.5.ipk.
                        Configuring libmodal_json.
                        
                        Done installing libmodal_json
                        
                        Installing opencv (4.5.2) on root.
                        Downloading http://voxl-packages.modalai.com/stable/opencv_4.5.2-1.ipk.
                        Configuring opencv.
                        
                        done installing opencv
                        
                        voxl-cross:~$ ./build.sh
                        -- The C compiler identification is GNU 5.4.0
                        -- The CXX compiler identification is GNU 5.4.0
                        -- Check for working C compiler: /usr/bin/cc
                        -- Check for working C compiler: /usr/bin/cc -- works
                        -- Detecting C compiler ABI info
                        -- Detecting C compiler ABI info - done
                        -- Detecting C compile features
                        -- Detecting C compile features - done
                        -- Check for working CXX compiler: /usr/bin/c++
                        -- Check for working CXX compiler: /usr/bin/c++ -- works
                        -- Detecting CXX compiler ABI info
                        -- Detecting CXX compiler ABI info - done
                        -- Detecting CXX compile features
                        -- Detecting CXX compile features - done
                        -- Configuring done
                        -- Generating done
                        -- Build files have been written to: /home/root/build_utils/build
                        Scanning dependencies of target embedfile
                        [ 50%] Building C object CMakeFiles/embedfile.dir/src/embedfile.c.o
                        [100%] Linking C executable embedfile
                        [100%] Built target embedfile
                        -- The C compiler identification is GNU 4.9.3
                        -- The CXX compiler identification is GNU 4.9.3
                        -- Check for working C compiler: /usr/bin/aarch64-linux-gnu-gcc-4.9
                        -- Check for working C compiler: /usr/bin/aarch64-linux-gnu-gcc-4.9 -- works
                        -- Detecting C compiler ABI info
                        -- Detecting C compiler ABI info - done
                        -- Detecting C compile features
                        -- Detecting C compile features - done
                        -- Check for working CXX compiler: /usr/bin/aarch64-linux-gnu-g++-4.9
                        -- Check for working CXX compiler: /usr/bin/aarch64-linux-gnu-g++-4.9 -- works
                        -- Detecting CXX compiler ABI info
                        -- Detecting CXX compiler ABI info - done
                        -- Detecting CXX compile features
                        -- Detecting CXX compile features - done
                        -- Configuring done
                        -- Generating done
                        -- Build files have been written to: /home/root/build64
                        [ 10%] Generating blur_kernel_code.c
                        [ 10%] Generating sobel_filter_kernel_code.c
                        [ 21%] Generating disparity_kernel_code.c
                        [ 21%] Generating compute_dsi_kernel_code.c
                        [ 26%] Generating sparse_census_transform_kernel_code.c
                        Scanning dependencies of target voxl-dfs-server
                        [ 31%] Building C object server/CMakeFiles/voxl-dfs-server.dir/undistort.c.o
                        [ 36%] Building CXX object server/CMakeFiles/voxl-dfs-server.dir/dfs_processing_engine.cpp.o
                        [ 42%] Building CXX object server/CMakeFiles/voxl-dfs-server.dir/sad_disparity_estimation.cpp.o
                        [ 47%] Building CXX object server/CMakeFiles/voxl-dfs-server.dir/box_filter_blur.cpp.o
                        [ 52%] Building CXX object server/CMakeFiles/voxl-dfs-server.dir/opencl_kernel.cpp.o
                        [ 57%] Building CXX object server/CMakeFiles/voxl-dfs-server.dir/main.cpp.o
                        [ 63%] Building CXX object server/CMakeFiles/voxl-dfs-server.dir/opencl_manager.cpp.o
                        [ 68%] Building CXX object server/CMakeFiles/voxl-dfs-server.dir/sobel_filter.cpp.o
                        [ 73%] Building C object server/CMakeFiles/voxl-dfs-server.dir/blur_kernel_code.c.o
                        [ 78%] Building C object server/CMakeFiles/voxl-dfs-server.dir/disparity_kernel_code.c.o
                        [ 84%] Building C object server/CMakeFiles/voxl-dfs-server.dir/compute_dsi_kernel_code.c.o
                        [ 89%] Building C object server/CMakeFiles/voxl-dfs-server.dir/sparse_census_transform_kernel_code.c.o
                        [ 94%] Building C object server/CMakeFiles/voxl-dfs-server.dir/sobel_filter_kernel_code.c.o
                        [100%] Linking CXX executable voxl-dfs-server
                        [100%] Built target voxl-dfs-server
                        voxl-cross:~$ ./make_package.sh 
                        
                        Package Name:  voxl-dfs-server
                        version Number:  0.2.0
                        [100%] Built target voxl-dfs-server
                        Install the project...
                        -- Install configuration: "Release"
                        -- Installing: ../ipk/data/etc/systemd/system/voxl-dfs-server.service
                        -- Installing: ../ipk/data/usr/bin/voxl-dfs-server
                        /home/root
                        ar: creating voxl-dfs-server_0.2.0.ipk
                        
                        DONE
                        voxl-cross:~$ 
                        
                        S Offline
                        S Offline
                        shlee853
                        Regular
                        wrote on last edited by
                        #12

                        @Alex-Gardner Thanks for your supports.

                        I realized voxl-docker s/w was updated 1 month ago.

                        I resolved this problem using newest voxl-docker.

                        swift@swift-HP-Pavilion-dv6-Notebook-PC:~/git$ cd voxl-dfs-server
                        swift@swift-HP-Pavilion-dv6-Notebook-PC:~/git/voxl-dfs-server$ ls
                        bash_completions  clean.sh        install_build_deps.sh  make_package.sh
                        build.sh          clients         install_on_voxl.sh     README.md
                        build_utils       CMakeLists.txt  ipk                    server
                        CHANGELOG         config          LICENSE                service
                        swift@swift-HP-Pavilion-dv6-Notebook-PC:~/git/voxl-dfs-server$ voxl-docker -i voxl-cross
                        launching image: voxl-cross with the following command:
                        docker run --rm -it --net=host --privileged -w /home/swift --volume=/dev/bus/usb:/dev/bus/usb -e LOCAL_USER_ID=0 -e LOCAL_USER_NAME=root -e LOCAL_GID=0 -v /home/swift/git/voxl-dfs-server:/home/root:rw -w /home/root voxl-cross /bin/bash -l
                        
                        voxl-cross:~$ 
                        voxl-cross:~$ 
                        voxl-cross:~$ ./install_build_deps.sh stable
                        using stable repository
                        Downloading http://voxl-packages.modalai.com/stable/Packages.gz.
                        Updated source 'stable'.
                        Installing libmodal_pipe (2.0.7) on root.
                        Downloading http://voxl-packages.modalai.com/stable/libmodal_pipe_2.0.7.ipk.
                        Configuring libmodal_pipe.
                        
                        Done installing libmodal_pipe
                        
                        Installing libmodal_json (0.3.5) on root.
                        Downloading http://voxl-packages.modalai.com/stable/libmodal_json_0.3.5.ipk.
                        Configuring libmodal_json.
                        
                        Done installing libmodal_json
                        
                        Installing opencv (4.5.2) on root.
                        Downloading http://voxl-packages.modalai.com/stable/opencv_4.5.2-1.ipk.
                        Configuring opencv.
                        
                        done installing opencv
                        
                        voxl-cross:~$ ./build.sh 
                        -- The C compiler identification is GNU 5.4.0
                        -- The CXX compiler identification is GNU 5.4.0
                        -- Check for working C compiler: /usr/bin/cc
                        -- Check for working C compiler: /usr/bin/cc -- works
                        -- Detecting C compiler ABI info
                        -- Detecting C compiler ABI info - done
                        -- Detecting C compile features
                        -- Detecting C compile features - done
                        -- Check for working CXX compiler: /usr/bin/c++
                        -- Check for working CXX compiler: /usr/bin/c++ -- works
                        -- Detecting CXX compiler ABI info
                        -- Detecting CXX compiler ABI info - done
                        -- Detecting CXX compile features
                        -- Detecting CXX compile features - done
                        -- Configuring done
                        -- Generating done
                        -- Build files have been written to: /home/root/build_utils/build
                        Scanning dependencies of target embedfile
                        [ 50%] Building C object CMakeFiles/embedfile.dir/src/embedfile.c.o
                        [100%] Linking C executable embedfile
                        [100%] Built target embedfile
                        -- The C compiler identification is GNU 4.9.3
                        -- The CXX compiler identification is GNU 4.9.3
                        -- Check for working C compiler: /usr/bin/aarch64-linux-gnu-gcc-4.9
                        -- Check for working C compiler: /usr/bin/aarch64-linux-gnu-gcc-4.9 -- works
                        -- Detecting C compiler ABI info
                        -- Detecting C compiler ABI info - done
                        -- Detecting C compile features
                        -- Detecting C compile features - done
                        -- Check for working CXX compiler: /usr/bin/aarch64-linux-gnu-g++-4.9
                        -- Check for working CXX compiler: /usr/bin/aarch64-linux-gnu-g++-4.9 -- works
                        -- Detecting CXX compiler ABI info
                        -- Detecting CXX compiler ABI info - done
                        -- Detecting CXX compile features
                        -- Detecting CXX compile features - done
                        -- Configuring done
                        -- Generating done
                        -- Build files have been written to: /home/root/build64
                        [ 15%] Generating sobel_filter_kernel_code.c
                        [ 15%] Generating disparity_kernel_code.c
                        [ 15%] Generating compute_dsi_kernel_code.c
                        [ 21%] Generating blur_kernel_code.c
                        [ 26%] Generating sparse_census_transform_kernel_code.c
                        Scanning dependencies of target voxl-dfs-server
                        [ 31%] Building C object server/CMakeFiles/voxl-dfs-server.dir/undistort.c.o
                        [ 36%] Building CXX object server/CMakeFiles/voxl-dfs-server.dir/opencl_manager.cpp.o
                        [ 42%] Building CXX object server/CMakeFiles/voxl-dfs-server.dir/sad_disparity_estimation.cpp.o
                        [ 47%] Building CXX object server/CMakeFiles/voxl-dfs-server.dir/box_filter_blur.cpp.o
                        [ 52%] Building CXX object server/CMakeFiles/voxl-dfs-server.dir/dfs_processing_engine.cpp.o
                        [ 57%] Building CXX object server/CMakeFiles/voxl-dfs-server.dir/main.cpp.o
                        [ 63%] Building CXX object server/CMakeFiles/voxl-dfs-server.dir/opencl_kernel.cpp.o
                        [ 68%] Building CXX object server/CMakeFiles/voxl-dfs-server.dir/sobel_filter.cpp.o
                        [ 73%] Building C object server/CMakeFiles/voxl-dfs-server.dir/blur_kernel_code.c.o
                        [ 78%] Building C object server/CMakeFiles/voxl-dfs-server.dir/disparity_kernel_code.c.o
                        [ 84%] Building C object server/CMakeFiles/voxl-dfs-server.dir/compute_dsi_kernel_code.c.o
                        [ 89%] Building C object server/CMakeFiles/voxl-dfs-server.dir/sparse_census_transform_kernel_code.c.o
                        [ 94%] Building C object server/CMakeFiles/voxl-dfs-server.dir/sobel_filter_kernel_code.c.o
                        [100%] Linking CXX executable voxl-dfs-server
                        [100%] Built target voxl-dfs-server
                        voxl-cross:~$ 
                        voxl-cross:~$ 
                        voxl-cross:~$ 
                        voxl-cross:~$ ./make_package.sh 
                        
                        Package Name:  voxl-dfs-server
                        version Number:  0.2.0
                        [100%] Built target voxl-dfs-server
                        Install the project...
                        -- Install configuration: "Release"
                        -- Installing: ../ipk/data/etc/systemd/system/voxl-dfs-server.service
                        -- Installing: ../ipk/data/usr/bin/voxl-dfs-server
                        /home/root
                        ar: creating voxl-dfs-server_0.2.0.ipk
                        
                        DONE
                        voxl-cross:~$ 
                        

                        Here is myvoxl-docker images

                        swift@swift-HP-Pavilion-dv6-Notebook-PC:~$ voxl-docker -l | grep "voxl"
                        voxl-cross       V1.1      77af6063e492   14 minutes ago   999MB
                        voxl-cross       latest    77af6063e492   14 minutes ago   999MB
                        voxl-emulator    V1.7      55d4f01b7bcd   7 weeks ago      3.33GB
                        voxl-emulator    latest    55d4f01b7bcd   7 weeks ago      3.33GB
                        voxl-hexagon     latest    8509f4e31f56   2 months ago     5.24GB
                        voxl-emulator    V1.5      323601eb49d7   4 months ago     3.2GB
                        swift@swift-HP-Pavilion-dv6-Notebook-PC:~$ 
                        

                        Thanks,

                        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

                        • Don't have an account? Register

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