# Garfield++ update error

**URL:** <https://root-forum.cern.ch/t/garfield-update-error/49970>\
**Category:** Garfield++\
**Created:** [May 13, 2022, 1:18pm UTC](https://root-forum.cern.ch/t/garfield-update-error/49970 "2022-05-13T13:18:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![changjh12](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/c/cc9497/32.png) [@changjh12](https://root-forum.cern.ch/u/changjh12)\
**Post date:** [May 13, 2022, 1:18pm UTC](https://root-forum.cern.ch/t/garfield-update-error/49970/1 "2022-05-13T13:18:36Z")

</div>

hello

Recently I was updating the Garfield++ program. But after following the tutorial, an error occurred. I don’t know the cause of this error.

thanks

![微信图片_20220513211512](https://root-forum.cern.ch/uploads/default/original/3X/3/e/3e61d6ad2836714076183419acc5575a78a1019f.png)

---

<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:** [May 13, 2022, 1:53pm UTC](https://root-forum.cern.ch/t/garfield-update-error/49970/2 "2022-05-13T13:53:58Z")

</div>

Can you delete and recreate the build folder (`rm -rf ~/garfield/build; ~/garfield/build`) and re-run CMake?

---

<div class="post-metadata">

**Author:** ![changjh12](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/c/cc9497/32.png) [@changjh12](https://root-forum.cern.ch/u/changjh12)\
**Post date:** [May 13, 2022, 2:14pm UTC](https://root-forum.cern.ch/t/garfield-update-error/49970/3 "2022-05-13T14:14:44Z")

</div>

I did it your way. The program was successfully installed. Thank you very much

---

<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:** [May 27, 2022, 2:15pm UTC](https://root-forum.cern.ch/t/garfield-update-error/49970/4 "2022-05-27T14:15:36Z")

</div>

Closed on May 27, 2022, 2:15pm UTC

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