Here they explain it very well, you have to install visual studio 2017 with the things mentioned and compile with visual studio 2022.