Unable to Create Unit Tests for ESP32 Projects with ESP-IDF

Sysprogs forums Forums VisualGDB Unable to Create Unit Tests for ESP32 Projects with ESP-IDF

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #31038
    tardigrade
    Participant

    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)

    #31040
    support
    Keymaster

    Hi,

    Please make sure you also follow the step 8e of the tutorial. It shows how to fix this exact issue.

    As another alternative, please consider updating to VisualGDB 5.6 Beta 4. It uses the new path syntax by default and doesn’t require adjusting it manually.

    #31115
    tardigrade
    Participant

    Ah I see, I should have been more careful reading the documentation.  Thank you!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.