# Problem when reinstall Garfield++ after upgrade GSL

**URL:** <https://root-forum.cern.ch/t/problem-when-reinstall-garfield-after-upgrade-gsl/47753>\
**Category:** Garfield++\
**Created:** [November 22, 2021, 3:59am UTC](https://root-forum.cern.ch/t/problem-when-reinstall-garfield-after-upgrade-gsl/47753 "2021-11-22T03:59:51Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Crisps](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/crisps/32/39101_2.png) [@Crisps](https://root-forum.cern.ch/u/Crisps)\
**Post date:** [November 22, 2021, 3:59am UTC](https://root-forum.cern.ch/t/problem-when-reinstall-garfield-after-upgrade-gsl/47753/1 "2021-11-22T03:59:51Z")

</div>

Dear experts

I somehow upgraded GSL from 2.6 to 2.7, then Garfield++ gives error when I compile my application with it (of course). Then I try to reinstall Garfield++, deleted the whole directory and reinstall from the download step. After “cmake DWITH\_EXAMPLES=OFF $GARFIELD\_HOME”, I got errors when “make” it. Too many errors so I put the first of them. Could someone tell me what is the problem? Thanks in advance!

 ![截屏2021-11-22 12.58.15](https://root-forum.cern.ch/uploads/default/original/3X/d/5/d54d11ab127b23c42e15f3220d35917d70ab510a.png)

---

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [November 22, 2021, 7:25am UTC](https://root-forum.cern.ch/t/problem-when-reinstall-garfield-after-upgrade-gsl/47753/2 "2021-11-22T07:25:07Z")

</div>

May be @hschindl can help.

---

<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:** [November 22, 2021, 7:57am UTC](https://root-forum.cern.ch/t/problem-when-reinstall-garfield-after-upgrade-gsl/47753/3 "2021-11-22T07:57:09Z")

</div>

Hi,  
are you sure that GSL is the only thing that you upgraded or that has changed on your system? Could there be an issue with your ROOT installation?

---

<div class="post-metadata">

**Author:** ![Crisps](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/crisps/32/39101_2.png) [@Crisps](https://root-forum.cern.ch/u/Crisps)\
**Post date:** [November 23, 2021, 4:32am UTC](https://root-forum.cern.ch/t/problem-when-reinstall-garfield-after-upgrade-gsl/47753/4 "2021-11-23T04:32:30Z")

</div>

Well, I actually upgraded everything downloaded by Homebrew, but ROOT is not in it. And I didn’t update my system as far as I know…(will homebrew update my system?)

---

<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:** [November 24, 2021, 1:09pm UTC](https://root-forum.cern.ch/t/problem-when-reinstall-garfield-after-upgrade-gsl/47753/5 "2021-11-24T13:09:12Z")

</div>

But you use the compiler from home-brew?  
You have to make sure that the compiler you are using is compatible with your ROOT installation…

---

<div class="post-metadata">

**Author:** ![Crisps](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/crisps/32/39101_2.png) [@Crisps](https://root-forum.cern.ch/u/Crisps)\
**Post date:** [November 24, 2021, 11:47pm UTC](https://root-forum.cern.ch/t/problem-when-reinstall-garfield-after-upgrade-gsl/47753/6 "2021-11-24T23:47:27Z")

</div>

Yes, you are right. After I reinstall ROOT this problem was solved. Thank you!

---

<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:** [December 8, 2021, 11:48pm UTC](https://root-forum.cern.ch/t/problem-when-reinstall-garfield-after-upgrade-gsl/47753/7 "2021-12-08T23:48:25Z")

</div>

Closed on December 8, 2021, 11:48pm UTC

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