# OpenFHE build process failed

**URL:** <https://openfhe.discourse.group/t/openfhe-build-process-failed/2013>\
**Category:** Library Questions\
**Created:** [May 1, 2025, 6:28pm UTC](https://openfhe.discourse.group/t/openfhe-build-process-failed/2013 "2025-05-01T18:28:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![asbeel](https://avatars.discourse-cdn.com/v4/letter/a/f04885/32.png) [@asbeel](https://openfhe.discourse.group/u/asbeel)\
**Post date:** [May 1, 2025, 6:28pm UTC](https://openfhe.discourse.group/t/openfhe-build-process-failed/2013/1 "2025-05-01T18:28:10Z")

</div>

Hello, hope to find you well. I tried to build the library and this error occurred. Can someone please help me? Thanks in advance.

 ![image](https://canada1.discourse-cdn.com/flex031/uploads/openfhe/original/1X/ca63f07056f4aac48ce99de931e8419a26c2c0dd.jpeg)

---

<div class="post-metadata">

**Author:** ![Caesar](https://yyz1.discourse-cdn.com/flex031/user_avatar/openfhe.discourse.group/caesar/32/63_2.png) [@Caesar](https://openfhe.discourse.group/u/Caesar)\
**Post date:** [May 1, 2025, 6:55pm UTC](https://openfhe.discourse.group/t/openfhe-build-process-failed/2013/2 "2025-05-01T18:55:45Z")

</div>

Firstly, can you make sure to follow the build instructions [here](https://openfhe-development.readthedocs.io/en/latest/sphinx_rsts/intro/installation/installation.html#build-instructions)?

Secondly, what environment are you using? Is this native Ubuntu, or Windows based WSL Ubuntu, or native Windows, or Mingw, or …?

Make sure you use a recent C++ compiler that supports C++ Standard 17.

It looks to me that your C++ environment has some issues, so I would try to build a hello-world program first to check the C++ setup.

---

<div class="post-metadata">

**Author:** ![asbeel](https://avatars.discourse-cdn.com/v4/letter/a/f04885/32.png) [@asbeel](https://openfhe.discourse.group/u/asbeel)\
**Post date:** [May 1, 2025, 7:27pm UTC](https://openfhe.discourse.group/t/openfhe-build-process-failed/2013/3 "2025-05-01T19:27:21Z")

</div>

Hello, I’m on Arch, just did a fresh installation earlier today. I did follow the build instructions though, but this time got this error.

When building with CMake:  
– The C compiler identification is GNU 15.1.1  
– The CXX compiler identification is GNU 15.1.1

Am I missing something? Thanks for your time.

---

<div class="post-metadata">

**Author:** ![Caesar](https://yyz1.discourse-cdn.com/flex031/user_avatar/openfhe.discourse.group/caesar/32/63_2.png) [@Caesar](https://openfhe.discourse.group/u/Caesar)\
**Post date:** [May 1, 2025, 7:35pm UTC](https://openfhe.discourse.group/t/openfhe-build-process-failed/2013/4 "2025-05-01T19:35:51Z")

</div>

> [@asbeel](#):
>
> – The C compiler identification is GNU 15.1.1  
> – The CXX compiler identification is GNU 15.1.1

This is not an error. These are informative printouts. CMake says your system has GNU 15 (that is gcc 15 is available on your system).

I suggest you compile and build a basic hello-world example on your system and run it before trying to build OpenFHE. I also suggest consulting any tutorial on developing C++ code in your environment.

Also, if you still want to follow up on this issue, do provide more details, like more build environment details and a full error report.

---

<div class="post-metadata">

**Author:** ![asbeel](https://avatars.discourse-cdn.com/v4/letter/a/f04885/32.png) [@asbeel](https://openfhe.discourse.group/u/asbeel)\
**Post date:** [May 1, 2025, 7:46pm UTC](https://openfhe.discourse.group/t/openfhe-build-process-failed/2013/5 "2025-05-01T19:46:02Z")

</div>

Sorry, was not referring the printouts as an error. The error I was referring to is the one shown in the image sent with my first message. Well, I’m going to double check the environment. Thanks again for your time.
