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 #2962

Closed andersoncastrojb closed 3 years ago

andersoncastrojb commented 3 years ago

PIO Core Call Error: "The current working directory /home/anderson20/Documents/PlatformIO/Projects/Wifi will be used for the project.\n\nThe next files/directories have been created in /home/anderson20/Documents/PlatformIO/Projects/Wifi\ninclude - Put project header files here\nlib - Put here project specific (private) libraries\nsrc - Put project source files here\nplatformio.ini - Project Configuration File\nPlatform Manager: Installing espressif32\nPlatform Manager: espressif32 @ 3.3.1 has been installed!\nTool Manager: Installing platformio/toolchain-xtensa32 @ ~2.50200.0\nTool Manager: toolchain-xtensa32 @ 2.50200.97 has been installed!\nTool Manager: Installing platformio/tool-esptoolpy @ ~1.30100.0\nTool Manager: tool-esptoolpy @ 1.30100.210531 has been installed!\nThe platform 'espressif32' has been successfully installed!\nThe rest of the packages will be installed later depending on your build environment.\n\n\nError: Processing esp32dev (platform: espressif32; board: esp32dev; framework: espidf)\n--------------------------------------------------------------------------------\nTool Manager: Installing platformio/toolchain-xtensa32 @ ~2.80400.0\nTool Manager: toolchain-xtensa32 @ 2.80400.210211 has been installed!\nTool Manager: Installing platformio/toolchain-esp32ulp @ ~1.22851.0\nTool Manager: toolchain-esp32ulp @ 1.22851.191205 has been installed!\nTool Manager: Installing platformio/framework-espidf @ ~3.40300.0\nTool Manager: framework-espidf @ 3.40300.0 has been installed!\nTool Manager: Installing platformio/tool-cmake @ ~3.16.0\nTool Manager: tool-cmake @ 3.16.4 has been installed!\nTool Manager: Installing platformio/tool-ninja @ ^1.7.0\nTool Manager: tool-ninja @ 1.7.1 has been installed!\nTool Manager: Installing platformio/tool-scons @ ~4.40100.2\nTool Manager: tool-scons @ 4.40100.2 has been installed!\nVerbose mode can be enabled via -v, --verbose option\nCONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32dev.html\nPLATFORM: Espressif 32 (3.3.1) > Espressif ESP32 Dev Module\nHARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash\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)\nPACKAGES: \n - framework-espidf 3.40300.0 (4.3.0) \n - tool-cmake 3.16.4 \n - tool-esptoolpy 1.30100.210531 (3.1.0) \n - tool-ninja 1.7.1 \n - toolchain-esp32ulp 1.22851.191205 (2.28.51) \n - toolchain-xtensa32 2.80400.210211 (8.4.0)\nInstalling ESP-IDF's Python dependencies\nCollecting cryptography>=2.1.4\n Using cached cryptography-3.4.7-cp36-abi3-manylinux2014_x86_64.whl (3.2 MB)\nCollecting future>=0.15.2\n Using cached future-0.18.2-py3-none-any.whl\nCollecting pyparsing<2.4.0,>=2.0.3\n Using cached pyparsing-2.3.1-py2.py3-none-any.whl (61 kB)\nCollecting kconfiglib==13.7.1\n Using cached kconfiglib-13.7.1-py2.py3-none-any.whl (145 kB)\nCollecting cffi>=1.12\n Using cached cffi-1.14.6-cp38-cp38-manylinux1_x86_64.whl (411 kB)\nCollecting pycparser\n Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB)\nInstalling collected packages: pycparser, cffi, pyparsing, kconfiglib, future, cryptography\nSuccessfully installed cffi-1.14.6 cryptography-3.4.7 future-0.18.2 kconfiglib-13.7.1 pycparser-2.20 pyparsing-2.3.1\nReading CMake configuration...\n-- Found Git: /usr/bin/git (found version \"2.25.1\") \n-- The C compiler identification is unknown\n-- The CXX compiler identification is unknown\n-- The ASM compiler identification is GNU\n-- Found assembler: /home/anderson20/.platformio/packages/toolchain-xtensa32/bin/xtensa-esp32-elf-gcc\n-- Check for working C compiler: /home/anderson20/.platformio/packages/toolchain-xtensa32/bin/xtensa-esp32-elf-gcc\n-- Check for working C compiler: /home/anderson20/.platformio/packages/toolchain-xtensa32/bin/xtensa-esp32-elf-gcc -- broken\n-- Configuring incomplete, errors occurred!\nSee also \"/home/anderson20/Documents/PlatformIO/Projects/Wifi/.pio/build/esp32dev/CMakeFiles/CMakeOutput.log\".\nSee also \"/home/anderson20/Documents/PlatformIO/Projects/Wifi/.pio/build/esp32dev/CMakeFiles/CMakeError.log\".\n\nfatal: not a git repository (or any of the parent directories): .git\nCMake Error at /home/anderson20/.platformio/packages/tool-cmake/share/cmake-3.16/Modules/CMakeTestCCompiler.cmake:60 (message):\n The C compiler\n\n \"/home/anderson20/.platformio/packages/toolchain-xtensa32/bin/xtensa-esp32-elf-gcc\"\n\n is not able to compile a simple test program.\n\n It fails with the following output:\n\n Change Dir: /home/anderson20/Documents/PlatformIO/Projects/Wifi/.pio/build/esp32dev/CMakeFiles/CMakeTmp\n \n Run Build Command(s):/home/anderson20/.platformio/packages/tool-ninja/ninja cmTC_a9148 && [1/2] Building C object CMakeFiles/cmTC_a9148.dir/testCCompiler.c.obj\n FAILED: CMakeFiles/cmTC_a9148.dir/testCCompiler.c.obj \n /home/anderson20/.platformio/packages/toolchain-xtensa32/bin/xtensa-esp32-elf-gcc -mlongcalls -Wno-frame-address -o CMakeFiles/cmTC_a9148.dir/testCCompiler.c.obj -c testCCompiler.c\n /home/anderson20/.platformio/packages/toolchain-xtensa32/bin/../libexec/gcc/xtensa-esp32-elf/8.4.0/cc1: /opt/Xilinx/14.7/ISE_DS/ISE/lib/lin64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /home/anderson20/.platformio/packages/toolchain-xtensa32/bin/../libexec/gcc/xtensa-esp32-elf/8.4.0/cc1)\n ninja: build stopped: subcommand failed.\n \n \n\n \n\n CMake will not be able to correctly generate this project.\nCall Stack (most recent call first):\n /home/anderson20/.platformio/packages/framework-espidf/tools/cmake/project.cmake:308 (__project)\n CMakeLists.txt:3 (project)\n\n\n\n========================= [FAILED] Took 286.59 seconds ========================="

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