Skip to content

How to specify exact version number rather than latest #68

@ssoelvsten

Description

@ssoelvsten

I am on thomasmoelhave/tpie#257 , adding CI for all major platforms for the TPIE library which my research project is heavily dependent upon. Yet, due to a very weird error (thomasmoelhave/tpie#269), the library cannot compile with the latest 2019 MSC compiler, but only up to 19.27.

Specifically, as far as I can tell, the TPIE compatibility with MSC breaks between these two version numbers

Working Failing
Product Version 16.7 16.8.1
Runtime Library 14.27 14.28
MSC version 19.27.29112 19.28.29333

Based on the README, I am unable to figure out what value to parse to this GitHub Action? There is a toolset argument but I seem to get an error regardless of whether I set it to 16.7, 14.27 or 19.27 (or maybe I missed a specific value when trying it out?).

For example when using v1.12.1 and toolset to the product version, I get the error messages

Found with vswhere: C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat
Error: Could not setup Developer Command Prompt: invalid parameters
[ERROR:vcvars.bat] Toolset directory for version '16.7' was not found.

Based on the Wikipedia article, I should provide a truncated runtime library instead, but neither 14.27 nor 141 seem to work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions