On Jul 6, 2022, at 9:15 AM, Richard Sharpe <realrichardsharpe@xxxxxxxxx> wrote:
> I upgraded to a more recent SDK but that did not fix the problem:
> -------
> -- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.19043.
> -- The C compiler identification is MSVC 19.29.30145.0
> -- The CXX compiler identification is MSVC 19.29.30145.0
> --------
>
> So, it seems that a more recent version of Visual Studio may be needed.
Given that, as indicated, the build succeeded with the Windows build on GitLab, which is running an *older* version than what you have, it is not at all clear that an even *newer* version than what's on the builder is needed.
It seems to *me* that there's something wrong with the build process - including, perhaps, the CMake process - on your machine.
What version of CMake are you running?