Hi team, there is no syntax error in the code still there is "built failed" massages appears

1. all files were successfully attached 

2. there is no syntax error, there are only warnings

3. Please help me to resolve this problems as soon as possible.

Parents Reply
  • Hi priyanka,

    Here's is the messages :

    Building ‘AMR_ble_app_beacon_pca10040_s132’ from solution ‘AMR_ble_app_beacon_pca10040_s132’ in configuration ‘Debug’
    1> Linking AMR_ble_app_beacon_pca10040_s132.elf
    1> C:/Program Files/SEGGER/SEGGER Embedded Studio for ARM 5.50d/gcc/arm-none-eabi/bin/ld: Output/Debug/Obj/AMR_ble_app_beacon_pca10040_s132/VL53L1X_HTS221_LIS2DW12.o:C:\Nordic\nRF5_SDK_15.0.0_a53641a\examples\ble_peripheral\ble_app_beacon+AMR_pulse_count 10_8_21_battery_consuption_21_01_2022\VL53L1X_HTS221_LIS2DW12_Driver/VL53L1X_HTS221_LIS2DW12.c:123: multiple definition of `i'; Output/Debug/Obj/AMR_ble_app_beacon_pca10040_s132/main.o:C:\Nordic\nRF5_SDK_15.0.0_a53641a\examples\ble_peripheral\ble_app_beacon+AMR_pulse_count 10_8_21_battery_consuption_21_01_2022/main.c:134: first defined here
    Build failed.

Children
Related