<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/72766>72766</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Unable to find target for this triple (no targets are registered)
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
Frithurik
</td>
</tr>
</table>
<pre>

I got this error while compilng Kaleidoscope example. I checked TargetRegistry::targets() and it's empty. I'm compiling with Visual Studio 2022 with x86_64-pc-windows-msvc target triple. I installed LLVM with VCPKG.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUkstupDwQhZ_GbEogKNtcFiySP-pfUTLSaC7ZjoxdgCcGI9ukk7cfNd3RrGdjS6dKVXV0PhWjnVainsl7Jh8ytafZh_4UbJr3YF-zwZuPnmHF5L1dFjXZlZh8YNjOKW2R8TuGJ4an6dI_FNovDE_OvX1--Rb8b9KJ4UnFSCkyPFW8FUJ0sryIJec1CZm3ZqhzoYcu74wacjkqbMuqEaqqGXasfGDl3fV9hMknSLONQCH4AOfZOgLtl826dYIn5cgaH7XfCOhdLZujAh5Bz6RfycAPFSZK32iyMYWPiwN-lw4tMmwZdqBWAzYxbCLQsqWPAh4ZNstthV0nONs0w4uNu3LwPe3GesAS8aq_t_WvWuSbzs92Nf4c8yW-abjugBTs7SC7xqScIwPPzy9fbjP_-_r0f5GZnpuOdyqjvmrKkosGqyabe14JWVE71lKj4PXQjKYhqSSvVIu6HTPbY4m8qqoWUZRVU6DUg0aJkivEkZdMlLQo64pLOoUPU2Zj3KlvsKnrzKmBXDxgQFzpDEeRIV7YCP2R6LBPkYnS2Zji3ynJJkf9z1UNjiB5GO1qPi2PPlzzunoHhu3qb8UIKhCEIw0KZBh22R5c_894HZde8Dqc_AkAAP__BCbpmQ">