I'm trying to configure PlatformIO
with CLion
for an 8051-based
project using the SDCC
toolchain.
- The
sdcc.exe
file exists at the correct path and runs successfully from the command line, butCLion
cannot find it when building the project:
Unknown compiler executable: 'C:\Users\lyz\.platformio\packages\toolchain-sdcc\bin\sdcc.exe'
- The
SDCC
toolchain is installed at
C:\Users\lyz\.platformio\packages\toolchain-sdcc\bin\sdcc.exe.
The project builds successfully from the command line using
pio run
, butCLion's PlatformIO
plugin fails to recognizesdcc.exe
.I've verified that the file exists and can be executed directly from the terminal, but
CLion
does not detect it during the build process.I’ve tried setting the correct toolchain path in the
platformio.ini
file, but the issue persists.
How can I resolve this and make CLion
properly recognize the SDCC
toolchain?
- Reinstall the toolchain
I'm trying to configure PlatformIO
with CLion
for an 8051-based
project using the SDCC
toolchain.
- The
sdcc.exe
file exists at the correct path and runs successfully from the command line, butCLion
cannot find it when building the project:
Unknown compiler executable: 'C:\Users\lyz\.platformio\packages\toolchain-sdcc\bin\sdcc.exe'
- The
SDCC
toolchain is installed at
C:\Users\lyz\.platformio\packages\toolchain-sdcc\bin\sdcc.exe.
The project builds successfully from the command line using
pio run
, butCLion's PlatformIO
plugin fails to recognizesdcc.exe
.I've verified that the file exists and can be executed directly from the terminal, but
CLion
does not detect it during the build process.I’ve tried setting the correct toolchain path in the
platformio.ini
file, but the issue persists.
How can I resolve this and make CLion
properly recognize the SDCC
toolchain?
- Reinstall the toolchain
1 Answer
Reset to default 0Try downgrading the Clion version to 2024.2.4 or lower, that's how I solved it