Topics

Not able to build any project


vikrant8051 <vikrant8051@...>
 

Hello,

After latest sync with master branch not able to build any project ....

For details this is log for building hello_world app ...

-----------------------------------------------------------------------------------------------------------------------------

root@computer:/home/vikrant/zephyr/samples/hello_world/build# cmake -GNinja -DBOARD=nrf52840_pca10056 ..
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.6.6", minimum required is "3.4")
-- Selected BOARD nrf52840_pca10056
Zephyr version: 1.13.99
Parsing Kconfig tree in /home/vikrant/zephyr/Kconfig
Loading /home/vikrant/zephyr/boards/arm/nrf52840_pca10056/nrf52840_pca10056_defconfig as base
Merging /home/vikrant/zephyr/samples/hello_world/prj.conf
-- Generating zephyr/include/generated/generated_dts_board.h
nrf52840_pca10056.dts_compiled: Warning (unique_unit_address): /soc/i2c@40003000: duplicate unit-address (also used in node /soc/spi@40003000)
nrf52840_pca10056.dts_compiled: Warning (unique_unit_address): /soc/i2c@40004000: duplicate unit-address (also used in node /soc/spi@40004000)
-- Cache files will be written to: /root/.cache/zephyr
-- The C compiler identification is GNU 6.2.0
-- The CXX compiler identification is GNU 6.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/zephyr-sdk/sysroots/x86_64-pokysdk-linux/usr/bin/arm-zephyr-eabi/arm-zephyr-eabi-gcc
-- Performing Test toolchain_is_ok
-- Performing Test toolchain_is_ok - Success
-- Configuring done
CMake Error at ../../CMakeLists.txt:1226 (target_link_libraries):
  Error evaluating generator expression:

    $<TARGET_OBJECTS:offsets>

  The evaluation of the TARGET_OBJECTS generator expression is only suitable
  for consumption by CMake.  It is not suitable for writing out elsewhere.


CMake Error at ../../CMakeLists.txt:1191 (target_link_libraries):
  Error evaluating generator expression:

    $<TARGET_OBJECTS:offsets>

  The evaluation of the TARGET_OBJECTS generator expression is only suitable
  for consumption by CMake.  It is not suitable for writing out elsewhere.


CMake Error at ../../CMakeLists.txt:570 (add_custom_command):
  Error evaluating generator expression:

    $<TARGET_OBJECTS:offsets>

  The evaluation of the TARGET_OBJECTS generator expression is only suitable
  for consumption by CMake.  It is not suitable for writing out elsewhere.


CMake Error at ../../CMakeLists.txt:570 (add_custom_command):
  Error evaluating generator expression:

    $<TARGET_OBJECTS:offsets>

  The evaluation of the TARGET_OBJECTS generator expression is only suitable
  for consumption by CMake.  It is not suitable for writing out elsewhere.


CMake Error at ../../CMakeLists.txt:570 (add_custom_command):
  Error evaluating generator expression:

    $<TARGET_OBJECTS:offsets>

  The evaluation of the TARGET_OBJECTS generator expression is only suitable
  for consumption by CMake.  It is not suitable for writing out elsewhere.


-- Generating done
-- Build files have been written to: /home/vikrant/zephyr/samples/hello_world/build

Thank You !!