Find_package not finding histfactory

Hi guys

ROOT Version: 6.20.02
Platform: Centos 7
Compiler: gcc version 9.1.1 20190605 (Red Hat 9.1.1-2) (GCC)

I recently transferred my project to CentOS 7. I am new to CentOS so please excuse me if this is a trivial question.

In the CMake.txt file that’s in my project, the find_packages() function is able to find RooStats, RooFit and RooFitCore but for some reason it is not finding histfactory

find_package(ROOT CONFIG REQUIRED COMPONENTS roofit roofitcore roostats histfactory )

I get the following CMake error:

CMake Error at /opt/root/root-6.20.02-install/cmake/ROOTConfig.cmake:153 (message):
  ROOT component histfactory not found
Call Stack (most recent call first):
  CMakeLists.txt:9 (find_package)

Any idea what the problem might be?


Does the file




Yeah I just realized that histfactory did not install because xml was not installed in the system.


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