-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description
Visual Studio 2026 is supported only since CMake 4.2, and all published benchmarks (as I noted in this comment: #26878 (comment)) has already bumped the minimal cmake to 3.16, so the build_requires' upper bound (<4) is not needed already.
Package and Environment Details
- Package Name/Version: benchmark/[*]
- Operating System+version: Windows 11
- Compiler+version: Visual Studio 2026
- Conan version: conan 2.26.1
- Python version: Python 3.14.3
Conan profile
[settings]
arch=x86_64
build_type=Release
compiler=msvc
compiler.cppstd=14
compiler.runtime=dynamic
compiler.version=195
os=Windows
Steps to reproduce
conan install --requires benchmark/1.9.4 -s compiler.cppstd=17 --build=missing
Logs
Click to expand log
======== Input profiles ========
Profile host:
[settings]
arch=x86_64
build_type=Release
compiler=msvc
compiler.cppstd=17
compiler.runtime=dynamic
compiler.runtime_type=Release
compiler.version=195
os=Windows
Profile build:
[settings]
arch=x86_64
build_type=Release
compiler=msvc
compiler.cppstd=14
compiler.runtime=dynamic
compiler.runtime_type=Release
compiler.version=195
os=Windows
======== Computing dependency graph ========
Graph root
cli
Requirements
benchmark/1.9.4#ce4403f7a24d3e1f907cd9da4b678be4 - Cache
Build requirements
cmake/3.31.11#f325c933f618a1fcebc1e1c0babfd1ba - Cache
Resolved version ranges
cmake/[>=3.16.3 <4]: cmake/3.31.11
======== Computing necessary packages ========
Connecting to remote 'conancenter' anonymously
benchmark/1.9.4: Main binary package '2bff762d1e5488cfdf6199f8e10ea2e5ab957031' missing
benchmark/1.9.4: Checking 2 compatible configurations
benchmark/1.9.4: Compatible configurations not found in cache, checking servers
benchmark/1.9.4: 'c21aebf33b05c57219f368fcbd3f5ef860ee0620': compiler.cppstd=20
benchmark/1.9.4: 'bceaaf3311890e305246e6fa5ac9276ae59a02b6': compiler.cppstd=23
benchmark/1.9.4: No compatible configuration found
A new experimental approach for binary compatibility detection is available.
Enable it by setting the core.graph:compatibility_mode=optimized conf
and get improved performance when querying multiple compatible binaries in remotes.
Requirements
benchmark/1.9.4#ce4403f7a24d3e1f907cd9da4b678be4:2bff762d1e5488cfdf6199f8e10ea2e5ab957031 - Build
Build requirements
cmake/3.31.11#f325c933f618a1fcebc1e1c0babfd1ba:522dcea5982a3f8a5b624c16477e47195da2f84f#4fc5a8ead5bab3f8a7c5627f71320437 - Cache
======== Installing packages ========
cmake/3.31.11: Already installed! (1 of 2)
benchmark/1.9.4: Calling source() in C:\Users\elitebook\.conan2\p\bench5b3d2976a23f6\s\src
benchmark/1.9.4: Uncompressing v1.9.4.tar.gz to .
-------- Installing package benchmark/1.9.4 (2 of 2) --------
benchmark/1.9.4: Building from source
benchmark/1.9.4: Package benchmark/1.9.4:2bff762d1e5488cfdf6199f8e10ea2e5ab957031
benchmark/1.9.4: settings: os=Windows arch=x86_64 compiler=msvc compiler.cppstd=17 compiler.runtime=dynamic compiler.runtime_type=Release compiler.version=195 build_type=Release
benchmark/1.9.4: options: enable_exceptions=True enable_lto=False shared=False
benchmark/1.9.4: Copying sources to build folder
benchmark/1.9.4: Building your package in C:\Users\elitebook\.conan2\p\b\bench8a4ae2df038e6\b
benchmark/1.9.4: Calling generate()
benchmark/1.9.4: Generators folder: C:\Users\elitebook\.conan2\p\b\bench8a4ae2df038e6\b\build\generators
benchmark/1.9.4: CMakeToolchain generated: conan_toolchain.cmake
benchmark/1.9.4: CMakeToolchain generated: C:\Users\elitebook\.conan2\p\b\bench8a4ae2df038e6\b\build\generators\CMakePresets.json
benchmark/1.9.4: CMakeToolchain generated: C:\Users\elitebook\.conan2\p\b\bench8a4ae2df038e6\b\src\CMakeUserPresets.json
benchmark/1.9.4: Generating aggregated env files
benchmark/1.9.4: Generated aggregated env files: ['conanbuild.bat', 'conanrun.bat']
benchmark/1.9.4: Calling build()
benchmark/1.9.4: Running CMake.configure()
benchmark/1.9.4: RUN: cmake -G "Visual Studio 18 2026" -DCMAKE_TOOLCHAIN_FILE="generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/Users/elitebook/.conan2/p/b/bench8a4ae2df038e6/p" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:/Users/elitebook/.conan2/p/b/bench8a4ae2df038e6/b/src"
CMake Error: Could not create named generator Visual Studio 18 2026
Generators
Visual Studio 17 2022 = Generates Visual Studio 2022 project files.
Use -A option to specify architecture.
Visual Studio 16 2019 = Generates Visual Studio 2019 project files.
Use -A option to specify architecture.
Visual Studio 15 2017 [arch] = Generates Visual Studio 2017 project files.
Optional [arch] can be "Win64" or "ARM".
* Visual Studio 14 2015 [arch] = Generates Visual Studio 2015 project files.
Optional [arch] can be "Win64" or "ARM".
Borland Makefiles = Generates Borland makefiles.
NMake Makefiles = Generates NMake makefiles.
NMake Makefiles JOM = Generates JOM makefiles.
MSYS Makefiles = Generates MSYS makefiles.
MinGW Makefiles = Generates a make file for use with
mingw32-make.
Green Hills MULTI = Generates Green Hills MULTI files
(experimental, work-in-progress).
Unix Makefiles = Generates standard UNIX makefiles.
Ninja = Generates build.ninja files.
Ninja Multi-Config = Generates build-<Config>.ninja files.
Watcom WMake = Generates Watcom WMake makefiles.
CodeBlocks - MinGW Makefiles = Generates CodeBlocks project files
(deprecated).
CodeBlocks - NMake Makefiles = Generates CodeBlocks project files
(deprecated).
CodeBlocks - NMake Makefiles JOM
= Generates CodeBlocks project files
(deprecated).
CodeBlocks - Ninja = Generates CodeBlocks project files
(deprecated).
CodeBlocks - Unix Makefiles = Generates CodeBlocks project files
(deprecated).
CodeLite - MinGW Makefiles = Generates CodeLite project files
(deprecated).
CodeLite - NMake Makefiles = Generates CodeLite project files
(deprecated).
CodeLite - Ninja = Generates CodeLite project files
(deprecated).
CodeLite - Unix Makefiles = Generates CodeLite project files
(deprecated).
Eclipse CDT4 - NMake Makefiles
= Generates Eclipse CDT 4.0 project files
(deprecated).
Eclipse CDT4 - MinGW Makefiles
= Generates Eclipse CDT 4.0 project files
(deprecated).
Eclipse CDT4 - Ninja = Generates Eclipse CDT 4.0 project files
(deprecated).
Eclipse CDT4 - Unix Makefiles= Generates Eclipse CDT 4.0 project files
(deprecated).
Kate - MinGW Makefiles = Generates Kate project files (deprecated).
Kate - NMake Makefiles = Generates Kate project files (deprecated).
Kate - Ninja = Generates Kate project files (deprecated).
Kate - Ninja Multi-Config = Generates Kate project files (deprecated).
Kate - Unix Makefiles = Generates Kate project files (deprecated).
Sublime Text 2 - MinGW Makefiles
= Generates Sublime Text 2 project files
(deprecated).
Sublime Text 2 - NMake Makefiles
= Generates Sublime Text 2 project files
(deprecated).
Sublime Text 2 - Ninja = Generates Sublime Text 2 project files
(deprecated).
Sublime Text 2 - Unix Makefiles
= Generates Sublime Text 2 project files
(deprecated).
benchmark/1.9.4: ERROR:
Package '2bff762d1e5488cfdf6199f8e10ea2e5ab957031' build failed
benchmark/1.9.4: WARN: Build folder C:\Users\elitebook\.conan2\p\b\bench8a4ae2df038e6\b\build
ERROR: benchmark/1.9.4: Error in build() method, line 103
cmake.configure()
ConanException: Error 1 while executing
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working