I have Mathematica 11.1 and Windows 10 OS. I need to use c based compilation inside Mathematica, like Compile[..., CompilationTarget -> "C", CompilationOptions -> \{"InlineExternalDefinitions" -> True}].
To do this, I have first downloaded Microsoft C++ Build Tools 2019. Then I have installed it. Finally, following answers on this question, I have modified the VisualStudioCompiler.m file, adding there "2019" to the list of $VisualStudioVersions and the string
installPath["2019"] := installPathFromEnvironment["VS166COMNTOOLS"]
(the version of C++ build tools is 16.6, which is reflected in VS166...).
However, when launching
Needs["CCompilerDriver`"]
CCompilers[Full]
CCompilers[]
I get {}.
Could you please tell me what have I made wrong?