# Missing neBEM::neBEM during Garfield installation

**URL:** <https://root-forum.cern.ch/t/missing-nebem-nebem-during-garfield-installation/62723>\
**Category:** Garfield++\
**Tags:** root\
**Created:** [January 22, 2025, 9:27am UTC](https://root-forum.cern.ch/t/missing-nebem-nebem-during-garfield-installation/62723 "2025-01-22T09:27:09Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![clouter](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/c/50afbb/32.png) [@clouter](https://root-forum.cern.ch/u/clouter)\
**Post date:** [January 22, 2025, 9:27am UTC](https://root-forum.cern.ch/t/missing-nebem-nebem-during-garfield-installation/62723/1 "2025-01-22T09:27:09Z")

</div>

During my Garfield installation, i meet the error that shows

```auto
The following imported targets are referenced, but are missing:
  neBEM::neBEM

```

The outputs are like the picture below.

 ![image](https://root-forum.cern.ch/uploads/default/original/3X/e/5/e5df6ba45f62bc18a1b0862d05ffc097c0cc3df5.png)

I was following the guide on  
When “Run CMake to create the `Makefile` and build the executable.”, i got the error. i didn’t do other changes, and haven’t know how to fix it.

Can anyone give some help, much appreciated!

---

<div class="post-metadata">

**Author:** ![clouter](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/c/50afbb/32.png) [@clouter](https://root-forum.cern.ch/u/clouter)\
**Post date:** [January 22, 2025, 9:30am UTC](https://root-forum.cern.ch/t/missing-nebem-nebem-during-garfield-installation/62723/2 "2025-01-22T09:30:13Z")

</div>

sorry about cant copy links in the post, the guide is on  
https garfieldpp web cern ch  
/garfieldpp/getting-started/

---

<div class="post-metadata">

**Author:** ![hschindl](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/h/977dab/32.png) [@hschindl](https://root-forum.cern.ch/u/hschindl)\
**Post date:** [January 22, 2025, 9:41am UTC](https://root-forum.cern.ch/t/missing-nebem-nebem-during-garfield-installation/62723/3 "2025-01-22T09:41:01Z")

</div>

Hi,  
sorry for that! Can you do a git pull to update to the latest version of the master branch and re-build the project?

---

<div class="post-metadata">

**Author:** ![Piet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/piet/32/12536_2.png) [@Piet](https://root-forum.cern.ch/u/Piet)\
**Post date:** [January 22, 2025, 10:03am UTC](https://root-forum.cern.ch/t/missing-nebem-nebem-during-garfield-installation/62723/4 "2025-01-22T10:03:36Z")

</div>

Dear @clouter

- you can only insert links in the posts after you have reached certain maturity on the forum, you can read more about it [here](https://blog.discourse.org/2018/06/understanding-discourse-trust-levels/).
- it seems to me that you are issuing the `cmake ..` command not in the usual directory. If your `$GARFIELD_HOME=/home/mydir/garfield` then you should issue the `cmake ..` command in `$GARFIELD_HOME/build` while you are now doing it in `$GARFIELD_HOME/build/Gem/build`, which makes you building the Gem example before having built Garfield.

Kind regards  
Piet Verwilligen

---

<div class="post-metadata">

**Author:** ![clouter](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/c/50afbb/32.png) [@clouter](https://root-forum.cern.ch/u/clouter)\
**Post date:** [January 22, 2025, 10:33am UTC](https://root-forum.cern.ch/t/missing-nebem-nebem-during-garfield-installation/62723/5 "2025-01-22T10:33:50Z")

</div>

Yes, i think you are right. The example folder contents nothing has been built, maybe i’ll trying other examples later.

---

<div class="post-metadata">

**Author:** ![hschindl](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/h/977dab/32.png) [@hschindl](https://root-forum.cern.ch/u/hschindl)\
**Post date:** [January 22, 2025, 10:46am UTC](https://root-forum.cern.ch/t/missing-nebem-nebem-during-garfield-installation/62723/6 "2025-01-22T10:46:01Z")

</div>

Independently of the unusual build directory, there was a genuine issue with the neBEM build yesterday; please update to the HEAD of the master branch.

---

<div class="post-metadata">

**Author:** ![clouter](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/c/50afbb/32.png) [@clouter](https://root-forum.cern.ch/u/clouter)\
**Post date:** [January 22, 2025, 11:05am UTC](https://root-forum.cern.ch/t/missing-nebem-nebem-during-garfield-installation/62723/7 "2025-01-22T11:05:18Z")

</div>

oh, thats unthinkable ,i’ll update it

---

<div class="post-metadata">

**Author:** ![system](https://root-forum.cern.ch/uploads/default/original/3X/e/f/efe4f24398fd8ffeb76bccb6ecc46d9d9c003376.png) [@system](https://root-forum.cern.ch/u/system)\
**Post date:** [February 5, 2025, 11:05am UTC](https://root-forum.cern.ch/t/missing-nebem-nebem-during-garfield-installation/62723/8 "2025-02-05T11:05:28Z")

</div>

Closed on February 5, 2025, 11:05am UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
