Yes, this could be the cause of the compilation error, and as you can see, it is related to the drivers.
Could you please describe in more detail how you installed Windows and its drivers, especially whether you backed up any Windows files and then used them during the installation of the new OS? Also, what is the model of your motherboard, and did you make any BIOS adjustments — for example, did you change the RAM’s XMP profile or overclock the processor?