Skip to content

Bug fix for VS 2026 / msvc 195 / MSVC Build Tools 14.51#60

Draft
garethsb wants to merge 3 commits into
NVIDIA:mainfrom
garethsb:bugfix/garethsb-msvc-195
Draft

Bug fix for VS 2026 / msvc 195 / MSVC Build Tools 14.51#60
garethsb wants to merge 3 commits into
NVIDIA:mainfrom
garethsb:bugfix/garethsb-msvc-195

Conversation

@garethsb

@garethsb garethsb commented Jun 24, 2026

Copy link
Copy Markdown
Collaborator

After sony/nmos-cpp#497 fixed detection to not pick <experimental/filesystem> there are a few more problems to resolve.

First, no "Visual Studio 18 2026" generator in CMake 3.31. It may get backported but for now we need CMake >=4.2.
See conan-io/conan-center-index#28884.

Next, cpprestsdk uses std::ios_base::_Openprot which has been removed by microsoft/STL@e2ef398. Possible fix submitted as sony/nmos-cpp#498.

garethsb and others added 2 commits June 24, 2026 14:51
Signed-off-by: Gareth Sylvester-Bradley <garethsb@nvidia.com>
conan-canary Windows jobs use MSVC 195 and build nmos-cpp from source;
Conan Center cmake/<4 cannot generate for Visual Studio 18 2026.
Override tool_requires to cmake/[>=4.2.0 <5] in conan-canary only.
See conan-io/conan-center-index#28884.

Signed-off-by: Gareth Sylvester-Bradley <garethsb@nvidia.com>
@garethsb garethsb force-pushed the bugfix/garethsb-msvc-195 branch from f1e389b to e558259 Compare June 24, 2026 13:52
Only build-nmos-cpp-from-source keeps MSVC 195 and the cmake 4.2 override.

Signed-off-by: Gareth Sylvester-Bradley <garethsb@nvidia.com>
@garethsb garethsb force-pushed the bugfix/garethsb-msvc-195 branch from 33ccf71 to a9c4875 Compare June 24, 2026 17:55
@garethsb

Copy link
Copy Markdown
Collaborator Author

After both sony/nmos-cpp PRs have been merged, the MSVC 195 &:nmos_cpp_from_source=True build is successful. We could leave that just in the conan-canary for now but the conan package needs the same enhancements, so we'll have to keep pinned to MSVC 194 to use that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant