<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/64629>64629</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            Multiple errors while building LLVM with Visual Studio 2022
        </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 was following [this tutorial](https://llvm.org/docs/GettingStartedVS.html) to build clang with Visual Studio, but the produced solution (LLVM.sln) produces thousand errors and warnings while building.

All the errors are similar. (**LNK2038**)

![Screenshot 2023-08-10 172558](https://github.com/llvm/llvm-project/assets/138444950/d3243296-00fb-4608-9b93-fd4117891894)
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUkk-P2ywQxj8NviBbMGAbDj5k31VeVd3tJVLu2GCblpgIhkb99pWz2f6R9tKLDRqYefg9j8nZL5tzA2mfSPtcmYJrTMMxeVxL8t-qMdofwyd6M5nOMYR489tCSfuEq88UC8bkTSDtMwG1Il4zEQcCRwLHEL5fmpgWAkcbp0zg-L9D9NtyQpPQ2fOpWfESCGiKkY7FB0unYLaF3jyu9OxzMYGesFgfCfxHx4IUV0evKdoyOUtzDAV93CgB9fJyfm1y2PZujwOZ4hpLNpulLqWYMt2XN5M2vy2Z3lYf3NtYvy0NYc-EHd6-hxDuk96vJUezv_hgUrPPInAgcHj58hmYeGwI6D8bEOCkfTpNybktrxEpMBA1UzVnlPfQtuojYMuOfGymeHnQe_zqa4pf3YQEjiZnhztKLpSUUrdspytACtBdzdg81rJjqtajFvVsJee90lxpSUBXdhBWC20qN_BO816LnvFqHXpnhXR7xc0CGDdOKA2d6FQ_jTNTlR92_UxxDiC55A1TdhZOzlb3rXNcEsncxfjQvHte-ZyLGzrZga6CGV3I94ABbO5G70UCsOctDfcnjmXJRLLgM-bfXdBjcMNrCeiv4ZcffztHd-s_iMzOHKqSwvDPlO_6dsp3_T8DAAD__1Dc_G4">