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

Closed barnix2001 closed 1 year ago

barnix2001 commented 1 year ago

PIO Core Call Error: "The current working directory /home/barnix/Documents/PlatformIO/Projects/pr4 will be used for the project.\n\nThe next files/directories have been created in /home/barnix/Documents/PlatformIO/Projects/pr4\ninclude - Put project header files here\nlib - Put here project specific (private) libraries\nsrc - Put project source files here\nplatformio.ini - Project Configuration File\nResolving esp32-s3-devkitc-1 dependencies...\nAlready up-to-date.\nUpdating metadata for the vscode IDE...\n\n\nError: Processing esp32-s3-devkitc-1 (platform: espressif32; board: esp32-s3-devkitc-1; framework: espidf)\n--------------------------------------------------------------------------------\nVerbose mode can be enabled via -v, --verbose option\nCONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32-s3-devkitc-1.html\nPLATFORM: Espressif 32 (5.2.0) > Espressif ESP32-S3-DevKitC-1-N8 (8 MB QD, No PSRAM)\nHARDWARE: ESP32S3 240MHz, 320KB RAM, 8MB Flash\nDEBUG: Current (esp-builtin) On-board (esp-builtin) 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)\nPACKAGES: \n - framework-espidf @ 3.40402.0 (4.4.2) \n - tool-cmake @ 3.16.4 \n - tool-esptoolpy @ 1.40201.0 (4.2.1) \n - tool-ninja @ 1.7.1 \n - toolchain-riscv32-esp @ 8.4.0+2021r2-patch3 \n - toolchain-xtensa-esp32s3 @ 8.4.0+2021r2-patch3\nReading CMake configuration...\n-- Found Git: /home/barnix/anaconda3/bin/git (found version \"2.34.1\") \n-- The C compiler identification is GNU 8.4.0\n-- The CXX compiler identification is GNU 8.4.0\n-- The ASM compiler identification is GNU\n-- Found assembler: /home/barnix/.platformio/packages/toolchain-xtensa-esp32s3/bin/xtensa-esp32s3-elf-gcc\n-- Check for working C compiler: /home/barnix/.platformio/packages/toolchain-xtensa-esp32s3/bin/xtensa-esp32s3-elf-gcc\n-- Check for working C compiler: /home/barnix/.platformio/packages/toolchain-xtensa-esp32s3/bin/xtensa-esp32s3-elf-gcc -- works\n-- Detecting C compiler ABI info\n-- Detecting C compiler ABI info - done\n-- Detecting C compile features\n-- Detecting C compile features - done\n-- Check for working CXX compiler: /home/barnix/.platformio/packages/toolchain-xtensa-esp32s3/bin/xtensa-esp32s3-elf-g++\n-- Check for working CXX compiler: /home/barnix/.platformio/packages/toolchain-xtensa-esp32s3/bin/xtensa-esp32s3-elf-g++ -- broken\n-- Configuring incomplete, errors occurred!\nSee also \"/home/barnix/Documents/PlatformIO/Projects/pr4/.pio/build/esp32-s3-devkitc-1/CMakeFiles/CMakeOutput.log\".\nSee also \"/home/barnix/Documents/PlatformIO/Projects/pr4/.pio/build/esp32-s3-devkitc-1/CMakeFiles/CMakeError.log\".\n\nfatal: not a git repository (or any of the parent directories): .git\nCMake Error at /home/barnix/.platformio/packages/tool-cmake/share/cmake-3.16/Modules/CMakeTestCXXCompiler.cmake:53 (message):\n The C++ compiler\n\n \"/home/barnix/.platformio/packages/toolchain-xtensa-esp32s3/bin/xtensa-esp32s3-elf-g++\"\n\n is not able to compile a simple test program.\n\n It fails with the following output:\n\n Change Dir: /home/barnix/Documents/PlatformIO/Projects/pr4/.pio/build/esp32-s3-devkitc-1/CMakeFiles/CMakeTmp\n \n Run Build Command(s):/home/barnix/.platformio/packages/tool-ninja/ninja cmTC_06e10 && [1/2] Building CXX object CMakeFiles/cmTC_06e10.dir/testCXXCompiler.cxx.obj\n [2/2] Linking CXX executable cmTC_06e10\n FAILED: cmTC_06e10 \n : && /home/barnix/.platformio/packages/toolchain-xtensa-esp32s3/bin/xtensa-esp32s3-elf-g++ -mlongcalls -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--disable-new-dtags -Wl,--gc-sections -Wl,-rpath,/home/barnix/anaconda3/lib -Wl,-rpath-link,/home/barnix/anaconda3/lib -L/home/barnix/anaconda3/lib CMakeFiles/cmTC_06e10.dir/testCXXCompiler.cxx.obj -o cmTC_06e10 && :\n /home/barnix/anaconda3/lib/libstdc++.so: file not recognized: file format not recognized\n collect2: error: ld returned 1 exit status\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/barnix/.platformio/packages/framework-espidf/tools/cmake/project.cmake:296 (__project)\n CMakeLists.txt:3 (project)\n\n\n\n========================== [FAILED] Took 2.54 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.