# While building Orthanc from Visual Studio 2022 getting errors in ProtoBufCompiler project

**URL:** https://discourse.orthanc-server.org/t/while-building-orthanc-from-visual-studio-2022-getting-errors-in-protobufcompiler-project/4243
**Category:** General
**Created:** [January 17, 2024, 7:28am UTC](https://discourse.orthanc-server.org/t/while-building-orthanc-from-visual-studio-2022-getting-errors-in-protobufcompiler-project/4243 "2024-01-17T07:28:26Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![leo\_9223](https://discourse.orthanc-server.org/letter_avatar_proxy/v4/letter/l/4af34b/32.png) [@leo\_9223](https://discourse.orthanc-server.org/u/leo_9223)
#### Post date: [January 17, 2024, 7:28am UTC](https://discourse.orthanc-server.org/t/while-building-orthanc-from-visual-studio-2022-getting-errors-in-protobufcompiler-project/4243/1 "2024-01-17T07:28:26Z")

</div>

While building Orthanc from Visual Studio 2022 getting errors in ProtoBufCompiler project. such as:

 ![orthanc2](https://discourse.orthanc-server.org/uploads/default/original/2X/e/eb459e5b9697f93d9eaa1c5bec9007193951b338.png)

Any one could help in this? would be highly appreciable.

---

<div class="post-metadata">

### Author: ![jodogne](https://discourse.orthanc-server.org/user_avatar/discourse.orthanc-server.org/jodogne/32/1511_2.png) [@jodogne](https://discourse.orthanc-server.org/u/jodogne)
#### Post date: [April 1, 2024, 11:07am UTC](https://discourse.orthanc-server.org/t/while-building-orthanc-from-visual-studio-2022-getting-errors-in-protobufcompiler-project/4243/2 "2024-04-01T11:07:38Z")

</div>

**Hello,**

> [@leo\_9223](#):
>
> Any one could help in this?

Sorry, but the Orthanc core developers cannot provide support for each and every version of the Microsoft Visual Studio compilers. The CIS (continuous integration server) of Orthanc project uses Microsoft Visual Studio 2015 to build its 64bits binaries, and Microsoft Visual Studio 2008 to build its 32bits binaries (this old version is necessary to keep compatibility with Microsoft Windows XP). You’ll have to figure out the solution for Visual Studio 2022 by yourself.

**Regards,**  
Sébastien-

---

<div class="post-metadata">

### Author: ![holeen](https://discourse.orthanc-server.org/letter_avatar_proxy/v4/letter/h/f4b2a3/32.png) [@holeen](https://discourse.orthanc-server.org/u/holeen)
#### Post date: [March 7, 2025, 1:08am UTC](https://discourse.orthanc-server.org/t/while-building-orthanc-from-visual-studio-2022-getting-errors-in-protobufcompiler-project/4243/3 "2025-03-07T01:08:49Z")

</div>

![image](https://discourse.orthanc-server.org/uploads/default/original/2X/2/294295b18a06347e3af930dc14b2f5c7f1389549.png)

#define \_SILENCE\_STDEXT\_HASH\_DEPRECATION\_WARNINGS 1  
#include \<hash\_map\>
