ClangCL and LLVM not installed

Iliya's Avatar

Iliya

01 Jul, 2020 08:54 AM

Hello!
I encountered with such error during compilation, used VS 2017 build image:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Cpp.Platform.targets(67,5): error MSB8020: The build tools for ClangCL (Platform Toolset = 'ClangCL') cannot be found. To build using the ClangCL build tools, please install ClangCL build tools.

I tried to switch to Visual Studio 2019 worker image, and I have got another error:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(390,5): error MSB8020: The build tools for llvm (Platform Toolset = 'llvm') cannot be found. To build using the llvm build tools, please install llvm build tools.
What should I do additionally for using clangcl and llvm? Some day ago I compiled project without any issues, now when you're choosing recompile succeeded build - it fails.

  1. Support Staff 1 Posted by Feodor Fitsner on 01 Jul, 2020 08:32 PM

    Feodor Fitsner's Avatar

    Hi Iliya,

    LLVM extension is getting installed on VS 2019 image with the following script: https://github.com/appveyor/build-images/blob/master/scripts/Window...

    I don't know maybe there is something else missing on the image? Could you please take a look via RDP and let us know?

  2. 2 Posted by WhiteWizard on 04 Jul, 2020 08:59 AM

    WhiteWizard's Avatar

    Hi!
    No, it didn’t helped — same error.
    I tried to install llvm and vsix extension by your script.
    I see Visual Stuio 2019 is 32 bit and it installed in Program Files (x86). LLVM Script installing 64-bit version of LLVM.
    Does it matters anything? And I noticed LLVM Compiler Toolchain still unchecked after I installed VSIX extension, is any chance to install it from command line during install phase? Do I need extension and binaries after that?

     
    >Четверг, 2 июля 2020, 0:33 +04:00 от Feodor Fitsner <[email blocked]>:

  3. 3 Posted by WhiteWizard on 05 Jul, 2020 02:33 AM

    WhiteWizard's Avatar

     
    Hi!
    No, it didn’t helped — same error.
    I tried to install llvm and vsix extension by your script.
    I see Visual Stuio 2019 is 32 bit and it installed in Program Files (x86). LLVM Script installing 64-bit version of LLVM.
    Does it matters anything? And I noticed LLVM Compiler Toolchain still unchecked after I installed VSIX extension, is any chance to install it from command line during install phase? Do I need extension and binaries after that?

  4. 4 Posted by Iliya on 08 Jul, 2020 01:49 AM

    Iliya's Avatar

    Please, close thread, issue was mine, not appveyor.

  5. Support Staff 5 Posted by Feodor Fitsner on 08 Jul, 2020 03:58 AM

    Feodor Fitsner's Avatar

    OK, thanks for the update!

  6. Feodor Fitsner closed this discussion on 08 Jul, 2020 03:58 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac