platformio / platformio-home

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

Could not initialize project #3145

Closed mauortega closed 2 years ago

mauortega commented 3 years ago

PIO Core Call Error: "The current working directory C:\Users\Legion\Documents\PlatformIO\Projects\socket_03 will be used for the project.\r\n\r\nThe next files/directories have been created in C:\Users\Legion\Documents\PlatformIO\Projects\socket_03\r\ninclude - Put project header files here\r\nlib - Put here project specific (private) libraries\r\nsrc - Put project source files here\r\nplatformio.ini - Project Configuration File\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 (3.3.2) > DOIT ESP32 DEVKIT V1\r\nHARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash\r\nDEBUG: Current (esp-prog) External (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.40300.0 (4.3.0) \r\n - tool-cmake 3.16.4 \r\n - tool-esptoolpy 1.30100.210531 (3.1.0) \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-xtensa32 2.80400.210211 (8.4.0)\r\nWARNING: You are using pip version 20.3.3; however, version 21.2.4 is available.\r\nYou should consider upgrading via the 'c:\users\legion\.platformio\penv\scripts\python.exe -m pip install --upgrade pip' command.\r\nReading CMake configuration...\r\n-- Could NOT find Git (missing: GIT_EXECUTABLE) \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/Legion/.platformio/packages/toolchain-xtensa32/bin/xtensa-esp32-elf-gcc.exe\r\n-- Check for working C compiler: C:/Users/Legion/.platformio/packages/toolchain-xtensa32/bin/xtensa-esp32-elf-gcc.exe\r\n-- Check for working C compiler: C:/Users/Legion/.platformio/packages/toolchain-xtensa32/bin/xtensa-esp32-elf-gcc.exe -- broken\r\n-- Configuring incomplete, errors occurred!\r\nSee also \"C:/Users/Legion/Documents/PlatformIO/Projects/socket_03/.pio/build/esp32doit-devkit-v1/CMakeFiles/CMakeOutput.log\".\r\nSee also \"C:/Users/Legion/Documents/PlatformIO/Projects/socket_03/.pio/build/esp32doit-devkit-v1/CMakeFiles/CMakeError.log\".\r\n\r\nCMake Warning at C:/Users/Legion/.platformio/packages/framework-espidf/tools/cmake/git_submodules.cmake:4 (message):\r\n Git executable was not found. Git submodule checks will not be executed.\r\n If you have any build issues at all, start by adding git executable to the\r\n PATH and rerun cmake to not see this warning again.\r\nCall Stack (most recent call first):\r\n C:/Users/Legion/.platformio/packages/framework-espidf/tools/cmake/idf.cmake:39 (include)\r\n C:/Users/Legion/.platformio/packages/framework-espidf/tools/cmake/project.cmake:7 (include)\r\n CMakeLists.txt:2 (include)\r\n\r\n\r\nCMake Error at C:/Users/Legion/.platformio/packages/tool-cmake/share/cmake-3.16/Modules/CMakeTestCCompiler.cmake:44 (try_compile):\r\n Failed to open\r\n\r\n C:/Users/Legion/Documents/PlatformIO/Projects/socket_03/.pio/build/esp32doit-devkit-v1/CMakeFiles/CMakeTmp/CMakeLists.txt\r\n\r\n Permission denied\r\nCall Stack (most recent call first):\r\n C:/Users/Legion/.platformio/packages/framework-espidf/tools/cmake/project.cmake:308 (project)\r\n CMakeLists.txt:3 (project)\r\n\r\n\r\nCMake Error at C:/Users/Legion/.platformio/packages/tool-cmake/share/cmake-3.16/Modules/CMakeTestCCompiler.cmake:60 (message):\r\n The C compiler\r\n\r\n \"C:/Users/Legion/.platformio/packages/toolchain-xtensa32/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 \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/Legion/.platformio/packages/framework-espidf/tools/cmake/project.cmake:308 (project)\r\n CMakeLists.txt:3 (project)\r\n\r\n\r\n\r\n========================== [FAILED] Took 4.30 seconds =========================="

stale[bot] commented 2 years 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.