Skip to content

Windows 11 / VS 2022/2026: ERROR: Toolchain was not recognized. #430

@moebiussurfing

Description

@moebiussurfing

I am trying to build some script from https://github.com/dimitre/openFrameworks

I have Visual Studio Build Tools 2019 installed, but since I use VS 2022 and VS 2026 Insiders, maybe I need to install more stuff from VS 2019?
But I would prefer avoid installing VS 2019 full if not mandatory… (also it seems that old versions are moved offline by Micosoft)

PS D:\OF\dimitre\openFrameworks\ofGen> chalet --version
Chalet version 0.8.12
PS D:\OF\dimitre\openFrameworks> cd .\ofGen\
PS D:\OF\dimitre\openFrameworks\ofGen> git pull
Already up to date.
PS D:\OF\dimitre\openFrameworks\ofGen> chalet bundle
>  Reading Build File [chalet.yaml] ... done (6ms)
>  Creating Microsoft (R) Visual C/C++ Environment Cache ...

ERROR: Toolchain was not recognized.
ERROR: MSVC Environment could not be fetched: vswhere could not find a matching Visual Studio installation.

PS D:\OF\dimitre\openFrameworks\ofGen> chalet clean --all
>  Reading Build File [chalet.yaml] ... done (6ms)

»  Clean: All
   [1/2] Removing build
   [2/2] Removing dist
   All: done

√  Succeeded!

PS D:\OF\dimitre\openFrameworks\ofGen> chalet bundle
>  Reading Build File [chalet.yaml] ... done (7ms)
>  Creating Microsoft (R) Visual C/C++ Environment Cache ...

ERROR: Toolchain was not recognized.
ERROR: MSVC Environment could not be fetched: vswhere could not find a matching Visual Studio installation.

Any help is appreciated...
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions