VisualGDB: Error: Command-line action failed

Sysprogs forums Forums VisualGDB VisualGDB: Error: Command-line action failed

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #22115
    cyborgium
    Participant

    Hi,

    Whenever I try to build something in VS with visualGDB, I get the following output:

    Command exited with code 2
     Executable: C:\SysGCC\esp32\bin\bash.exe
     Arguments: --login -c "export IDF_PATH=/esp-idf/v3.1 && export BATCH_BUILD=1 && export -n PYTHONHOME && export LANG=en_US && cd /cygdrive/c/Users/anne/Desktop/ESP2/wdm_board/s32/wdm_board && make -j4 BUILD_DIR_BASE='/cygdrive/c/Users/anne/Desktop/ESP32/wdm_board/Debug' SDKCONFIG='/cygdrive/c/Users/anne/Desktop/ESP3dkconfig-debug' V=0"
     Directory: 
     VisualGDB: Error: Command-line action failed
     ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

    What could I be doing wrong?

    • This topic was modified 5 years, 7 months ago by support. Reason: formatting
    #22126
    support
    Keymaster

    Hi,

    The code 2 typically indicates a missing file, so it might be caused by some components of the toolchain missing or corrupt. As a quick check, please try running the same command line manually (simply copy the contents of both “executable” and “arguments” to a command prompt window). If it doesn’t help identify the problem, please try reinstalling the toolchain.

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