# Problem with library MathCore linker

**URL:** <https://root-forum.cern.ch/t/problem-with-library-mathcore-linker/36631>\
**Category:** ROOT\
**Created:** [November 1, 2019, 8:08pm UTC](https://root-forum.cern.ch/t/problem-with-library-mathcore-linker/36631 "2019-11-01T20:08:12Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [November 1, 2019, 8:38pm UTC](https://root-forum.cern.ch/t/problem-with-library-mathcore-linker/36631/2 "2019-11-01T20:38:06Z")

</div>

Try:

```auto
`root-config --cxx --cflags` -o accident macro.cpp source/Source.cpp source/Utility.cpp source/Transport.cpp source/Output.cpp source/OuterSource.cpp source/Dispersion.cpp source/Dose.cpp `root-config --libs`

```

---

_[View the full topic](https://root-forum.cern.ch/t/problem-with-library-mathcore-linker/36631)._
