Page 1 of 1

CMAKE error while running comand "idf.py set-target esp32".. Please Help!

Posted: Mon Apr 11, 2022 8:01 pm
by Wajeeha77
CMake Error at C:/Espressif/frameworks/esp-idf-v4.1.2/tools/cmake/component.cmake:299 (foreach):
Syntax error in cmake code at

C:/Espressif/frameworks/esp-idf-v4.1.2/tools/cmake/component.cmake:299

when parsing string

.;C:\Espressif\frameworks\esp-idf-v4.1.2/examples/common_components/protocol_examples_common/include

Invalid character escape '\E'.
Call Stack (most recent call first):
C:/Espressif/frameworks/esp-idf-v4.1.2/tools/cmake/component.cmake:470 (__component_add_include_dirs)
main/CMakeLists.txt:19 (idf_component_register)


-- Configuring incomplete, errors occurred!
See also "C:/Users/nk/Documents/esp32-spi-message-demo/mjpeg_streaming_wifi/build/CMakeFiles/CMakeOutput.log".
cmake failed with exit code 1