Error while detecting libraries by ...

Hi everybody,

Sorry if the topic already exist, but I don't found a clear solution.

First I installed Arduino IDE 1.8.13, but I had a problem with the excution of "arduino-builder", after some research on the forum, I found that the problem exist only on the version > at 1.8.11.
=> I unistall the 1.8.13 version and install 1.8.11

Good news : The problèm disappears BUT I have new problem when I tried to compile

Problem log :

Error while detecting libraries included by C:\Users\ xxx \AppData\Local\Temp\arduino_build_426422\sketch\Test.ino.cpp
Generating function prototypes...
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10811 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\mega" "C:\Users\ xxx \AppData\Local\Temp\arduino_build_426422\sketch\Test.ino.cpp" -o "C:\Users\ xxx \AppData\Local\Temp\arduino_build_426422\preproc\ctags_target_for_gcc_minus_e.cpp"
exit status 1
Erreur de compilation pour la carte Arduino Mega or Mega 2560

Thank you for help, because it's so exasperating to have problem with the installation and not with the fruit of my work

Best regards
Maxime Guenet