Hello,
Problem
I am following this tutorial: Creating Unit Tests for ESP32 Projects with ESP-IDF – VisualGDB Tutorials
During step 7, after I “Enable Building of Unit Tests for the Project”, the Cmake / Ninja build setup breaks and I receive the following Cmake Error:
Error Output
…
— Configuring done
— Generating done
CMake Error:
Running
‘C:/SysGCC/esp32/tools/ninja/1.10.2/ninja.exe’ ‘-C’ ‘C:/projects/EmbeddedProject7/build/VisualGDB/Tests__Debug_’ ‘-t’ ‘recompact’
failed with:
ninja: error: CMakeFiles/rules.ninja:25: expected newline, got lexing error
rule C_COMPILER__blink.2eelf_TESTS (DEBUG)
Development Environment
VisualGDB version 5.5R5 (build 4124)
ESP-IDF version: release/v4.0 in esp-idf/v4.0 (Also doesn’t work with v4.2 or v4.3)