# Error related to the interpreter information for class TNtupleD

**URL:** <https://root-forum.cern.ch/t/error-related-to-the-interpreter-information-for-class-tntupled/58843>\
**Category:** Newbie\
**Tags:** tree, root\
**Created:** [April 4, 2024, 9:12am UTC](https://root-forum.cern.ch/t/error-related-to-the-interpreter-information-for-class-tntupled/58843 "2024-04-04T09:12:19Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![neerajk](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/neerajk/32/36130_2.png) [@neerajk](https://root-forum.cern.ch/u/neerajk)\
**Post date:** [April 4, 2024, 11:42am UTC](https://root-forum.cern.ch/t/error-related-to-the-interpreter-information-for-class-tntupled/58843/3 "2024-04-04T11:42:16Z")

</div>

Hi @mdessole,

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

```auto
--------------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

---

_[View the full topic](https://root-forum.cern.ch/t/error-related-to-the-interpreter-information-for-class-tntupled/58843)._
