Skip to content

pio run works, but fails on clion with "Cannot get compiler information" #324

@ForrestFire0

Description

@ForrestFire0

PROBLEM DESCRIPTION

running pio run runs successfully.

PS C:\Users\forre\Projects\manualcontroller> pio run
Warning! Ignore unknown configuration option `mowze_firmware_version` in section [env:esp32dev]
Processing esp32dev (board: esp32-s3-devkitm-1; platform: https://github.com/pioarduino/platform-espressif32/releases/download/stable/platform-espressif32.zip; framework: arduino)     
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Error: Installing package 'platformio' failed (exit code 2).
Error: Installing package 'platformio' failed (exit code 2).
Verbose mode can be enabled via `-v, --verbose` option
Error: Installing package 'platformio' failed (exit code 2).
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32-s3-devkitm-1.html
PLATFORM: Espressif 32 (55.3.32) > Espressif ESP32-S3-DevKitM-1
HARDWARE: ESP32S3 240MHz, 320KB RAM, 8MB Flash
DEBUG: 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)
PACKAGES: 
 - contrib-piohome @ 3.4.4 
 - framework-arduinoespressif32 @ 3.3.2 
 - framework-arduinoespressif32-libs @ 5.5.0+sha.07e9bf4970
 - tool-esptoolpy @ 5.1.0
 - tool-mklittlefs @ 3.2.0
 - toolchain-xtensa-esp-elf @ 14.2.0+20250730
*** WARNING: Windows Long Path Support is disabled ***
*** Enable it for better performance: ***
*** 1. Run as Administrator: gpedit.msc ***
*** 2. Navigate to: Computer Configuration > Administrative Templates > System > Filesystem ***
*** 3. Enable 'Enable Win32 long paths' ***
*** OR run PowerShell as Admin: ***
*** New-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem' -Name 'LongPathsEnabled' -Value 1 -PropertyType DWORD -Force ***
*** Restart required after enabling ***
*** Applied include path shortening for 329 framework paths ***
*** Path length reduced from 38889 to ~13649 characters ***
*** Estimated savings: 24675 characters ***
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 46 compatible libraries
Scanning dependencies...
Dependency Graph
|-- ArduinoJson @ 7.1.0
|-- U8g2 @ 2.35.19
|-- ADS1115 @ 1.0.0
|-- Networking @ 3.3.2
|-- SPI @ 3.3.2
|-- WiFi @ 3.3.2
|-- Wire @ 3.3.2
|-- Preferences @ 3.3.2
Building in release mode
Retrieving maximum program size .pio\build\esp32dev\firmware_Wandv3.8.elf
Checking size .pio\build\esp32dev\firmware_Wandv3.8.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM:   [==        ]  15.3% (used 50200 bytes from 327680 bytes)
Flash: [===       ]  31.0% (used 1036043 bytes from 3342336 bytes)
============================================================================= [SUCCESS] Took 38.11 seconds =============================================================================
PS C:\Users\forre\Projects\manualcontroller> 

But clion fails to load the compiler.

Image

Here are those errors that are linked:
clion failure.txt

TO REPRODUCE

Curious if anyone has pioarduino working in clion.

EXPECTED BEHAVIOUR

the compiler should load.

SCREENSHOTS

see above

ADDITIONAL CONTEXT

Mostly just that pio run works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Community PR welcomeTo fix the issue a PR from the community is wantedhelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions