# Garfield++ examples

**URL:** <https://root-forum.cern.ch/t/garfield-examples/39953>\
**Category:** Garfield++\
**Created:** [June 17, 2020, 5:19pm UTC](https://root-forum.cern.ch/t/garfield-examples/39953 "2020-06-17T17:19:43Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [June 23, 2020, 9:37am UTC](https://root-forum.cern.ch/t/garfield-examples/39953/6 "2020-06-23T09:37:18Z")

</div>

Just for reference:

> [@Fatal error when trying to run the Gem example](https://root-forum.cern.ch/t/fatal-error-when-trying-to-run-the-gem-example/39995/7):
>
> Below, you can find simple instructions on how to build Garfield++ (with examples) from scratch. Try (in case of problems, inspect the three created “\*.out.txt” files): # ... assuming you are using a bash like shell ... source /full/path/to/your/root/bin/thisroot.sh # setup your ROOT export GARFIELD\_HOME=${PWD}/garfieldpp # where to build Garfield++ rm -rf ${GARFIELD\_HOME} # make sure you start with an empty directory git clone --depth=1 https://gitlab.cern.ch/garfield/garfieldpp.git ${GARFIEL…

---

_[View the full topic](https://root-forum.cern.ch/t/garfield-examples/39953)._
