Skip to content

Commit c44af07

Browse files
ErniGHjcar87davidsanfalAbrilRBSperseoGI
authored
[new blog] Windows arm64 builds now enabled in Conan Center (#294)
* [new blog] Windows arm64 builds now enabled in Conan Center * Update _posts/2025-09-30-Windows-arm64-builds-now-enabled-in-Conan-Center.markdown Co-authored-by: David Sánchez Falero <david.sanchez.falero@gmail.com> * Update _posts/2025-09-30-Windows-arm64-builds-now-enabled-in-Conan-Center.markdown Co-authored-by: Abril Rincón Blanco <5364255+AbrilRBS@users.noreply.github.com> * Update _posts/2025-09-30-Windows-arm64-builds-now-enabled-in-Conan-Center.markdown Co-authored-by: David Sánchez Falero <david.sanchez.falero@gmail.com> * Update _posts/2025-09-30-Windows-arm64-builds-now-enabled-in-Conan-Center.markdown Co-authored-by: Abril Rincón Blanco <5364255+AbrilRBS@users.noreply.github.com> * Update _posts/2025-09-30-Windows-arm64-builds-now-enabled-in-Conan-Center.markdown Co-authored-by: Abril Rincón Blanco <5364255+AbrilRBS@users.noreply.github.com> * Update _posts/2025-09-30-Windows-arm64-builds-now-enabled-in-Conan-Center.markdown Co-authored-by: Abril Rincón Blanco <5364255+AbrilRBS@users.noreply.github.com> * Update _posts/2025-09-30-Windows-arm64-builds-now-enabled-in-Conan-Center.markdown Co-authored-by: Abril Rincón Blanco <5364255+AbrilRBS@users.noreply.github.com> * Update _posts/2025-09-30-Windows-arm64-builds-now-enabled-in-Conan-Center.markdown Co-authored-by: Abril Rincón Blanco <5364255+AbrilRBS@users.noreply.github.com> * Update 2025-09-30-Windows-arm64-builds-now-enabled-in-Conan-Center.markdown * Update _posts/2025-09-30-Windows-arm64-builds-now-enabled-in-Conan-Center.markdown Co-authored-by: Abril Rincón Blanco <5364255+AbrilRBS@users.noreply.github.com> * Update _posts/2025-09-30-Windows-arm64-builds-now-enabled-in-Conan-Center.markdown * change image visual-studio-desktop-development * Update _posts/2025-09-30-Windows-arm64-builds-now-enabled-in-Conan-Center.markdown Co-authored-by: Luis Caro Campos <3535649+jcar87@users.noreply.github.com> * Update _posts/2025-09-30-Windows-arm64-builds-now-enabled-in-Conan-Center.markdown Co-authored-by: Luis Caro Campos <3535649+jcar87@users.noreply.github.com> * fix urls | rename to 10-01 * Update _posts/2025-10-01-Windows-arm64-builds-now-enabled-in-Conan-Center.markdown Co-authored-by: PerseoGI <perseog@jfrog.com> --------- Co-authored-by: Luis Caro Campos <3535649+jcar87@users.noreply.github.com> Co-authored-by: David Sánchez Falero <david.sanchez.falero@gmail.com> Co-authored-by: Abril Rincón Blanco <5364255+AbrilRBS@users.noreply.github.com> Co-authored-by: PerseoGI <perseog@jfrog.com>
1 parent 0efa801 commit c44af07

File tree

3 files changed

+131
-0
lines changed

3 files changed

+131
-0
lines changed
Lines changed: 131 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
1+
---
2+
layout: post
3+
comments: false
4+
title: "Windows ARM64 builds now enabled in Conan Center"
5+
description: "ARM-powered devices continue to gain significant traction across a number of platforms"
6+
meta_title: "What is in your dependencies updates?"
7+
categories: [armv8, arm64, windows, conan]
8+
---
9+
10+
ARM-powered devices continue to gain significant traction across a number of platforms. Last year marked a pivotal
11+
moment with Microsoft's release of new Surface products as well as laptops from multiple vendors featuring Snapdragon X
12+
CPUs. This commitment is further reinforced by Qualcomm's recent announcement of the Snapdragon X2 Elite, further
13+
enabling developer workflows on native devices.
14+
15+
Conan has been platform-agnostic since its inception, already enabling teams to target various operating systems and CPU
16+
architectures using the same recipes and commands (e.g., macOS Apple Silicon, Android, iOS, FreeBSD, …). Windows ARM64
17+
is no exception.
18+
19+
But up until now, the conancenter remote lacked binaries for this evergrowing platform, that's why we're thrilled to
20+
announce improved support for Windows ARM64 in Conan Center recipes! We've been working
21+
hard to streamline the development experience for this platform, and the latest improvements are now rolling out.
22+
23+
## What's New and Improved?
24+
25+
**Native Installer and Self-Contained Executable:** While Conan is typically installed by developers locally using pip,
26+
we also provide standalone installers that don’t require a Python distribution. Starting with the
27+
**Conan 2.21.0 release**, we are now providing a [native ARM64 Windows installer](https://github.com/conan-io/conan/releases/download/2.21.0/conan-2.21.0-windows-arm64-installer.exe) as well as [a self-contained executable](https://github.com/conan-io/conan/releases/download/2.21.0/conan-2.21.0-windows-arm64.zip)
28+
for Conan.
29+
30+
**Validated recipes for native development:** We understand that a package manager is only as good as the packages it
31+
provides. We've dedicated significant effort to validating a subset of the most popular Conan Center recipes to ensure
32+
they build and run natively on Windows ARM64. This includes over 350+ recipes in Conan Center (and counting!), including
33+
the most popular ones such as Boost, OpenCV, Qt, ffmpeg, Protocol buffers, gRPC, and many more!
34+
35+
**Improved fallbacks for build tools that don’t yet support ARM64:** Some recipes require build tools that currently only
36+
run with x86_64 emulation, like Autotools on msys2 and strawberry perl. We have improved the recipes so that compatible
37+
binaries are transparently fetched from Conan Center without manual tweaks.
38+
39+
**Availability of Windows ARM64 binaries in Conan Center:** To further simplify your development workflow, Conan Center
40+
CI will now actively build and publish Windows ARM64 binaries for already validated recipes. This means that for an ever
41+
growing list of libraries, you won't need to build from source on your ARM64 machine if your profile matches the
42+
available binaries, saving you time and resources. This is an ongoing process and we aim to publish Windows ARM64
43+
binaries for every recipe that supports it. You can check if binaries are available in the Conan Center package
44+
explorer, example: [https://conan.io/center/recipes/fmt](https://conan.io/center/recipes/fmt)
45+
46+
### Your Feedback Fuels Our Progress!
47+
48+
This is an ongoing effort, and your feedback is invaluable. As you begin to develop on Windows ARM64 with Conan, we
49+
strongly encourage you to share your experiences, report any issues, and suggest additional recipes you'd like to see
50+
natively supported. Your contributions help us prioritize and expand our ARM64 coverage, ensuring Conan Center remains
51+
a powerful resource for all developers.
52+
53+
## Getting started with Conan for native ARM64 Windows Development
54+
55+
To get started with native Windows ARM64 development, you'll need the right tools. Here's a quick guide to the essential
56+
components:
57+
58+
### Conan
59+
60+
Download the latest
61+
[installer](https://github.com/conan-io/conan/releases/download/2.21.0/conan-2.21.0-windows-arm64-installer.exe)
62+
(does *NOT* require a separate Python installation) and follow the instructions in the installation wizard.
63+
64+
### CMake
65+
66+
Now you will need CMake, which you can download from the official [website](https://cmake.org/download/). Don’t forget to
67+
add it to the system PATH.
68+
69+
The current release at time of writing is 4.1.1
70+
(download [installer](https://github.com/Kitware/CMake/releases/download/v4.1.1/cmake-4.1.1-windows-arm64.msi)).
71+
72+
### Visual Studio
73+
74+
* Install Visual Studio 2022 (Version 17.4 or later): This is the first version of Visual Studio that offers native ARM64
75+
support. You can download it from the official [Visual Studio website](https://visualstudio.microsoft.com/downloads/).
76+
Please ensure you are using the correct license.
77+
* Select the "Desktop development with C++" Workload: During the Visual Studio installation process, ensure you select this workload.
78+
79+
<div style="text-align: center;">
80+
<img src="{{ site.baseurl }}/assets/post_images/2025-10-01/visual-studio-desktop-development.png"
81+
alt="conan report diff web interface"/>
82+
</div>
83+
<br>
84+
85+
That’s it! Now let’s get this to work.
86+
In a terminal window, first run the following command:
87+
88+
{% highlight bash %}
89+
> conan profile detect
90+
{% endhighlight %}
91+
92+
The result should be:
93+
94+
{% highlight bash %}
95+
Detected profile:
96+
[settings]
97+
arch=armv8
98+
build_type=Release
99+
compiler=msvc
100+
compiler.cppstd=17
101+
compiler.runtime=dynamic
102+
compiler.version=194
103+
os=Windows
104+
105+
{% endhighlight %}
106+
107+
⚠️ Ensure the detected architecture is ``arch=armv8``. If you get ``x86_64``, you may be running a non-native installation of Python or Conan. This will still work, but you will need to modify the generated profile to reflect the ``arm=armv8`` architecture.
108+
109+
## Build a sample project
110+
111+
We can now use Conan as we are already used to natively on any platform. For example one of the toy projects in the
112+
examples repo:
113+
114+
{% highlight bash %}
115+
> git clone https://github.com/conan-io/examples2.git
116+
> cd examples2/examples/libraries/raylib/introduction
117+
> conan install . -s compiler.cppstd=17
118+
> cmake --preset conan-default
119+
> cmake --build --preset conan-release
120+
.\build\Release\runner_game.exe
121+
{% endhighlight %}
122+
123+
<div style="text-align: center;">
124+
<img src="{{ site.baseurl }}/assets/post_images/2025-10-01/raylib-image-example.png"
125+
alt="conan report diff web interface"/>
126+
</div>
127+
<br>
128+
129+
Dependencies will be downloaded from Conan Center and the app will build and run natively on Windows ARM64.
130+
131+
Happy coding!
59.7 KB
Loading
65.2 KB
Loading

0 commit comments

Comments
 (0)