Message: Re: error in compiling hadrontherapy.cc Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Re: error in compiling hadrontherapy.cc 

Keywords: compile errors
Forum: Documentation and Examples
Re: Question error in compiling hadrontherapy.cc
Date: 22 Nov, 2004
From: Steven Avery <Steven Avery>

I receive the same error message when I try to compile Hadrontherapy.cc I'm using RH Linux Enterprise 3 (WS) gcc version 3.2.3

If I comment out
 //  if (argc==1)   // Define UI session for interactive mode.
  // {

  //#ifdef G4UI_USE_XM
  //     session = new G4UIXm(argc,argv);
  //#else           

  //#ifdef G4UI_USE_TCSH
  //  session = new G4UIterminal(new G4UItcsh);      
  //#else
  //  session = new G4UIterminal();
  //#endif
  //#endif
  //   }

It compiles and links, but I'm not sure what I lose by doing that. Also, my visualisation window goes away after the events are generated. Where in the code do I tell it to not delete the window?

Regards, Steven

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Feedback: Re: error in compiling hadrontherapy.cc - Problem solved   (Steven Avery - 23 Nov, 2004)
3 Question: Re: error in compiling hadrontherapy.cc   (jfgao@mdanderson.org - 14 Jan, 2008)
9 Question: Re: error in compiling hadrontherapy.cc   (jfgao@mdanderson.org - 14 Jan, 2008)
 Add Message Add Message
to: "Re: error in compiling hadrontherapy.cc"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]