Troubles installing a BLTouch on my ender 3 pro

I used this video as a guide, and reached the stage where I have to flash marlin, but I get this error:
cc1.exe: error: -fno-fat-lto-objects are supported only with linker plugin.
cc1.exe: error: -fno-fat-lto-objects are supported only with linker plugin.
cc1.exe: error: -fno-fat-lto-objects are supported only with linker plugin.
cc1.exe: error: -fno-fat-lto-objects are supported only with linker plugin.
cc1.exe: error: -fno-fat-lto-objects are supported only with linker plugin.
cc1.exe: error: -fno-fat-lto-objects are supported only with linker plugin.
cc1.exe: error: -fno-fat-lto-objects are supported only with linker plugin.
cc1.exe: error: -fno-fat-lto-objects are supported only with linker plugin.
cc1.exe: error: -fno-fat-lto-objects are supported only with linker plugin.

exit status 1

Compilation error: exit status 1
I have installed u8glib 1.17.
The bl touch works, it does that testing mentioned in the video when the printer is powered.
The printer is stock.

Hi @CptPistiii

Welcome to the forum, I’m so glad you found us

I am assuming you are building your firmware with VS code and trying to upload directly over USB?

Sorry, I did not have a look at the video, Can you explain when and where you are getting the error?

Sure, the video has a github link for the flashing the bootloader and marlin: GitHub - 3d-printing-canada/Ender-3-BL-Touch-Installation: Instructions and Firmware For The Ender 3 BL Touch Installation and I reached the last part, where I have to flash marlin using an arduino uno board as sanguino. There I get the message.

ok, I have to clarify first to see where the issue is coming from.

What is the version of the control board you are trying to flash?
You mentioned this is an Ender 3 Pro, Can you confirm for me please that the model number is correct?