make modalai_rb5-flight_default does not generate .px4 file
-
I followed the steps stated in the build instruction -> https://gitlab.com/voxl-public/rb5-flight/rb5-flight-px4-build-docker. Everything works fine but the issue is that after make modalai_rb5-flight_default command, it does not generate the .px4 file.
root@61e767300b00:/usr/local/workspace# source /home/build-env.sh Setting up the Hexagon SDK environment locally HEXAGON_SDK_ROOT is : /home/4.1.0.4 Setting up the QAIC binary for the platform make: Entering directory '/home/4.1.0.4/ipc/fastrpc/qaic' make: Leaving directory '/home/4.1.0.4/ipc/fastrpc/qaic' Done root@61e767300b00:/usr/local/workspace# make clean root@61e767300b00:/usr/local/workspace# make modalai_rb5-flight_default -- PX4 version: v1.12.31-modalai-rb5-flight-beta -- PX4 config file: /usr/local/workspace/boards/modalai/rb5-flight/default.cmake -- PX4 config: modalai_rb5-flight_default -- PX4 platform: posix -- PX4 lockstep: disabled -- cmake build type: RelWithDebInfo CMake Deprecation Warning at /usr/share/cmake-3.16/Modules/CMakeForceCompiler.cmake:75 (message): The CMAKE_FORCE_C_COMPILER macro is deprecated. Instead just set CMAKE_C_COMPILER and allow CMake to identify the compiler. Call Stack (most recent call first): boards/modalai/cmake_hexagon/toolchain/Toolchain-aarch64-linux-gnu.cmake:89 (cmake_force_c_compiler) /usr/share/cmake-3.16/Modules/CMakeDetermineSystem.cmake:93 (include) CMakeLists.txt:202 (project) CMake Deprecation Warning at /usr/share/cmake-3.16/Modules/CMakeForceCompiler.cmake:89 (message): The CMAKE_FORCE_CXX_COMPILER macro is deprecated. Instead just set CMAKE_CXX_COMPILER and allow CMake to identify the compiler. Call Stack (most recent call first): boards/modalai/cmake_hexagon/toolchain/Toolchain-aarch64-linux-gnu.cmake:100 (cmake_force_cxx_compiler) /usr/share/cmake-3.16/Modules/CMakeDetermineSystem.cmake:93 (include) CMakeLists.txt:202 (project) CMake Deprecation Warning at /usr/share/cmake-3.16/Modules/CMakeForceCompiler.cmake:75 (message): The CMAKE_FORCE_C_COMPILER macro is deprecated. Instead just set CMAKE_C_COMPILER and allow CMake to identify the compiler. Call Stack (most recent call first): boards/modalai/cmake_hexagon/toolchain/Toolchain-aarch64-linux-gnu.cmake:89 (cmake_force_c_compiler) build/modalai_rb5-flight_default/CMakeFiles/3.16.3/CMakeSystem.cmake:6 (include) CMakeLists.txt:202 (project) CMake Deprecation Warning at /usr/share/cmake-3.16/Modules/CMakeForceCompiler.cmake:89 (message): The CMAKE_FORCE_CXX_COMPILER macro is deprecated. Instead just set CMAKE_CXX_COMPILER and allow CMake to identify the compiler. Call Stack (most recent call first): boards/modalai/cmake_hexagon/toolchain/Toolchain-aarch64-linux-gnu.cmake:100 (cmake_force_cxx_compiler) build/modalai_rb5-flight_default/CMakeFiles/3.16.3/CMakeSystem.cmake:6 (include) CMakeLists.txt:202 (project) -- The ASM compiler identification is GNU -- Found assembler: /home/4.1.0.4/tools/linaro64/bin/aarch64-linux-gnu-gcc -- Building for code coverage -- ccache enabled (export CCACHE_DISABLE=1 to disable) -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.8.10", minimum required is "3") -- build type is RelWithDebInfo -- PX4 ECL: Very lightweight Estimation & Control Library v1.9.0-rc1-510-gaee69f2 -- parameter server enabled Generated generate_px4muorb_stubs target -- Configuring done -- Generating done -- Build files have been written to: /usr/local/workspace/build/modalai_rb5-flight_default -- PX4 version: v1.12.31-modalai-rb5-flight-beta -- PX4 config file: /usr/local/workspace/boards/modalai/rb5-flight/default.cmake -- PX4 config: modalai_rb5-flight_default -- PX4 platform: posix -- PX4 lockstep: disabled -- cmake build type: RelWithDebInfo CMake Deprecation Warning at /usr/share/cmake-3.16/Modules/CMakeForceCompiler.cmake:75 (message): The CMAKE_FORCE_C_COMPILER macro is deprecated. Instead just set CMAKE_C_COMPILER and allow CMake to identify the compiler. Call Stack (most recent call first): boards/modalai/cmake_hexagon/toolchain/Toolchain-aarch64-linux-gnu.cmake:89 (cmake_force_c_compiler) build/modalai_rb5-flight_default/CMakeFiles/3.16.3/CMakeSystem.cmake:6 (include) CMakeLists.txt:202 (project) CMake Deprecation Warning at /usr/share/cmake-3.16/Modules/CMakeForceCompiler.cmake:89 (message): The CMAKE_FORCE_CXX_COMPILER macro is deprecated. Instead just set CMAKE_CXX_COMPILER and allow CMake to identify the compiler. Call Stack (most recent call first): boards/modalai/cmake_hexagon/toolchain/Toolchain-aarch64-linux-gnu.cmake:100 (cmake_force_cxx_compiler) build/modalai_rb5-flight_default/CMakeFiles/3.16.3/CMakeSystem.cmake:6 (include) CMakeLists.txt:202 (project) -- Building for code coverage -- ccache enabled (export CCACHE_DISABLE=1 to disable) -- build type is RelWithDebInfo -- PX4 ECL: Very lightweight Estimation & Control Library v1.9.0-rc1-510-gaee69f2 -- parameter server enabled Generated generate_px4muorb_stubs target -- Configuring done -- Generating done -- Build files have been written to: /usr/local/workspace/build/modalai_rb5-flight_default [0/541] git submodule src/drivers/gps/devices [1/541] git submodule src/lib/ecl [5/541] git submodule mavlink/include/mavlink/v2.0 [541/541] Linking CXX executable bin/px4 -
I followed the steps stated in the build instruction -> https://gitlab.com/voxl-public/rb5-flight/rb5-flight-px4-build-docker. Everything works fine but the issue is that after make modalai_rb5-flight_default command, it does not generate the .px4 file.
root@61e767300b00:/usr/local/workspace# source /home/build-env.sh Setting up the Hexagon SDK environment locally HEXAGON_SDK_ROOT is : /home/4.1.0.4 Setting up the QAIC binary for the platform make: Entering directory '/home/4.1.0.4/ipc/fastrpc/qaic' make: Leaving directory '/home/4.1.0.4/ipc/fastrpc/qaic' Done root@61e767300b00:/usr/local/workspace# make clean root@61e767300b00:/usr/local/workspace# make modalai_rb5-flight_default -- PX4 version: v1.12.31-modalai-rb5-flight-beta -- PX4 config file: /usr/local/workspace/boards/modalai/rb5-flight/default.cmake -- PX4 config: modalai_rb5-flight_default -- PX4 platform: posix -- PX4 lockstep: disabled -- cmake build type: RelWithDebInfo CMake Deprecation Warning at /usr/share/cmake-3.16/Modules/CMakeForceCompiler.cmake:75 (message): The CMAKE_FORCE_C_COMPILER macro is deprecated. Instead just set CMAKE_C_COMPILER and allow CMake to identify the compiler. Call Stack (most recent call first): boards/modalai/cmake_hexagon/toolchain/Toolchain-aarch64-linux-gnu.cmake:89 (cmake_force_c_compiler) /usr/share/cmake-3.16/Modules/CMakeDetermineSystem.cmake:93 (include) CMakeLists.txt:202 (project) CMake Deprecation Warning at /usr/share/cmake-3.16/Modules/CMakeForceCompiler.cmake:89 (message): The CMAKE_FORCE_CXX_COMPILER macro is deprecated. Instead just set CMAKE_CXX_COMPILER and allow CMake to identify the compiler. Call Stack (most recent call first): boards/modalai/cmake_hexagon/toolchain/Toolchain-aarch64-linux-gnu.cmake:100 (cmake_force_cxx_compiler) /usr/share/cmake-3.16/Modules/CMakeDetermineSystem.cmake:93 (include) CMakeLists.txt:202 (project) CMake Deprecation Warning at /usr/share/cmake-3.16/Modules/CMakeForceCompiler.cmake:75 (message): The CMAKE_FORCE_C_COMPILER macro is deprecated. Instead just set CMAKE_C_COMPILER and allow CMake to identify the compiler. Call Stack (most recent call first): boards/modalai/cmake_hexagon/toolchain/Toolchain-aarch64-linux-gnu.cmake:89 (cmake_force_c_compiler) build/modalai_rb5-flight_default/CMakeFiles/3.16.3/CMakeSystem.cmake:6 (include) CMakeLists.txt:202 (project) CMake Deprecation Warning at /usr/share/cmake-3.16/Modules/CMakeForceCompiler.cmake:89 (message): The CMAKE_FORCE_CXX_COMPILER macro is deprecated. Instead just set CMAKE_CXX_COMPILER and allow CMake to identify the compiler. Call Stack (most recent call first): boards/modalai/cmake_hexagon/toolchain/Toolchain-aarch64-linux-gnu.cmake:100 (cmake_force_cxx_compiler) build/modalai_rb5-flight_default/CMakeFiles/3.16.3/CMakeSystem.cmake:6 (include) CMakeLists.txt:202 (project) -- The ASM compiler identification is GNU -- Found assembler: /home/4.1.0.4/tools/linaro64/bin/aarch64-linux-gnu-gcc -- Building for code coverage -- ccache enabled (export CCACHE_DISABLE=1 to disable) -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.8.10", minimum required is "3") -- build type is RelWithDebInfo -- PX4 ECL: Very lightweight Estimation & Control Library v1.9.0-rc1-510-gaee69f2 -- parameter server enabled Generated generate_px4muorb_stubs target -- Configuring done -- Generating done -- Build files have been written to: /usr/local/workspace/build/modalai_rb5-flight_default -- PX4 version: v1.12.31-modalai-rb5-flight-beta -- PX4 config file: /usr/local/workspace/boards/modalai/rb5-flight/default.cmake -- PX4 config: modalai_rb5-flight_default -- PX4 platform: posix -- PX4 lockstep: disabled -- cmake build type: RelWithDebInfo CMake Deprecation Warning at /usr/share/cmake-3.16/Modules/CMakeForceCompiler.cmake:75 (message): The CMAKE_FORCE_C_COMPILER macro is deprecated. Instead just set CMAKE_C_COMPILER and allow CMake to identify the compiler. Call Stack (most recent call first): boards/modalai/cmake_hexagon/toolchain/Toolchain-aarch64-linux-gnu.cmake:89 (cmake_force_c_compiler) build/modalai_rb5-flight_default/CMakeFiles/3.16.3/CMakeSystem.cmake:6 (include) CMakeLists.txt:202 (project) CMake Deprecation Warning at /usr/share/cmake-3.16/Modules/CMakeForceCompiler.cmake:89 (message): The CMAKE_FORCE_CXX_COMPILER macro is deprecated. Instead just set CMAKE_CXX_COMPILER and allow CMake to identify the compiler. Call Stack (most recent call first): boards/modalai/cmake_hexagon/toolchain/Toolchain-aarch64-linux-gnu.cmake:100 (cmake_force_cxx_compiler) build/modalai_rb5-flight_default/CMakeFiles/3.16.3/CMakeSystem.cmake:6 (include) CMakeLists.txt:202 (project) -- Building for code coverage -- ccache enabled (export CCACHE_DISABLE=1 to disable) -- build type is RelWithDebInfo -- PX4 ECL: Very lightweight Estimation & Control Library v1.9.0-rc1-510-gaee69f2 -- parameter server enabled Generated generate_px4muorb_stubs target -- Configuring done -- Generating done -- Build files have been written to: /usr/local/workspace/build/modalai_rb5-flight_default [0/541] git submodule src/drivers/gps/devices [1/541] git submodule src/lib/ecl [5/541] git submodule mavlink/include/mavlink/v2.0 [541/541] Linking CXX executable bin/px4@stevedan It is better to use this wrapper project to build px4: https://gitlab.com/voxl-public/voxl-sdk/services/voxl-px4. Use the instructions in the readme for that project instead of the documentation you were looking at. Sorry for the confusion!
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