# Can't Run TUnfold Tutorial

**URL:** <https://root-forum.cern.ch/t/cant-run-tunfold-tutorial/44320>\
**Category:** Newbie\
**Created:** [April 7, 2021, 8:36pm UTC](https://root-forum.cern.ch/t/cant-run-tunfold-tutorial/44320 "2021-04-07T20:36:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Charlie\_Chen](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/charlie_chen/32/21807_2.png) [@Charlie\_Chen](https://root-forum.cern.ch/u/Charlie_Chen)\
**Post date:** [April 7, 2021, 8:36pm UTC](https://root-forum.cern.ch/t/cant-run-tunfold-tutorial/44320/1 "2021-04-07T20:36:34Z")

</div>

I’m trying to run some of TUnfold tutorials and I am finding that the macros are unable to locate the TUnfold.h header files. I understand that TUnfold was included into the ROOT package in a prior version so I am confused as to why I am unable to locate the TUnfold header files. Did I miss a flag when I built ROOT (I built from source to enable c++17 capabilities instead of downloading a precompiled binary)? Or do I need to enable TUnfold somehow?

I’ve found that the source/header files are found at [Stefan Schmitt, about TUnfold](https://www.desy.de/~sschmitt/tunfold.html), is it just as simple as simply extracting the .h and .cxx files to my ROOT installation?

Any help would be greatly appreciated. Thanks in advance!

_ROOT Version:_ 6.22/06  
_Platform:_ Ubuntu 20.04

---

<div class="post-metadata">

**Author:** ![moneta](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/moneta/32/19423_2.png) [@moneta](https://root-forum.cern.ch/u/moneta)\
**Post date:** [April 12, 2021, 12:44pm UTC](https://root-forum.cern.ch/t/cant-run-tunfold-tutorial/44320/2 "2021-04-12T12:44:33Z")

</div>

Hi,

the Unfold ROOT package requires a ROOT build with XML support and this needs the library `libxml2`. You might need to install libxml2 before building ROOT

Best regards

Lorenzo
