PlatformIO Community

Compiler error when creating a new project with an Arduino Uno (CLion)

Hello! I was trying to create an Arduino Project in CLion.
It was initializing and then I got an compiler error. Full log:
H:\Programms\Toolbox\apps\CLion\ch-0\213.5744.254\bin\cmake\win\bin\cmake.exe -DCMAKE_BUILD_TYPE=uno -DCMAKE_MAKE_PROGRAM=H:/Programms/Toolbox/apps/CLion/ch-0/213.5744.254/bin/ninja/win/ninja.exe -G Ninja H:\Programming\UnoIO
– The C compiler identification is MSVC 19.16.27043.0
– The CXX compiler identification is MSVC 19.16.27043.0
– Detecting C compiler ABI info
– Detecting C compiler ABI info - failed
– Detecting C compile features
– Detecting C compile features - done
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info - failed
– Detecting CXX compile features
– Detecting CXX compile features - done
– Configuring done
– Generating done
– Build files have been written to: H:/Programming/UnoIO/cmake-build-uno

Cannot get compiler information:
Compiler exited with error code 1: C:\Users\jan.platformio\packages\toolchain-atmelavr\bin\avr-g++.exe @C:\Users\jan\AppData\Local\Temp\response-file9353683129356390729 C:\Users\jan\AppData\Local\Temp\compiler-file4446903123505380967 | @response-file9353683129356390729=/TP /DARDUINO=10808 /DARDUINO_ARCH_AVR /DARDUINO_AVR_UNO /DF_CPU=16000000L /DPLATFORMIO=50203 /D__AVR_ATmega328P__ -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -Os -Wall -ffunction-sections -fdata-sections -flto -mmcu=atmega328p /Be /Bd /EP
avr-g++.exe: error: /TP: No such file or directory
avr-g++.exe: error: /DARDUINO=10808: No such file or directory
avr-g++.exe: error: /DARDUINO_ARCH_AVR: No such file or directory
avr-g++.exe: error: /DARDUINO_AVR_UNO: No such file or directory
avr-g++.exe: error: /DF_CPU=16000000L: No such file or directory
avr-g++.exe: error: /DPLATFORMIO=50203: No such file or directory
avr-g++.exe: error: /D__AVR_ATmega328P__: No such file or directory
avr-g++.exe: error: /Be: No such file or directory
avr-g++.exe: error: /Bd: No such file or directory
avr-g++.exe: error: /EP: No such file or directory

I’m not sure what this is about