CMake Error at C:/ncs/v2.9.0/zephyr/cmake/modules/kconfig.cmake:396 (message):

 
I Have been trying to interface mpu6050 with nrf5340 DK .
f(NOT "${ret}" STREQUAL "0")
  message(FATAL_ERROR "command failed with return code: ${ret}")
endif()
CMake Error at C:/ncs/v2.9.0/zephyr/cmake/modules/kconfig.cmake:396 (message):   
How to rectify this error.
Parents
  • Hi,

    Can you elaborate a bit on what you are doing, how you ave attempted to interface th empu6050, and share the full build log? (You can use Insert -> Code to make it readable)

  • -- Configuring incomplete, errors occurred!
    See also "C:/peripheral_lbs/build/peripheral_lbs/CMakeFiles/CMakeOutput.log".
    See also "C:/peripheral_lbs/build/peripheral_lbs/CMakeFiles/CMakeError.log".
    ninja: error: rebuilding 'build.ninja': subcommand failed
    FAILED: build.ninja
    C:\ncs\toolchains\b620d30767\opt\bin\cmake.exe --regenerate-during-build -SC:\peripheral_lbs -BC:\peripheral_lbs\build\peripheral_lbs
    FATAL ERROR: command exited with status 1: 'C:\ncs\toolchains\b620d30767\opt\bin\cmake.EXE' --build 'c:\peripheral_lbs\build\peripheral_lbs'

    * The terminal process terminated with exit code: 1.
    * Terminal will be reused by tasks, press any key to close it.

Reply
  • -- Configuring incomplete, errors occurred!
    See also "C:/peripheral_lbs/build/peripheral_lbs/CMakeFiles/CMakeOutput.log".
    See also "C:/peripheral_lbs/build/peripheral_lbs/CMakeFiles/CMakeError.log".
    ninja: error: rebuilding 'build.ninja': subcommand failed
    FAILED: build.ninja
    C:\ncs\toolchains\b620d30767\opt\bin\cmake.exe --regenerate-during-build -SC:\peripheral_lbs -BC:\peripheral_lbs\build\peripheral_lbs
    FATAL ERROR: command exited with status 1: 'C:\ncs\toolchains\b620d30767\opt\bin\cmake.EXE' --build 'c:\peripheral_lbs\build\peripheral_lbs'

    * The terminal process terminated with exit code: 1.
    * Terminal will be reused by tasks, press any key to close it.

Children
Related