DWM3001CDK nearby interaction beta build error

Hi there,

I am dipping my toes into the deep end of embedded software engineering. I am having an issue building the “Qorvo Nearby Interaction Beta” for the DWM3001CDK board.

The error I am getting is that nrf_error.h could not be found. Full output below.

Building ‘DWM3001CDK’ from solution ‘DWM3001CDK’ in configuration ‘Release’
  Assembling ‘thumb_crt0.s’
  Compiling ‘nrf_log_backend_rtt.c’
    
    nrf_log_backend_rtt.c
    nrf_error.h: No such file or directory
  Compiling ‘nrf_log_backend_serial.c’
    
    nrf_log_backend_serial.c
    nrf_error.h: No such file or directory
  Compiling ‘nrf_log_backend_uart.c’
    
    nrf_log_backend_uart.c
    nrf_error.h: No such file or directory
  Compiling ‘nrf_log_default_backends.c’
    
    nrf_log_default_backends.c
    nrf_error.h: No such file or directory
  Compiling ‘nrf_log_frontend.c’
    
    nrf_log_frontend.c
    nrf_error.h: No such file or directory
  Compiling ‘nrf_log_str_formatter.c’
    
    nrf_log_str_formatter.c
    nrf_error.h: No such file or directory
  Compiling ‘app_button.c’
    
    app_button.c
    nrf_error.h: No such file or directory
  Compiling ‘app_error.c’
    
    app_error.c
    core_cm4.h: No such file or directory
  Compiling ‘app_error_handler_gcc.c’
    sdk_common.h
    app_error_handler_gcc.c
    nrf_error.h: No such file or directory
  Compiling ‘app_error_weak.c’
    
    app_error.h
    app_error_weak.c
    core_cm4.h: No such file or directory
  Compiling ‘app_timer_freertos.c’
    
    app_timer_freertos.c
    nrf_error.h: No such file or directory
  Compiling ‘app_util_platform.c’
    
    app_util_platform.h
    app_util_platform.c
    core_cm4.h: No such file or directory
  Compiling ‘fds.c’
    
    fds.c
    nrf_error.h: No such file or directory
  Compiling ‘hardfault_handler_gcc.c’
    
    hardfault_handler_gcc.c
    nrf_error.h: No such file or directory
  Compiling ‘hardfault_implementation.c’
    
    hardfault_implementation.c
    nrf_error.h: No such file or directory
  Compiling ‘nrf_assert.c’
    
    nrf_assert.h
    nrf_assert.c
    core_cm4.h: No such file or directory
Build failed

I would very much appreciate any help that could be provided.

Regards
Ryan

I seem to be whittling down the issues. Some of them seem to be the path length on windows and some of them related to the version of SES.

Which version of SES should I be using to build the application?

The current error I am getting is

Building ‘DWM3001CDK’ from solution ‘DWM3001CDK’ in configuration ‘Debug’
  Compiling ‘nrfx_usbd.c’
  Compiling ‘nrf_drv_rng.c’
  Compiling ‘nrfx_rng.c’
  Compiling ‘bsp.c’
  Compiling ‘bsp_btn_ble.c’
  Compiling ‘app_config.c’
  Compiling ‘default_config.c’
  Compiling ‘SEGGER_RTT.c’
  Compiling ‘SEGGER_RTT_Syscalls_SES.c’
  Compiling ‘SEGGER_RTT_printf.c’
  Compiling ‘ble_advdata.c’
  Compiling ‘ble_advertising.c’
  Compiling ‘ble_conn_params.c’
  Compiling ‘ble_conn_state.c’
  Compiling ‘ble_srv_common.c’
  Compiling ‘gatt_cache_manager.c’
  Compiling ‘gatts_cache_manager.c’
  Compiling ‘id_manager.c’
  Compiling ‘nrf_ble_gatt.c’
  Compiling ‘nrf_ble_qwr.c’
  Compiling ‘peer_data_storage.c’
  Compiling ‘peer_database.c’
  Compiling ‘peer_id.c’
  Compiling ‘peer_manager.c’
  Compiling ‘peer_manager_handler.c’
  Compiling ‘pm_buffer.c’
  Compiling ‘security_dispatcher.c’
  Compiling ‘security_manager.c’
  Compiling ‘ble_link_ctx_manager.c’
  Compiling ‘auth_status_tracker.c’
  Compiling ‘utf.c’
  Compiling ‘ble_bas.c’
  Compiling ‘ble_dis.c’
  Compiling ‘ble_hrs.c’
  Compiling ‘ble_nus.c’
  Compiling ‘nrf_sdh.c’
  Compiling ‘nrf_sdh_ble.c’
  Compiling ‘nrf_sdh_freertos.c’
  Compiling ‘nrf_sdh_soc.c’
  Compiling ‘cmsis_os.c’
  Compiling ‘alloc.c’
  Compiling ‘common_fira.c’
  Compiling ‘fira_app.c’
  Compiling ‘app.c’
  Compiling ‘EventManager.c’
  Compiling ‘dw3000_mcps_mcu.c’
  Compiling ‘dw3000_xtal_trim.c’
  Compiling ‘main_uwb.c’
  Compiling ‘DWM3001CDK.c’
  Compiling ‘deca_dbg.c’
  Compiling ‘translate.c’
  Compiling ‘util.c’
  Compiling ‘HAL_rtc.c’
  Compiling ‘HAL_watchdog.c’
  Compiling ‘HAL_SPI.c’
  Compiling ‘HAL_DW3000.c’
  Compiling ‘HAL_sleep.c’
  Compiling ‘HAL_error.c’
  Compiling ‘mcps_crypto.c’
  Compiling ‘FreeRTOS_idle_hook.c’
  Compiling ‘ble.c’
  Compiling ‘main.c’
  Generating linker script ‘DWM3001CDK.ld’
  Linking DWM3001CDK.elf
    Output/Debug/Obj/DWM3001CDK/ses_startup_nrf_common.o: in function `afterInitialize':
    undefined reference to `_start'
Build failed
1 Like

For anyone else. I successfully built the project by using SES v5.70a and going to ‘Build → Clean Solution’ beforehand.

1 Like