Skip to content

[BUG] python3 install_requirements.py fails on Windows due to hunter with recent versions of MSVC #1235

@srcejon

Description

@srcejon
python3 install_requirements.py 

fails on Windows with:

[hunter ** INTERNAL **] Unexpected MSVC_VERSION: '1944'

It seems to download hunter v0.23.322. In cmake/modules/hunter_setup_msvc.cmake it has

string(REGEX MATCH "^193[0-9]$" _vs_17_2022 "${MSVC_VERSION}")

Which doesn't seem to support recent versions of MSVC 194*

It's fixed in github https://github.com/cpp-pm/hunter/blob/master/cmake/modules/hunter_setup_msvc.cmake so perhaps a more recent version needs to be used. v0.26.1 appears to be the latest.

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