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.
The project is not getting built up
Re: The project is not getting built up
- do you have in project path spaces or special charsInvalid character escape '\U'.
- check and reformat CMakeLists files, hard to say which one; there may be some non-standard characters
-
- Posts: 2045
- Joined: Mon Oct 17, 2022 7:38 pm
- Location: Europe, Germany
Re: The project is not getting built up
Looks like, for some reason, "C:\Users\..." appears in a path instead of "C:/Users/...".
Re: The project is not getting built up
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: Google [Bot] and 123 guests