# \[ISSUE\] Cloud compile error

**URL:** <https://community.particle.io/t/issue-cloud-compile-error/63309>\
**Category:** Particle Workbench\
**Tags:** tracker-som\
**Created:** [October 11, 2022, 10:26am UTC](https://community.particle.io/t/issue-cloud-compile-error/63309 "2022-10-11T10:26:01Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![mismoeigenheim](https://avatars.discourse-cdn.com/v4/letter/m/bc8723/32.png) [@mismoeigenheim](https://community.particle.io/u/mismoeigenheim)\
**Post date:** [October 11, 2022, 10:26am UTC](https://community.particle.io/t/issue-cloud-compile-error/63309/1 "2022-10-11T10:26:01Z")

</div>

I try to compile my modified Tracker One software in the cloud but I get the following error message.

Visual Studio Code v1.71.2  
Particle Workbench v1.15.5

```auto
Compiling code for tracker
Targeting version: 4.0.0

Including:
    lib/bmi160/src/bmi160.h
    lib/bmi160/src/bmi160regs.h
    lib/can-mcp25x/src/mcp_can_dfs.h
    lib/can-mcp25x/src/mcp_can.h
    lib/fw-config-service/src/background_publish.h
    lib/fw-config-service/src/cloud_service.h
    lib/fw-config-service/src/config_service_nodes.h
    lib/fw-config-service/src/config_service.h
    lib/fw-config-service/src/murmur3.h
    lib/geofence/src/Geofence.h
    lib/geofence/test/Particle.h
    lib/geofence/test/spark_wiring_vector.h
    lib/gps-nmea-parser/src/gps/gps.h
    lib/gps-ublox/src/ubloxGPS.h
    lib/Thermistor/src/thermistor.h
    src/gnss_led.h
    src/location_service.h
    src/motion_service.h
    src/temperature.h
    src/tracker_cellular.h
    src/tracker_config.h
    src/tracker_location.h
    src/tracker_motion.h
    src/tracker_rgb.h
    src/tracker_shipping.h
    src/tracker_sleep.h
    src/tracker.h
    lib/geofence/test/catch.hpp
    lib/bmi160/src/bmi160.cpp
    lib/bmi160/test/main.cpp
    lib/can-mcp25x/example/test.cpp
    lib/can-mcp25x/src/mcp_can.cpp
    lib/fw-config-service/src/background_publish.cpp
    lib/fw-config-service/src/cloud_service.cpp
    lib/fw-config-service/src/config_service.cpp
    lib/fw-config-service/src/murmur3.cpp
    lib/geofence/examples/usage/usage.cpp
    lib/geofence/src/Geofence.cpp
    lib/geofence/test/Particle.cpp
    lib/geofence/test/test.cpp
    lib/gps-nmea-parser/src/gps/gps.cpp
    lib/gps-ublox/src/ubloxGPS.cpp
    lib/Thermistor/test/main.cpp
    src/gnss_led.cpp
    src/location_service.cpp
    src/main.cpp
    src/motion_service.cpp
    src/temperature.cpp
    src/tracker_cellular.cpp
    src/tracker_location.cpp
    src/tracker_motion.cpp
    src/tracker_rgb.cpp
    src/tracker_shipping.cpp
    src/tracker_sleep.cpp
    src/tracker.cpp
    project.properties

attempting to compile firmware
Compile failed: make -C ../modules/tracker/user-part all
make[1]: Entering directory `/firmware/modules/tracker/user-part'

mkdir -p target/
make -f ../../../modules/shared/nRF52840/build_linker_script.mk PREBUILD=1
make[2]: Entering directory `/firmware/modules/tracker/user-part'
Creating target/platform_user_ram.ld ...
make[2]: Leaving directory `/firmware/modules/tracker/user-part'

make -C ../../../user 
make[2]: Entering directory `/firmware/user'
Building cpp file: src/tracker_rgb.cpp
Invoking: ARM GCC CPP Compiler
mkdir -p ../build/target/user/platform-26-msrc/
arm-none-eabi-gcc -DMCU_DEVICE -DnRF52840 -DNRF52840_XXAA -DPLATFORM_THREADING=1 -DPLATFORM_ID=26 -DPLATFORM_NAME=tracker -DPLATFORM_GEN=3 -DUSBD_VID_PARTICLE=0x2B04 -DUSBD_PID_DFU=0xD01A -DUSBD_PID_CDC=0xC01A -DSPARK_PLATFORM -g3 -gdwarf-2 -Os -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfloat-abi=hard -mfpu=fpv4-sp-d16 --specs=nano.specs -DINCLUDE_PLATFORM=1 -DSOFTDEVICE_PRESENT=1 -DS140 -DPRODUCT_ID=26 -DPRODUCT_FIRMWARE_VERSION=65535 -D_WIZCHIP_=W5500 -DUSE_STDPERIPH_DRIVER -DDFU_BUILD_ENABLE -DLFS_CONFIG=lfs_config.h -DSYSTEM_VERSION_STRING=4.0.0 -DRELEASE_BUILD -I./inc -I../wiring/inc -I../system/inc -I../services/inc -I../third_party/nanopb/nanopb -I../communication/inc -I../hal/inc -I../hal/shared -I../hal/src/tracker -I../hal/network/lwip/cellular -I../hal/network/lwip/esp32 -I../hal/network/ncp/wifi -I../hal/src/nRF52840 -I../hal/src/armv7 -I../hal/src/nRF52840 -I../hal/src/nRF52840/lwip -I../hal/src/nRF52840/freertos -I../hal/src/nRF52840/mbedtls -I../hal/src/nRF52840/littlefs -I../hal -I../hal/src/nRF52840/posix -I../hal/network -I../hal/network/api -I../hal/network/lwip -I../hal/network/lwip/posix -I../hal/network/lwip/wiznet -I../hal/network/ncp -I../hal/network/ncp/at_parser -I../hal/network/util -I../third_party/lwip/lwip/src/include -I../third_party/freertos/freertos/FreeRTOS/Source/include -I../third_party/nrf5_sdk/nrf5_sdk/external/freertos/portable/GCC/nrf52 -I../third_party/nrf5_sdk/nrf5_sdk/external/freertos/portable/CMSIS/nrf52 -I../third_party/wiznet_driver/wiznet_driver/Ethernet -I../gsm0710muxer/gsm0710muxer/include -I../platform/shared/inc -I../third_party/nrf5_sdk -I../third_party/nrf5_sdk/nrf5_sdk/components/toolchain/cmsis/include -I../third_party/nrf5_sdk/nrf5_sdk/modules/nrfx -I../third_party/nrf5_sdk/nrf5_sdk/modules/nrfx/drivers -I../third_party/nrf5_sdk/nrf5_sdk/modules/nrfx/drivers/include -I../third_party/nrf5_sdk/nrf5_sdk/modules/nrfx/hal -I../third_party/nrf5_sdk/nrf5_sdk/modules/nrfx/mdk -I../third_party/nrf5_sdk/nrf5_sdk/modules/nrfx/hal -I../third_party/nrf5_sdk/nrf5_sdk/modules/nrfx/drivers/src/prs -I../third_party/nrf5_sdk/nrf5_sdk/components/libraries/util -I../third_party/nrf5_sdk/nrf5_sdk/components/softdevice/s140/headers -I../third_party/nrf5_sdk/nrf5_sdk/components/softdevice/s140/headers/nrf52 -I../third_party/nrf5_sdk/nrf5_sdk/components/softdevice/common -I../third_party/nrf5_sdk/nrf5_sdk/components/softdevice/mbr/nrf52840/headers -I../third_party/nrf5_sdk/nrf5_sdk/components/libraries/fstorage -I../third_party/nrf5_sdk/nrf5_sdk/components/libraries/experimental_section_vars -I../third_party/nrf5_sdk/nrf5_sdk/components/libraries/atomic -I../third_party/nrf5_sdk/nrf5_sdk/components/libraries/crc32 -I../third_party/nrf5_sdk/nrf5_sdk/integration/nrfx/legacy -I../third_party/nrf5_sdk/nrf5_sdk/components/libraries/delay -I../third_party/nrf5_sdk/nrf5_sdk/components/libraries/log -I../third_party/nrf5_sdk/nrf5_sdk/components/libraries/log -I../third_party/nrf5_sdk/nrf5_sdk/components/libraries/log/src -I../third_party/nrf5_sdk/nrf5_sdk/components/libraries/experimental_section_vars -I../third_party/nrf5_sdk/nrf5_sdk/components/libraries/atomic -I../third_party/nrf5_sdk/nrf5_sdk/components/libraries/delay -I../third_party/nrf5_sdk/nrf5_sdk/components/libraries/queue -I../third_party/nrf5_sdk/nrf5_sdk/components/softdevice/common -I../third_party/nrf5_sdk/nrf5_sdk/components/softdevice/s140 -I../third_party/nrf5_sdk/nrf5_sdk/components/softdevice/s140/headers -I../third_party/nrf5_sdk/nrf5_sdk/components/softdevice/s140/headers/nrf52 -I../third_party/nrf5_sdk/nrf5_sdk/components/libraries/fifo -I../third_party/nrf5_sdk/nrf5_sdk/components/libraries/atomic_fifo -I../third_party/nrf5_sdk/nrf5_sdk/components/libraries/strerror -I../third_party/nrf5_sdk/nrf5_sdk/components/libraries/fstorage -I../third_party/nrf5_sdk/nrf5_sdk/components/libraries/atomic_flags -I../third_party/nrf5_sdk/nrf5_sdk/components/libraries/usbd -I../third_party/nrf5_sdk/nrf5_sdk/components/libraries/usbd/class/cdc -I../third_party/nrf5_sdk/nrf5_sdk/components/libraries/usbd/class/cdc/acm -I../third_party/nrf5_sdk/nrf5_sdk/components/ble/common -I../third_party/nrf5_sdk/nrf5_sdk/components/ble/nrf_ble_gatt -I../third_party/nrf5_sdk/nrf5_sdk/components/ble/ble_advertising -I../third_party/nrf5_sdk/nrf5_sdk/components/nfc/t2t_lib -I../third_party/nrf5_sdk/nrf5_sdk/components/nfc/platform -I../third_party/nrf5_sdk/nrf5_sdk/components/nfc/ndef/generic/message -I../third_party/nrf5_sdk/nrf5_sdk/components/nfc/ndef/generic/record -I../third_party/nrf5_sdk/nrf5_sdk/components/nfc/ndef/lauchapp -I../third_party/nrf5_sdk/nrf5_sdk/components/nfc/ndef/text -I../third_party/nrf5_sdk/nrf5_sdk/components/nfc/ndef/uri -I../third_party/nrf5_sdk/nrf5_sdk/external/nrf_cc310/include -I../third_party/nrf5_sdk/nrf5_sdk/external/utf_converter -I../third_party/littlefs/littlefs -I../third_party/miniz/miniz -I../platform/MCU/nRF52840/inc -I../dynalib/inc -Isrc -I./libraries -Ilib/bmi160/src -Ilib/gps-nmea-parser/src -Ilib/gps-ublox/src -Ilib/fw-config-service/src -Ilib/Thermistor/src -Ilib/geofence/src -Ilib/can-mcp25x/src -I. -MD -MP -MF ../build/target/user/platform-26-msrc/tracker_rgb.o.d -ffunction-sections -fdata-sections -Wall -Wno-switch -fmessage-length=0 -Wno-error=deprecated-declarations -Wno-error=unused-parameter -Wimplicit-fallthrough=2 -Wno-expansion-to-defined -Wno-cast-function-type -Wno-unused-parameter -Wno-error=type-limits -fno-strict-aliasing -DSPARK=1 -DPARTICLE=1 -Werror=return-type -Wundef -DSTART_DFU_FLASHER_SERIAL_SPEED=14400 -DSTART_YMODEM_FLASHER_SERIAL_SPEED=28800 -DSPARK_PLATFORM_NET=QUECTEL -fno-builtin-malloc -fno-builtin-free -fno-builtin-realloc -DLOG_INCLUDE_SOURCE_INFO=1 -DPARTICLE_USER_MODULE -DUSER_FIRMWARE_IMAGE_SIZE=0x40000 -DUSER_FIRMWARE_IMAGE_LOCATION=0xB4000 -DMODULAR_FIRMWARE=1 -DMODULE_VERSION=6 -DMODULE_FUNCTION=5 -DMODULE_INDEX=2 -DMODULE_DEPENDENCY=4,1,4003 -DMODULE_DEPENDENCY2=0,0,0 -D_GNU_SOURCE -DLOG_MODULE_CATEGORY="\"app\"" -fno-exceptions -fno-rtti -fcheck-new -flto -ffat-lto-objects -DPARTICLE_COMPILE_LTO_FAT -fno-use-cxa-atexit -std=gnu++17 -c -o ../build/target/user/platform-26-msrc/tracker_rgb.o src/tracker_rgb.cpp

Building cpp file: src/tracker.cpp
Invoking: ARM GCC CPP Compiler
mkdir -p ../build/target/user/platform-26-msrc/
arm-none-eabi-gcc -DMCU_DEVICE -DnRF52840 -DNRF52840_XXAA -DPLATFORM_THREADING=1 -DPLATFORM_ID=26 -DPLATFORM_NAME=tracker -DPLATFORM_GEN=3 -DUSBD_VID_PARTICLE=0x2B04 -DUSBD_PID_DFU=0xD01A -DUSBD_PID_CDC=0xC01A -DSPARK_PLATFORM -g3 -gdwarf-2 -Os -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfloat-abi=hard -mfpu=fpv4-sp-d16 --specs=nano.specs -DINCLUDE_PLATFORM=1 -DSOFTDEVICE_PRESENT=1 -DS140 -DPRODUCT_ID=26 -DPRODUCT_FIRMWARE_VERSION=65535 -D_WIZCHIP_=W5500 -DUSE_STDPERIPH_DRIVER -DDFU_BUILD_ENABLE -DLFS_CONFIG=lfs_config.h -DSYSTEM_VERSION_STRING=4.0.0 -DRELEASE_BUILD -I./inc -I../wiring/inc -I../system/inc -I../services/inc -I../third_party/nanopb/nanopb -I../communication/inc -I../hal/inc -I../hal/shared -I../hal/src/tracker -I../hal/network/lwip/cellular -I../hal/network/lwip/esp32 -I../hal/network/ncp/wifi -I../hal/src/nRF52840 -I../hal/src/armv7 -I../hal/src/nRF52840 -I../hal/src/nRF52840/lwip -I../hal/src/nRF52840/freertos -I../hal/src/nRF52840/mbedtls -I../hal/src/nRF52840/littlefs -I../hal -I../hal/src/nRF52840/posix -I../hal/network -I../hal/network/api -I../hal/network/lwip -I../hal/network/lwip/posix -I../hal/network/lwip/wiznet -I../hal/network/ncp -I../hal/network/ncp/at_parser -I../hal/network/util -I../third_party/lwip/lwip/src/include -I../third_party/freertos/freertos/FreeRTOS/Source/include -I..
Error: Command failed with exit code 1: /Users/ **** /.vscode/extensions/particle.particle-vscode-core-1.15.5/src/cli/bin/darwin/amd64/particle cloud compile tracker --target 4.0.0 --no-update-check

Compiling code for tracker
Targeting version: 4.0.0

Including:
    lib/bmi160/src/bmi160.h
    lib/bmi160/src/bmi160regs.h
    lib/can-mcp25x/src/mcp_can_dfs.h
    lib/can-mcp25x/src/mcp_can.h
    lib/fw-config-service/src/background_publish.h
    lib/fw-config-service/src/cloud_service.h
    lib/fw-config-service/src/config_service_nodes.h
    lib/fw-config-service/src/config_service.h
    lib/fw-config-service/src/murmur3.h
    lib/geofence/src/Geofence.h
    lib/geofence/test/Particle.h
    lib/geofence/test/spark_wiring_vector.h
    lib/gps-nmea-parser/src/gps/gps.h
    lib/gps-ublox/src/ubloxGPS.h
    lib/Thermistor/src/thermistor.h
    src/gnss_led.h
    src/location_service.h
    src/motion_service.h
    src/temperature.h
    src/tracker_cellular.h
    src/tracker_config.h
    src/tracker_location.h
    src/tracker_motion.h
    src/tracker_rgb.h
    src/tracker_shipping.h
    src/tracker_sleep.h
    src/tracker.h
    lib/geofence/test/catch.hpp
    lib/bmi160/src/bmi160.cpp
    lib/bmi160/test/main.cpp
    lib/can-mcp25x/example/test.cpp
    lib/can-mcp25x/src/mcp_can.cpp
    lib/fw-config-service/src/background_publish.cpp
    lib/fw-config-service/src/cloud_service.cpp
    lib/fw-config-service/src/config_service.cpp
    lib/fw-config-service/src/murmur3.cpp
    lib/geofence/examples/usage/usage.cpp
    lib/geofence/src/Geofence.cpp
    lib/geofence/test/Particle.cpp
    lib/geofence/test/test.cpp
    lib/gps-nmea-parser/src/gps/gps.cpp
    lib/gps-ublox/src/ubloxGPS.cpp
    lib/Thermistor/test/main.cpp
    src/gnss_led.cpp
    src/location_service.cpp
    src/main.cpp
    src/motion_service.cpp
    src/temperature.cpp
    src/tracker_cellular.cpp
    src/tracker_location.cpp
    src/tracker_motion.cpp
    src/tracker_rgb.cpp
    src/tracker_shipping.cpp
    src/tracker_sleep.cpp
    src/tracker.cpp
    project.properties

attempting to compile firmware
Compile failed: make -C ../modules/tracker/user-part all
make[1]: Entering directory `/firmware/modules/tracker/user-part'

mkdir -p target/
make -f ../../../modules/shared/nRF52840/build_linker_script.mk PREBUILD=1
make[2]: Entering directory `/firmware/modules/tracker/user-part'
Creating target/platform_user_ram.ld ...
make[2]: Leaving directory `/firmware/modules/tracker/user-part'

make -C ../../../user 
make[2]: Entering directory `/firmware/user'
Building cpp file: src/tracker_rgb.cpp
Invoking: ARM GCC CPP Compiler
mkdir -p ../build/target/user/platform-26-msrc/
arm-none-eabi-gcc -DMCU_DEVICE -DnRF52840 -DNRF52840_XXAA -DPLATFORM_THREADING=1 -DPLATFORM_ID=26 -DPLATFORM_NAME=tracker -DPLATFORM_GEN=3 -DUSBD_VID_PARTICLE=0x2B04 -DUSBD_PID_DFU=0xD01A -DUSBD_PID_CDC=0xC01A -DSPARK_PLATFORM -g3 -gdwarf-2 -Os -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfloat-abi=hard -mfpu=fpv4-sp-d16 --specs=nano.specs -DINCLUDE_PLATFORM=1 -DSOFTDEVICE_PRESENT=1 -DS140 -DPRODUCT_ID=26 -DPRODUCT_FIRMWARE_VERSION=65535 -D_WIZCHIP_=W5500 -DUSE_STDPERIPH_DRIVER -DDFU_BUILD_ENABLE -DLFS_CONFIG=lfs_config.h -DSYSTEM_VERSION_STRING=4.0.0 -DRELEASE_BUILD -I./inc -I../wiring/inc -I../system/inc -I../services/inc -I../third_party/nanopb/nanopb -I../communication/inc -I../hal/inc -I../hal/shared -I../hal/src/tracker -I../hal/network/lwip/cellular -I../hal/network/lwip/esp32 -I../hal/network/ncp/wifi -I../hal/src/nRF52840 -I../hal/src/armv7 -I../hal/src/nRF52840 -I../hal/src/nRF52840/lwip -I../hal/src/nRF52840/freertos -I../hal/src/nRF52840/mbedtls -I../hal/src/nRF52840/littlefs -I../hal -I../hal/src/nRF52840/posix -I../hal/network -I../hal/network/api -I../hal/network/lwip -I../hal/network/lwip/posix -I../hal/network/lwip/wiznet -I../hal/network/ncp -I../hal/network/ncp/at_parser -I../hal/network/util -I../third_party/lwip/lwip/src/include -I../third_party/freertos/freertos/FreeRTOS/Source/include -I../third_party/nrf5_sdk/nrf5_sdk/external/freertos/portable/GCC/nrf52 -I../third_party/nrf5_sdk/nrf5_sdk/external/freertos/portable/CMSIS/nrf52 -I../third_party/wiznet_driver/wiznet_driver/Ethernet -I../gsm0710muxer/gsm0710muxer/include -I../platform/shared/inc -I../third_party/nrf5_sdk -I../third_party/nrf5_sdk/nrf5_sdk/components/toolchain/cmsis/include -I../third_party/nrf5_sdk/nrf5_sdk/modules/nrfx -I../third_party/nrf5_sdk/nrf5_sdk/modules/nrfx/drivers -I../third_party/nrf5_sdk/nrf5_sdk/modules/nrfx/drivers/include -I../third_party/nrf5_sdk/nrf5_sdk/modules/nrfx/hal -I../third_party/nrf5_sdk/nrf5_sdk/modules/nrfx/mdk -I../third_party/nrf5_sdk/nrf5_sdk/modules/nrfx/hal -I../third_party/nrf5_sdk/nrf5_sdk/modules/nrfx/drivers/src/prs -I../third_party/nrf5_sdk/nrf5_sdk/components/libraries/util -I../third_party/nrf5_sdk/nrf5_sdk/components/softdevice/s140/headers -I../third_party/nrf5_sdk/nrf5_sdk/components/softdevice/s140/headers/nrf52 -I../third_party/nrf5_sdk/nrf5_sdk/components/softdevice/common -I../third_party/nrf5_sdk/nrf5_sdk/components/softdevice/mbr/nrf52840/headers -I../third_party/nrf5_sdk/nrf5_sdk/components/libraries/fstorage -I../third_party/nrf5_sdk/nrf5_sdk/components/libraries/experimental_section_vars -I../third_party/nrf5_sdk/nrf5_sdk/components/libraries/atomic -I../third_party/nrf5_sdk/nrf5_sdk/components/libraries/crc32 -I../third_party/nrf5_sdk/nrf5_sdk/integration/nrfx/legacy -I../third_party/nrf5_sdk/nrf5_sdk/components/libraries/delay -I../third_party/nrf5_sdk/nrf5_sdk/components/libraries/log -I../third_party/nrf5_sdk/nrf5_sdk/components/libraries/log -I../third_party/nrf5_sdk/nrf5_sdk/components/libraries/log/src -I../third_party/nrf5_sdk/nrf5_sdk/components/libraries/experimental_section_vars -I../third_party/nrf5_sdk/nrf5_sdk/components/libraries/atomic -I../third_party/nrf5_sdk/nrf5_sdk/components/libraries/delay -I../third_party/nrf5_sdk/nrf5_sdk/components/libraries/queue -I../third_party/nrf5_sdk/nrf5_sdk/components/softdevice/common -I../third_party/nrf5_sdk/nrf5_sdk/components/softdevice/s140 -I../third_party/nrf5_sdk/nrf5_sdk/components/softdevice/s140/headers -I../third_party/nrf5_sdk/nrf5_sdk/components/softdevice/s140/headers/nrf52 -I../third_party/nrf5_sdk/nrf5_sdk/components/libraries/fifo -I../third_party/nrf5_sdk/nrf5_sdk/components/libraries/atomic_fifo -I../third_party/nrf5_sdk/nrf5_sdk/components/libraries/strerror -I../third_party/nrf5_sdk/nrf5_sdk/components/libraries/fstorage -I../third_party/nrf5_sdk/nrf5_sdk/components/libraries/atomic_flags -I../third_party/nrf5_sdk/nrf5_sdk/components/libraries/usbd -I../third_party/nrf5_sdk/nrf5_sdk/components/libraries/usbd/class/cdc -I../third_party/nrf5_sdk/nrf5_sdk/components/libraries/usbd/class/cdc/acm -I../third_party/nrf5_sdk/nrf5_sdk/components/ble/common -I../third_party/nrf5_sdk/nrf5_sdk/components/ble/nrf_ble_gatt -I../third_party/nrf5_sdk/nrf5_sdk/components/ble/ble_advertising -I../third_party/nrf5_sdk/nrf5_sdk/components/nfc/t2t_lib -I../third_party/nrf5_sdk/nrf5_sdk/components/nfc/platform -I../third_party/nrf5_sdk/nrf5_sdk/components/nfc/ndef/generic/message -I../third_party/nrf5_sdk/nrf5_sdk/components/nfc/ndef/generic/record -I../third_party/nrf5_sdk/nrf5_sdk/components/nfc/ndef/lauchapp -I../third_party/nrf5_sdk/nrf5_sdk/components/nfc/ndef/text -I../third_party/nrf5_sdk/nrf5_sdk/components/nfc/ndef/uri -I../third_party/nrf5_sdk/nrf5_sdk/external/nrf_cc310/include -I../third_party/nrf5_sdk/nrf5_sdk/external/utf_converter -I../third_party/littlefs/littlefs -I../third_party/miniz/miniz -I../platform/MCU/nRF52840/inc -I../dynalib/inc -Isrc -I./libraries -Ilib/bmi160/src -Ilib/gps-nmea-parser/src -Ilib/gps-ublox/src -Ilib/fw-config-service/src -Ilib/Thermistor/src -Ilib/geofence/src -Ilib/can-mcp25x/src -I. -MD -MP -MF ../build/target/user/platform-26-msrc/tracker_rgb.o.d -ffunction-sections -fdata-sections -Wall -Wno-switch -fmessage-length=0 -Wno-error=deprecated-declarations -Wno-error=unused-parameter -Wimplicit-fallthrough=2 -Wno-expansion-to-defined -Wno-cast-function-type -Wno-unused-parameter -Wno-error=type-limits -fno-strict-aliasing -DSPARK=1 -DPARTICLE=1 -Werror=return-type -Wundef -DSTART_DFU_FLASHER_SERIAL_SPEED=14400 -DSTART_YMODEM_FLASHER_SERIAL_SPEED=28800 -DSPARK_PLATFORM_NET=QUECTEL -fno-builtin-malloc -fno-builtin-free -fno-builtin-realloc -DLOG_INCLUDE_SOURCE_INFO=1 -DPARTICLE_USER_MODULE -DUSER_FIRMWARE_IMAGE_SIZE=0x40000 -DUSER_FIRMWARE_IMAGE_LOCATION=0xB4000 -DMODULAR_FIRMWARE=1 -DMODULE_VERSION=6 -DMODULE_FUNCTION=5 -DMODULE_INDEX=2 -DMODULE_DEPENDENCY=4,1,4003 -DMODULE_DEPENDENCY2=0,0,0 -D_GNU_SOURCE -DLOG_MODULE_CATEGORY="\"app\"" -fno-exceptions -fno-rtti -fcheck-new -flto -ffat-lto-objects -DPARTICLE_COMPILE_LTO_FAT -fno-use-cxa-atexit -std=gnu++17 -c -o ../build/target/user/platform-26-msrc/tracker_rgb.o src/tracker_rgb.cpp

Building cpp file: src/tracker.cpp
Invoking: ARM GCC CPP Compiler
mkdir -p ../build/target/user/platform-26-msrc/
arm-none-eabi-gcc -DMCU_DEVICE -DnRF52840 -DNRF52840_XXAA -DPLATFORM_THREADING=1 -DPLATFORM_ID=26 -DPLATFORM_NAME=tracker -DPLATFORM_GEN=3 -DUSBD_VID_PARTICLE=0x2B04 -DUSBD_PID_DFU=0xD01A -DUSBD_PID_CDC=0xC01A -DSPARK_PLATFORM -g3 -gdwarf-2 -Os -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfloat-abi=hard -mfpu=fpv4-sp-d16 --specs=nano.specs -DINCLUDE_PLATFORM=1 -DSOFTDEVICE_PRESENT=1 -DS140 -DPRODUCT_ID=26 -DPRODUCT_FIRMWARE_VERSION=65535 -D_WIZCHIP_=W5500 -DUSE_STDPERIPH_DRIVER -DDFU_BUILD_ENABLE -DLFS_CONFIG=lfs_config.h -DSYSTEM_VERSION_STRING=4.0.0 -DRELEASE_BUILD -I./inc -I../wiring/inc -I../system/inc -I../services/inc -I../third_party/nanopb/nanopb -I../communication/inc -I../hal/inc -I../hal/shared -I../hal/src/tracker -I../hal/network/lwip/cellular -I../hal/network/lwip/esp32 -I../hal/network/ncp/wifi -I../hal/src/nRF52840 -I../hal/src/armv7 -I../hal/src/nRF52840 -I../hal/src/nRF52840/lwip -I../hal/src/nRF52840/freertos -I../hal/src/nRF52840/mbedtls -I../hal/src/nRF52840/littlefs -I../hal -I../hal/src/nRF52840/posix -I../hal/network -I../hal/network/api -I../hal/network/lwip -I../hal/network/lwip/posix -I../hal/network/lwip/wiznet -I../hal/network/ncp -I../hal/network/ncp/at_parser -I../hal/network/util -I../third_party/lwip/lwip/src/include -I../third_party/freertos/freertos/FreeRTOS/Source/include -I..
	at makeError (/Users/***/.vscode/extensions/particle.particle-vscode-core-1.15.5/node_modules/execa/lib/error.js:59:11)
	at handlePromise (/Users/***/.vscode/extensions/particle.particle-vscode-core-1.15.5/node_modules/execa/index.js:114:26)
	at process.processTicksAndRejections (node:internal/process/task_queues:96:5)

- - - -

```

---

<div class="post-metadata">

**Author:** ![rickkas7](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/rickkas7/32/8681_2.png) [@rickkas7](https://community.particle.io/u/rickkas7)\
**Post date:** [October 13, 2022, 12:31pm UTC](https://community.particle.io/t/issue-cloud-compile-error/63309/2 "2022-10-13T12:31:12Z")

</div>

I’m not sure why it’s not showing you the actual error, but it looks like it happened while compiling tracker.cpp. Is that one of the files you modified?

It might be worthwhile to do a local compile of your app in Workbench. It might show a better error. Even if you want to compile in the cloud in the future it might at least show you the exact line that is failing to compile.

---

<div class="post-metadata">

**Author:** ![mismoeigenheim](https://avatars.discourse-cdn.com/v4/letter/m/bc8723/32.png) [@mismoeigenheim](https://community.particle.io/u/mismoeigenheim)\
**Post date:** [October 13, 2022, 2:11pm UTC](https://community.particle.io/t/issue-cloud-compile-error/63309/3 "2022-10-13T14:11:40Z")

</div>

I switched to cloud compile because local compile is still not working with spaces in the project path.  
I also tried with a new clone from “[GitHub - particle-iot/tracker-edge: Particle Tracker reference application](http://github.com/particle-iot/tracker-edge/)” and I get the same error.  
Also tried with OS 3.2.0 which is currently running on the tracker but no success.  
Cloud compiling a project for an electron works fine.

---

<div class="post-metadata">

**Author:** ![ScruffR](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/scruffr/32/6952_2.png) [@ScruffR](https://community.particle.io/u/ScruffR)\
**Post date:** [October 13, 2022, 2:30pm UTC](https://community.particle.io/t/issue-cloud-compile-error/63309/4 "2022-10-13T14:30:27Z")

</div>

> [@mismoeigenheim](#):
>
> local compile is still not working with spaces in the project path.

You could create an "alias" for your "space infested" path and try to compile that (or move the project to a "clean" location).

---

<div class="post-metadata">

**Author:** ![rickkas7](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/rickkas7/32/8681_2.png) [@rickkas7](https://community.particle.io/u/rickkas7)\
**Post date:** [October 13, 2022, 4:40pm UTC](https://community.particle.io/t/issue-cloud-compile-error/63309/5 "2022-10-13T16:40:18Z")

</div>

If you are going to cloud compile, make sure you get Tracker Edge v17, the previous version, not v18, the current version.

The current version v18 cannot be cloud compiled; it can only be locally compiled.

I think you may not have the correct submodules. After cloning the project, make sure you update the submodules.

```auto
git submodule update --init --recursive

```

---

<div class="post-metadata">

**Author:** ![mismoeigenheim](https://avatars.discourse-cdn.com/v4/letter/m/bc8723/32.png) [@mismoeigenheim](https://community.particle.io/u/mismoeigenheim)\
**Post date:** [October 14, 2022, 11:46am UTC](https://community.particle.io/t/issue-cloud-compile-error/63309/6 "2022-10-14T11:46:21Z")

</div>

Thanks but I couldn’t get v17 working with Cloud compile.  
I moved the project to a “clean” location and use local compile again.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/particle/original/3X/3/2/3291e3c9351789fe8620ae5bcec8d3fec67ff221.png) [@system](https://community.particle.io/u/system)\
**Post date:** [November 13, 2022, 9:46pm UTC](https://community.particle.io/t/issue-cloud-compile-error/63309/7 "2022-11-13T21:46:49Z")

</div>

Closed on November 13, 2022, 9:46pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
