Hi,
Im trying to compile my code. I use a make file doing this:
g++ -c -I/vol/optcoma/offline/ape/External/root/5.34.18/include -I/home/mbeekveld/Masterstage/fastjet-3.1.3/include -g -Wall -fPIC -m32 -pthread -m64 -I/vol/optcoma/offline/ape/External/root/5.34.18/include/root main.cc
g++ -o main main.o -I/vol/optcoma/offline/ape/External/root/5.34.18/include -I/home/mbeekveld/Masterstage/fastjet-3.1.3/include -g -Wall -fPIC -m32 -pthread -m64 -I/vol/optcoma/offline/ape/External/root/5.34.18/include/root -L/vol/optcoma/offline/ape/External/root/5.34.18/lib/root -lCore -lCint -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lMathCore -lThread -pthread -lm -ldl -rdynamic -Wl,-rpath,/home/mbeekveld/Masterstage/lib -lm -L/home/mbeekveld/Masterstage/lib -lfastjettools -lfastjet -lfastjetplugins -lsiscone_spherical -lsiscone
But then when I try to run the program I get this:
Warning in TClass::TClass: no dictionary for class TRootLHEFEvent is available
Warning in TClass::TClass: no dictionary for class TRootWeight is available
Warning in TClass::TClass: no dictionary for class TRootLHEFParticle is available
Warning in TClass::TClass: no dictionary for class TSortableObject is available
Warning in TClass::TClass: no dictionary for class TTree is available
Warning in TClass::TClass: no dictionary for class TBranchElement is available
Warning in TClass::TClass: no dictionary for class TBranch is available
Warning in TClass::TClass: no dictionary for class TLeafElement is available
Warning in TClass::TClass: no dictionary for class TLeaf is available
Warning in TClass::TClass: no dictionary for class TLeafI is available
Warning in TClass::TClass: no dictionary for class TBranchRef is available
Error in TBufferFile::ReadClassBuffer: class: TNamed, attempting to access a wrong version: 19, object skipped at offset 57
Error in TBufferFile::CheckByteCount: object of class TNamed read too few bytes: 2 instead of 119190
==> Dumping object at: 0x0000000002918560, name=, class=TNamed
fName object identifier
fTitle object title
fUniqueID 0 object unique identifier
fBits 0x03000000 bit field status word
*** Break *** segmentation violation
My program does nothing more than read in a tree. I load these header files:
#include <TH1.h>
#include <TH2.h>
#include “TMath.h”
#include <string.h>
#include
#include “TSystem.h”
#include “TParticle.h”
#include “TGenerator.h”
#include “TFile.h”
#include
#include
#include “TROOT.h”
#include “TCanvas.h”
#include
#include
#include <TStyle.h>
#include <TCanvas.h>
#include <TRandom.h>
#include “TSystem.h”
#include “TTree.h”
#include “TLorentzVector.h”
#include “fastjet/ClusterSequence.hh”
I think the linking goes wrong, but I havent been able to find a solution. Could one of you help me?