# How to know which library I need add to link

**URL:** <https://root-forum.cern.ch/t/how-to-know-which-library-i-need-add-to-link/62583>\
**Category:** Newbie\
**Created:** [January 4, 2025, 3:01pm UTC](https://root-forum.cern.ch/t/how-to-know-which-library-i-need-add-to-link/62583 "2025-01-04T15:01:17Z")\
**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:** [January 4, 2025, 3:38pm UTC](https://root-forum.cern.ch/t/how-to-know-which-library-i-need-add-to-link/62583/2 "2025-01-04T15:38:39Z")

</div>

> [@How to dump modulemap ".pcm" files](https://root-forum.cern.ch/t/how-to-dump-modulemap-pcm-files/39935/23):
>
> Just for the completeness of this thread … For (almost) all ROOT classes, somewhere in the middle of the [ROOT “Class Reference” web pages](https://root.cern/doc/master/classes.html), right before the “Inheritance diagram for ...:” graph (right before the “Member, Constructor, ..., Documentation” sections), one can find the information which “#include” files are needed. Starting with ROOT 6.12, at the bottom of these web pages, one can find the “Libraries for ...:” graph, which shows the library to link and its dependencies. For an exam…

---

_[View the full topic](https://root-forum.cern.ch/t/how-to-know-which-library-i-need-add-to-link/62583)._
