Missing neBEM::neBEM during Garfield installation

During my Garfield installation, i meet the error that shows

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

The outputs are like the picture below.

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!

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

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?

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.
  • 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

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

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.

oh, thats unthinkable ,i’ll update it

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