question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[package] cmake/3.16.3: not working for Windows

See original GitHub issue

Since the Conan CMake Installer packages are deprecated I wanted to switch to the new cmake packages on conan-center.

Unfortunately its not working under windows, because only Linux binaries are downloaded when the package is used as a build_require.

I reckon all package recipes for cmake will have this issue, because there is no distinction between Linux and Windows inside the source() method. conan_data.yml does also only contain urls to the the linux archives.

The old CMake Recipes work fine, by the way.

Package and Environment Details

  • Package Name/Version: cmake/3.16.3
  • Operating System+version: Windows 7
  • Compiler+version: GCC 4.7
  • Conan version: conan 1.25.0
  • Python version: Python 3.7.1

Conan profile

Configuration for profile x86_64_MinGW:

[settings]
os=Windows
os_build=Windows
arch=x86_64
arch_build=x86_64
compiler=gcc
compiler.version=4.7
compiler.libcxx=libstdc++11
build_type=Release
[options]
[build_requires]
[env]

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:22 (17 by maintainers)

github_iconTop GitHub Comments

1reaction
Croydoncommented, Jan 9, 2021

Friendly reminder to re-try, otherwise I think we should close this issue

1reaction
Adnncommented, Jun 10, 2020

Are there any update regarding this issue?

We are facing the exact error number:

ConanException: Error 3221225781 while executing...

on a Microsoft Azure CI agent (Windows 2016, the problem is not appearing on Windows 2019 agents for some reason), and it is preventing us to move our whole infra away from the deprecated cmake_installer/... recipes.

Thank you for reading!

Read more comments on GitHub >

github_iconTop Results From Across the Web

v3.16.3 - CMake - GitLab
There are two ways for building CMake under Windows: Compile with MSVC from VS 2015 or later. You need to download and install...
Read more >
Download - CMake
Get the Software. You can either download binaries or source code archives for the latest stable or previous release or access the current...
Read more >
CMake InstallRequiredSystemLibraries broken in latest Visual ...
The CMake InstallRequiredSystemLibraries standard module does not work in the Visual Studio 2019 release I'm running. This is a regression; it used to...
Read more >
vcpkg, CMake configuration, remote headers, and WSL - C++ ...
Install missing vcpkg packages with a quick action in CMake projects ... The best way to report a problem or suggest a feature...
Read more >
Errors setting up CMake and vcpkg on windows `Can't open ...
SQLite3_VERSION : version of the SQLite3 library found; SQLite3_FOUND : TRUE if found. So if your call to target_link_libraries() doesn't work ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found