Skip to content

Problem detecting vs-stable #439

@rewrking

Description

@rewrking

Problem detecting vs-stable

I've tested in two different computers and it fails to complete a chalet bundle or chalet build
error is

$ chalet build
>  Reading Build File [chalet.yaml] ... done (25ms)
>  Creating Microsoft® Visual C/C++ Environment Cache ... done (1.400s)


ERROR: Architecture 'x86_64-pc-windows-msvc' is not supported by the 'vs-stable' toolchain.
ERROR: Error getting the version and description for: 'C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/HostX64/x64/cl.exe'

and chalet recipe is here
https://github.com/dimitre/openFrameworks/blob/ofworks/ofGen/chalet.yaml

cl path exists and output is:
'C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/HostX64/x64/cl.exe'
Microsoft (R) C/C++ Optimizing Compiler Versão 19.29.30154 para x64
Copyright (C) Microsoft Corporation. Todos os direitos reservados.

Probably because it is in portuguese and you are extracting info from english output.
maybe another route like registry or vswhere

Originally posted by @dimitre in #414 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdoneThe issue has been fixed and all related changes have been committed

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions