Error related to the interpreter information for class TNtupleD

Hi @mdessole,

Thank you for your reply. I am pasting the content of my CMakeLists.txt and main program here:

--------------CMakeLists.txt------------------
cmake_minimum_required(VERSION 3.22.1)
project("NK01")
find_package(ROOT REQUIRED COMPONENTS RIO Hist Tree TreePlayer)
include_directories(${ROOT_INCLUDE_DIRS})
link_directories(${ROOT_LIBRARY_DIRS})
add_executable(AP1 src/AP.C)
target_include_directories(AP1 PUBLIC inc)
target_link_libraries(AP1 PUBLIC ${ROOT_LIBRARIES})
----------------------------------------------
---------------AP.C-----------------------------
#include <iostream>
#include <fstream>
#include <sstream>
#include <string>
#include <TObject.h>
#include <TNtupleD.h>
#include "TMath.h"
#include <TVector3.h>
#include "Variables.h"
#include "TChain.h"
#include "PVariables.h"
#include "ReadBranches.C"
#include "AddBranches.C"
#include "Int_Vr.C"

TChain *t1=NULL;
TTree *NewTree=NULL;
using namespace std;
int main(int a1, char *argv[  ])
{
    t1 = new TChain("MT");
    TString fileName = Form("data/r%04d.root", atoi(argv[1]));
    t1->Add(fileName);
	cout<<"File Added: "<<fileName<<endl;
  	NewTree = new TTree("MT","MT");
 	NewTree = t1->CloneTree(0);
	return 0;
}
--------------------------------------------------------

I am unable to upload the data file because of the size issue and I hope this text will be enough.
Thank you,
Neeraj