# Help! With setting up OpenFHE on my Linux

**URL:** <https://openfhe.discourse.group/t/help-with-setting-up-openfhe-on-my-linux/1595>\
**Category:** Library Questions\
**Created:** [September 21, 2024, 11:07pm UTC](https://openfhe.discourse.group/t/help-with-setting-up-openfhe-on-my-linux/1595 "2024-09-21T23:07:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![loki](https://avatars.discourse-cdn.com/v4/letter/l/3be4f8/32.png) [@loki](https://openfhe.discourse.group/u/loki)\
**Post date:** [September 21, 2024, 11:07pm UTC](https://openfhe.discourse.group/t/help-with-setting-up-openfhe-on-my-linux/1595/1 "2024-09-21T23:07:42Z")

</div>

I am fairly new to C++ (and linux for that matter), so would greatly appreciate some advise on how I can proceed.

I have completed all steps in [Installing OpenFHE on Linux](https://openfhe-development.readthedocs.io/en/latest/sphinx_rsts/intro/installation/linux.html) - I was able to run the sample code to test “bin/examples/pke/simple-integers”

But, when I follow the instructions on [Building User Applications](https://openfhe-development.readthedocs.io/en/latest/sphinx_rsts/intro/building_user_applications.html) - I get the following error on step 7.

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

How do I go about resolving this?

---

<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:** [September 22, 2024, 12:22am UTC](https://openfhe.discourse.group/t/help-with-setting-up-openfhe-on-my-linux/1595/2 "2024-09-22T00:22:50Z")

</div>

It is clear from the error message `No SOURCES given to target: fhe-demo` that `cmake` is trying to create an executable named “fhe-demo” without specifying any source files.

`cmake` cannot find your code file `simple-integers.cpp`. Perhaps you did not specify the correct name in `CMakeLists.txt`, you did not identify the source path with the `cmake` command, or there is no code file at all.

Ensure your code file name is `simple-integers.cpp` stored in a source path that `cmake` can locate.

---

<div class="post-metadata">

**Author:** ![loki](https://avatars.discourse-cdn.com/v4/letter/l/3be4f8/32.png) [@loki](https://openfhe.discourse.group/u/loki)\
**Post date:** [September 22, 2024, 5:37pm UTC](https://openfhe.discourse.group/t/help-with-setting-up-openfhe-on-my-linux/1595/3 "2024-09-22T17:37:00Z")

</div>

Thanks, for being patient and pointing out my silly mistake!

Now, as I am following the instructions listed under - **How To Link Your Own Project After Having OpenFHE Installed** , in the README.md of this [page](https://github.com/openfheorg/openfhe-development/tree/main/src/pke/examples). I am facing the following issue;

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

How do I go about this?

---

<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:** [September 22, 2024, 8:43pm UTC](https://openfhe.discourse.group/t/help-with-setting-up-openfhe-on-my-linux/1595/4 "2024-09-22T20:43:27Z")

</div>

It looks like you don’t have OpenMP installed on your system.  
Try installing OpenMP, it might solve the problem.
