Cannot Reconfigure/Build sample bleprph after fresh install of 6.0.1

ronsim
Posts: 3
Joined: Wed May 27, 2026 7:16 am

Cannot Reconfigure/Build sample bleprph after fresh install of 6.0.1

Postby ronsim » Wed May 27, 2026 7:24 am

Hi,

I have installed ESP IDF 6.0.1 via the VSCode extension and EIM on Windows 11. This is a clean install with no previous versions of IDF. After completing the install I started EIM in admin mode and installed the drivers. Next I created a new project based on the sample 'bleprph'.

When VSCode opens the project, I receive the message: "compile_commands.json is missing. This may cause errors with code analysis extensions". I choose the generate the file and then I receive the error(s) below. Report from Doctor Command is attached.

Thank you.

* Executing task: C:\Espressif\tools\python\v6.0.1\venv\Scripts\python.exe C:\esp\v6.0.1\esp-idf\tools\idf.py -B c:\projects\bleprph-copy\build reconfigure

Executing action: reconfigure
Running cmake in directory C:\Projects\bleprph-copy\build
Executing "cmake -G Ninja -B C:\Projects\bleprph-copy\build -DPYTHON_DEPS_CHECKED=1 -DPYTHON=C:\Espressif\tools\python\v6.0.1\venv\Scripts\python.exe -DESP_PLATFORM=1 -DCCACHE_ENABLE=False C:\Projects\bleprph-copy"...
-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.47.1.windows.1")
-- Component directory C:/esp/v6.0.1/esp-idf/components/mqtt does not contain a CMakeLists.txt file. No component will be added
-- Minimal build - ON
-- The C compiler identification is GNU 15.2.0
-- The CXX compiler identification is GNU 15.2.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/Espressif/tools/xtensa-esp-elf/esp-15.2.0_20251204/xtensa-esp-elf/bin/xtensa-esp32s3-elf-gcc.exe
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Espressif/tools/xtensa-esp-elf/esp-15.2.0_20251204/xtensa-esp-elf/bin/xtensa-esp32s3-elf-gcc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Espressif/tools/xtensa-esp-elf/esp-15.2.0_20251204/xtensa-esp-elf/bin/xtensa-esp32s3-elf-g++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- git rev-parse returned 'fatal: not a git repository (or any of the parent directories): .git'
-- Could not use 'git describe' to determine PROJECT_VER.
-- Building ESP-IDF components for target esp32s3
CMake Error at C:/esp/v6.0.1/esp-idf/tools/cmake/build.cmake:602 (cmake_parse_arguments):
Syntax error in cmake code at

C:/esp/v6.0.1/esp-idf/tools/cmake/build.cmake:602

when parsing string

SDKCONFIG_DEFAULTS;C:\esp\v6.0.1\esp-idf/components/mbedtls/config/mbedtls_preset_bt.conf;C:/Projects/bleprph-copy/sdkconfig.defaults;SDKCONFIG;C:/Projects/bleprph-copy/sdkconfig;BUILD_DIR;C:/Projects/bleprph-copy/build;PROJECT_NAME;bleprph-copy;PROJECT_DIR;C:/Projects/bleprph-copy;PROJECT_VER;1;COMPONENTS;main;

Invalid character escape '\e'.
Call Stack (most recent call first):
C:/esp/v6.0.1/esp-idf/tools/cmake/project.cmake:773 (idf_build_process)
CMakeLists.txt:12 (project)


-- Configuring incomplete, errors occurred!
cmake failed with exit code 1, output of the command is in the C:\Projects\bleprph-copy\build\log\idf_py_stderr_output_10828 and C:\Projects\bleprph-copy\build\log\idf_py_stdout_output_10828

* The terminal process "C:\Espressif\tools\python\v6.0.1\venv\Scripts\python.exe 'C:\esp\v6.0.1\esp-idf\tools\idf.py', '-B', 'c:\projects\bleprph-copy\build', 'reconfigure'" terminated with exit code: 2.
Attachments
report.txt
(37.33 KiB) Downloaded 10 times

Who is online

Users browsing this forum: No registered users and 2 guests