platformio / platformio-home

PlatformIO Home
https://docs.platformio.org/page/home/index.html
Apache License 2.0
99 stars 62 forks source link

Could not initialize project #4993

Closed ngue-237 closed 1 year ago

ngue-237 commented 2 years ago

PIO Core Call Error: "Resolving esp32doit-devkit-v1 dependencies...\r\nAlready up-to-date.\r\nUpdating metadata for the vscode IDE...\r\n\n\nError: Processing esp32doit-devkit-v1 (platform: espressif32; board: esp32doit-devkit-v1; framework: espidf)\r\n--------------------------------------------------------------------------------\r\nVerbose mode can be enabled via -v, --verbose option\r\nCONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32doit-devkit-v1.html\r\nPLATFORM: Espressif 32 (5.2.0) > DOIT ESP32 DEVKIT V1\r\nHARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash\r\nDEBUG: Current (cmsis-dap) External (cmsis-dap, esp-bridge, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)\r\nPACKAGES: \r\n - framework-espidf @ 3.40402.0 (4.4.2) \r\n - tool-cmake @ 3.16.4 \r\n - tool-esptoolpy @ 1.40201.0 (4.2.1) \r\n - tool-idf @ 1.0.1 \r\n - tool-mconf @ 1.4060000.20190628 (406.0.0) \r\n - tool-ninja @ 1.9.0 \r\n - toolchain-esp32ulp @ 1.22851.191205 (2.28.51) \r\n - toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch3\r\nReading CMake configuration...\r\n-- Found Git: C:/Program Files/Git/cmd/git.exe (found version \"2.31.1.windows.1\") \r\n-- The C compiler identification is GNU 8.4.0\r\n-- The CXX compiler identification is GNU 8.4.0\r\n-- The ASM compiler identification is GNU\r\n-- Found assembler: C:/Users/user/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-gcc.exe\r\n-- Check for working C compiler: C:/Users/user/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-gcc.exe\r\n-- Check for working C compiler: C:/Users/user/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-gcc.exe -- broken\r\n-- Configuring incomplete, errors occurred!\r\nSee also \"C:/Users/user/OneDrive/Documents/PlatformIO/Projects/esp32/.pio/build/esp32doit-devkit-v1/CMakeFiles/CMakeOutput.log\".\r\nSee also \"C:/Users/user/OneDrive/Documents/PlatformIO/Projects/esp32/.pio/build/esp32doit-devkit-v1/CMakeFiles/CMakeError.log\".\r\n\r\nfatal: not a git repository (or any of the parent directories): .git\r\nCMake Error at C:/Users/user/.platformio/packages/tool-cmake/share/cmake-3.16/Modules/CMakeTestCCompiler.cmake:60 (message):\r\n The C compiler\r\n\r\n \"C:/Users/user/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-gcc.exe\"\r\n\r\n is not able to compile a simple test program.\r\n\r\n It fails with the following output:\r\n\r\n Change Dir: C:/Users/user/OneDrive/Documents/PlatformIO/Projects/esp32/.pio/build/esp32doit-devkit-v1/CMakeFiles/CMakeTmp\r\n \r\n Run Build Command(s):C:/Users/user/.platformio/packages/tool-ninja/ninja.exe cmTC_85503 && ninja: error: opening build log: No such file or directory\r\n\r\n \r\n \r\n\r\n \r\n\r\n CMake will not be able to correctly generate this project.\r\nCall Stack (most recent call first):\r\n C:/Users/user/.platformio/packages/framework-espidf/tools/cmake/project.cmake:296 (__project)\r\n CMakeLists.txt:3 (project)\r\n\r\n\r\n\r\n========================== [FAILED] Took 7.75 seconds =========================="

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. Please provide more details or it will be closed if no further activity occurs. Thank you for your contributions.