The project is not getting built up

sanjai s
Posts: 3
Joined: Fri Feb 14, 2025 6:37 am

The project is not getting built up

Postby sanjai s » Fri Feb 14, 2025 7:33 am

I'm trying to make a program to configure radar sensor with ESP32, therefore I have used the reference program from Acconeer and while trying to compile the program, I was encountered with this error:

CMake Error at build/component_requires.temp.cmake:417 (__component_set_property):
Syntax error in cmake code at

C:/Users/sanja.000/esp projects/radar/build/component_requires.temp.cmake:417

when parsing string

include;C:\Users\sanja.000\esp\v5.3.2\esp-idf/components/esp_rom/include/esp32/rom/;C:\Users\sanja.000\esp\v5.3.2\esp-idf/components/freertos/FreeRTOS-Kernel/include/freertos

Invalid character escape '\U'.
Call Stack (most recent call first):
C:/Users/sanja.000/esp/v5.3.2/esp-idf/tools/cmake/component.cmake:255 (include)
C:/Users/sanja.000/esp/v5.3.2/esp-idf/tools/cmake/build.cmake:586 (__component_get_requirements)
C:/Users/sanja.000/esp/v5.3.2/esp-idf/tools/cmake/project.cmake:710 (idf_build_process)
CMakeLists.txt:6 (project)

-- Configuring incomplete, errors occurred!

* The terminal process "C:\Users\sanja.000\.espressif\tools\cmake\3.30.2\bin\cmake.exe '-G', 'Ninja', '-DPYTHON_DEPS_CHECKED=1', '-DESP_PLATFORM=1', '-B', 'c:\Users\sanja.000\esp projects\radar\build', '-S', 'c:\Users\sanja.000\esp projects\radar', '-DSDKCONFIG=c:\Users\sanja.000\esp projects\radar\sdkconfig'" terminated with exit code: 1.


I have initial ideas of error like, the environmental variables are with undesired format, but I couldn't say its the sole proble. Please help me sorting out the program, so I work furthermore.

(PS) I'll attack the CMake files, build error file in build and the whole project file, for better understanding.
radar.zip
whole project folder
(2.19 MiB) Downloaded 21 times
CMakeLists.txt
project make file
(238 Bytes) Downloaded 15 times
CMakeLists.txt
main make file
(1.4 KiB) Downloaded 16 times

chegewara
Posts: 2457
Joined: Wed Jun 14, 2017 9:00 pm

Re: The project is not getting built up

Postby chegewara » Sat Feb 15, 2025 7:20 am

Invalid character escape '\U'.
- do you have in project path spaces or special chars
- check and reformat CMakeLists files, hard to say which one; there may be some non-standard characters

MicroController
Posts: 2045
Joined: Mon Oct 17, 2022 7:38 pm
Location: Europe, Germany

Re: The project is not getting built up

Postby MicroController » Sat Feb 15, 2025 7:49 am

Looks like, for some reason, "C:\Users\..." appears in a path instead of "C:/Users/...".

sanjai s
Posts: 3
Joined: Fri Feb 14, 2025 6:37 am

Re: The project is not getting built up

Postby sanjai s » Mon Feb 17, 2025 7:38 am

I knew that was the problem, but I couldn't resolve it, because I don't the source of error

Who is online

Users browsing this forum: No registered users and 177 guests