Windows filepath build issue

Here's a weird error, that started happening seemingly overnight: paths being parsed wrong on windows due to path separating backslashes being interpreted as escape sequences??

-- Generated devicetree_generated.h: C:/Shop/nrf_proj/build/rev10/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: C:/Shop/nrf_proj/build/rev10/zephyr/dts.cmake
CMake Error at C:/nordicsemi/v2.5.2/zephyr/cmake/modules/kconfig.cmake:2147483647 (zephyr_variable_set_too_late):
  Syntax error in cmake code at

    C:/nordicsemi/v2.5.2/zephyr/cmake/modules/kconfig.cmake:2147483647

  when parsing string

    c:\Shop\nrf_proj\prj.conf

  Invalid character escape '\S'.
Call Stack (most recent call first):
  ...


CMake Error: Error in cmake code at
Unknown:0:
A command failed during the invocation of callback "zephyr_variable_set_too_late".
-- Configuring incomplete, errors occurred!
FATAL ERROR: command exited with status 1: 'C:\nordicsemi\toolchains\c57af46cb7\opt\bin\cmake.EXE' -DWEST_PYTHON=C:/nordicsemi/toolchains/c57af46cb7/opt/bin/python.exe '-Bc:\Shop\nrf_proj\build\rev10' -GNinja -DBOARD=rev10 -DNCS_TOOLCHAIN_VERSION=NONE -DDTC_OVERLAY_FILE=c:/Shop/nrf_proj/app.overlay '-DCACHED_CONF_FILE=c:\Shop\nrf_proj\prj.conf' -DBOARD_ROOT=c:/shop/nrf_proj '-Sc:\Shop\nrf_proj'



I have no idea what caused this to start happening. Thanks for the help

Parents Reply Children
No Data
Related