Dear Friends,
I installed root with pythia 8 as a plug in and it went completely well with the installation and even I ran an example from tutorials . I ran the example under Pythia8.C tutorials/pythia directory and it went totally well!
But when I tried to ran the file pythia_display.C from tutorials/eve directory I found an issue i.e it was made for pythia 6 library , hence I edited it accordingly and ran it and got following list of errors
Please help fellows .
This is the link of code I am running .
https://root.cern.ch/root/html/tutorials/eve/pythia_display.C.html
Here is the link of errors I am getting :
root [1] .x /Users/Umang/pythia_root/root/tutorials/eve/pythia_display.C
In file included from input_line_30:21:
In file included from /Users/Umang/pythia_root/root/include/TEveBrowser.h:15:
/Users/Umang/pythia_root/root/include/TEveElement.h:33:7: error: redefinition of 'TEveElement’
class TEveElement
^
/Users/Umang/pythia_root/root/include/TEveElement.h:33:7: note: previous definition is here
class TEveElement
^
In file included from input_line_30:21:
In file included from /Users/Umang/pythia_root/root/include/TEveBrowser.h:15:
/Users/Umang/pythia_root/root/include/TEveElement.h:428:37: error: base class has incomplete type
class TEveElementObjectPtr : public TEveElement,
~~~~~^
/Users/Umang/pythia_root/root/include/TPyDispatcher.h:22:7: note: forward declaration of 'TEveElement’
class TEveElement;
^
In file included from input_line_30:21:
In file included from /Users/Umang/pythia_root/root/include/TEveBrowser.h:15:
/Users/Umang/pythia_root/root/include/TEveElement.h:459:32: error: base class has incomplete type
class TEveElementList : public TEveElement,
~~~~~^
/Users/Umang/pythia_root/root/include/TPyDispatcher.h:22:7: note: forward declaration of 'TEveElement’
class TEveElement;
^
In file included from input_line_30:21:
In file included from /Users/Umang/pythia_root/root/include/TEveBrowser.h:15:
/Users/Umang/pythia_root/root/include/TEveElement.h:477:21: error: cannot initialize a variable of type 'const TObject ’ with an rvalue of
type 'const TEveElementList '
{ const TObject obj = this; return const_cast<TObject>(obj); }
^ ~~~~
/Users/Umang/pythia_root/root/include/TEveElement.h:481:57: error: cannot initialize object parameter of type ‘const TNamed’ with an
expression of type 'const TEveElementList’
virtual const char* GetElementName() const { return GetName(); }
^~~~~~~
/Users/Umang/pythia_root/root/include/TEveElement.h:482:57: error: cannot initialize object parameter of type ‘const TNamed’ with an
expression of type 'const TEveElementList’
virtual const char* GetElementTitle() const { return GetTitle(); }
^~~~~~~~
/Users/Umang/pythia_root/root/include/TEveElement.h:485:14: error: cannot initialize object parameter of type ‘TNamed’ with an expression of
type ‘TEveElementList’
{ TNamed::SetName(name); NameTitleChanged(); }
^~~~~~~
/Users/Umang/pythia_root/root/include/TEveElement.h:485:29: error: use of undeclared identifier ‘NameTitleChanged’
{ TNamed::SetName(name); NameTitleChanged(); }
^
/Users/Umang/pythia_root/root/include/TEveElement.h:488:14: error: cannot initialize object parameter of type ‘TNamed’ with an expression of
type ‘TEveElementList’
{ TNamed::SetTitle(title); NameTitleChanged(); }
^~~~~~~~
/Users/Umang/pythia_root/root/include/TEveElement.h:488:31: error: use of undeclared identifier ‘NameTitleChanged’
{ TNamed::SetTitle(title); NameTitleChanged(); }
^
/Users/Umang/pythia_root/root/include/TEveElement.h:491:14: error: cannot initialize object parameter of type ‘TNamed’ with an expression of
type ‘TEveElementList’
{ TNamed::SetNameTitle(name, title); NameTitleChanged(); }
^~~~~~~~~~~~
/Users/Umang/pythia_root/root/include/TEveElement.h:491:41: error: use of undeclared identifier ‘NameTitleChanged’
{ TNamed::SetNameTitle(name, title); NameTitleChanged(); }
^
/Users/Umang/pythia_root/root/include/TEveElement.h:520:58: error: cannot initialize return object of type ‘TEveElement *’ with an rvalue of
type 'TEveElementListProjected '
virtual TEveElement GetProjectedAsElement() { return this; }
^~~~
In file included from input_line_30:21:
/Users/Umang/pythia_root/root/include/TEveBrowser.h:43:68: error: member access into incomplete type 'TEveElement’
virtual Bool_t IsActive() const { return fElement->GetSelectedLevel() != 0; }
^
/Users/Umang/pythia_root/root/include/TPyDispatcher.h:22:7: note: forward declaration of 'TEveElement’
class TEveElement;
^
In file included from input_line_30:21:
/Users/Umang/pythia_root/root/include/TEveBrowser.h:47:70: error: member access into incomplete type 'TEveElement’
virtual const char *GetText() const { return fElement->GetElementName(); }
^
/Users/Umang/pythia_root/root/include/TPyDispatcher.h:22:7: note: forward declaration of 'TEveElement’
class TEveElement;
^
In file included from input_line_30:21:
/Users/Umang/pythia_root/root/include/TEveBrowser.h:48:77: error: member access into incomplete type 'TEveElement’
virtual Int_t GetTextLength() const { return strlen(fElement->GetElementName()); }
^
/Users/Umang/pythia_root/root/include/TPyDispatcher.h:22:7: note: forward declaration of 'TEveElement’
class TEveElement;
^
In file included from input_line_30:21:
/Users/Umang/pythia_root/root/include/TEveBrowser.h:49:70: error: member access into incomplete type 'TEveElement’
virtual const char GetTipText() const { return fElement->GetElementTitle(); }
^
/Users/Umang/pythia_root/root/include/TPyDispatcher.h:22:7: note: forward declaration of 'TEveElement’
class TEveElement;
^
In file included from input_line_30:21:
/Users/Umang/pythia_root/root/include/TEveBrowser.h:50:77: error: member access into incomplete type 'TEveElement’
virtual Int_t GetTipTextLength() const { return strlen(fElement->GetElementTitle()); }
^
/Users/Umang/pythia_root/root/include/TPyDispatcher.h:22:7: note: forward declaration of 'TEveElement’
class TEveElement;
^
In file included from input_line_30:21:
/Users/Umang/pythia_root/root/include/TEveBrowser.h:57:72: error: member access into incomplete type 'TEveElement’
virtual const TGPictureGetPicture() const { return fElement->GetListTreeIcon(fOpen); }
^
/Users/Umang/pythia_root/root/include/TPyDispatcher.h:22:7: note: forward declaration of 'TEveElement’
class TEveElement;
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
Error in TInterpreter::AutoParse: Error parsing payload code for class TEveException with content: