Strange failure

Jonathan A Dent's Avatar

Jonathan A Dent

23 Oct, 2018 02:16 PM

A build that has worked flawlessly for weeks now suddenly fails this morning due to the VS2017 image not being able to find an instance of VS2017 (which is kind of goofy).

CMake Error at CMakeLists.txt:73 (project):
    Visual Studio 15 2017 Win64
  could not find any instance of Visual Studio.

Full log is attached.

  1. Support Staff 1 Posted by Ilya Finkelshte... on 23 Oct, 2018 05:47 PM

    Ilya Finkelshteyn's Avatar

    Can you please send a link to the specific build job and your build configuration in YAML format?

  2. 2 Posted by Bartolomeo Stel... on 27 Oct, 2018 11:03 PM

    Bartolomeo Stellato's Avatar
  3. Support Staff 3 Posted by Owen McDonnell on 30 Oct, 2018 05:04 AM

    Owen McDonnell's Avatar

    @Bartolomeo you upgraded to VS2017 in this commit without changing the image you are building on in appveyor.yml config file. The default build image if there is no image: key in appveyor.yml is VS2015. You can add

    image: Visual Studio 2017

    to your config to build on an image that has VS2017 installed.

  4. 4 Posted by Maarten on 08 Nov, 2018 06:04 PM

    Maarten's Avatar
  5. Support Staff 5 Posted by Ilya Finkelshte... on 09 Nov, 2018 02:36 AM

    Ilya Finkelshteyn's Avatar

    @Maarten can you please try to rerun any (but better latest) of successful builds in your project and see if it still works?

  6. 6 Posted by Maarten on 09 Nov, 2018 10:20 AM

    Maarten's Avatar

    The problem I mentioned above happened on a pr of our main project.
    I've rebuilt current master on my personal fork and that one completed successfully.

    I will ask the project maintainer and/or committer to trigger a rebuild.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Already uploaded files

  • log.txt 4.5 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? 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