Home > OS >  PX4 add new applications, shows CMake Error at CMake/px4_add_module CMake: 205 (get_target_property)
PX4 add new applications, shows CMake Error at CMake/px4_add_module CMake: 205 (get_target_property)

Time:01-25

Bosses, solve the trouble under the display can not find the DEPENDS platforms__common

error alarm:

[0/1] Re - running CMake...
- PX4 version: v1.11.0 -rc3-910 - g5868463d06
- PX4 config file:/home/liunx_one/Firmware/boards/PX4/fmu - v3/default. Cmake
- PX4 config: px4_fmu - v3_default
- PX4 platform: nuttx
- cmake build type: MinSizeRel
- ccache enabled (export CCACHE_DISABLE=1 to disable)
- Found PythonInterp:/usr/bin/python3 (Found suitable version "of" the 3.6.9, minimum required is "3")
- build type is MinSizeRel
- PX4 ECL: Very lightweight Estimation & amp; The Control Library v1.9.0 - rc1-491 - ga8e0e82
- Building and o px4_io - v2_default
- Found PythonInterp:/usr/bin/python3 (Found version "the 3.6.9")
- Using c + + 11
- Release build type: MinSizeRel
CMake Error at CMake/px4_add_module. CMake: 205 (get_target_property) :
Get_target_property () is called with a non - existent target "platforms__common".
The Call Stack (the most recent Call first) :
SRC/modules/px4_uorb_adver CMakeLists. TXT: 7 (PX4_add_module)


CMake Error at CMake/px4_add_module. CMake: 206 (if) :
If given the arguments:

"STREQUAL" STATIC_LIBRARY "
"
Unknown the arguments specified
The Call Stack (the most recent Call first) :
SRC/modules/px4_uorb_adver CMakeLists. TXT: 7 (PX4_add_module)


-- Configuring incomplete, errors occurred!
See also "/home/liunx_one/Firmware/build/px4_fmu v3_default/CMakeFiles/CMakeOutput log".
See also "/home/liunx_one/Firmware/build/px4_fmu v3_default/CMakeFiles/CMakeError log".
FAILED: build ninja
The/usr/bin/cmake - H/home/liunx_one/Firmware - B/home/liunx_one/Firmware/build/px4_fmu - v3_default
Ninja: error: rebuilding 'build. The ninja: subcommand failed
The Makefile: 217: the recipe for target 'px4_fmu - v3_default failed
Make: * * * [px4_fmu - v3_default] Error 1



This is CMakeLists. TXT

Px4_add_module (
The MODULE modules__px4_uorb_adver
The MAIN px4_uorb_adver
STACK_MAIN 2000 # program stack size
SRCS
Px4_uorb_adver. C
The DEPENDS
Platforms__common
)


  • Related