I need help, it is the first time I use root, I installed it correctly in ubuntu 18, the root version is 6.18, I am trying to make root work with pythia through this line in a makefile:
histpkp: histpkp.cc
g++ -I/home/jadi/software/pythia/pythia8310/include root-config --cflags
@.cc -o @ -lpythia8 -L/home/jadi/software/pythia/pythia8310/lib root-config --glibs
and it gives me the error:
make histpkp
g++ -I/home/jadi/software/pythia/pythia8310/include root-config --cflags
histpkp.cc -o histpkp -lpythia8 -L/home/jadi/software/pythia/pythia8310/lib root-config --glibs
histpkp.cc:2:10: fatal error: Tfile.h: no such file or directory
#include “Tfile.h”
^~~~~~~~~
compilation terminated.