Message: Re: Problems with geant4.9.4 version in compiling advanced examples as hadrontherapy, medical linac, etc. etc. Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Problems with geant4.9.4 version in compiling advanced examples as hadrontherapy, medical linac, etc. etc. 

Forum: Installation and Configuration
Re: Question Problems with geant4.9.4 version in compiling advanced examples as hadrontherapy, medical linac, etc. etc. (Carlo Casarino)
Re: Question Re: Problems with geant4.9.4 version in compiling advanced examples as hadrontherapy, medical linac, etc. etc. (Ben Morgan)
Re: None Re: Problems with geant4.9.4 version in compiling advanced examples as hadrontherapy, medical linac, etc. etc. (Carlo Casarino)
Date: 17 Feb, 2011
From: Ben Morgan <Ben Morgan>

Hi Carlo,

Thanks for the information.

On Wed, 16 Feb 2011 08:37:53 GMT, Carlo Casarino wrote:
> However when I invoke the "echo $LD_LIBRARY_PATH" comand it says:
> 
>  
> [ geant4@localhost ~]$ echo $LD_LIBRARY_PATH
> -L/home/geant4/qt_nokia_4.7.1/lib/lib:-L/home/geant4/qt_nokia_4.7.1/lib/lib:/home/geant4/librerie_geant4.9.4/GDML_XERCES/lib:/home/geant4/librerie_geant4.9.4/CLHEP/lib:
> 
> Perhaps it looks good...

Hmm, the two entries for Qt shouldn't have -L prepended to them, that'll certainly cause a problem later on, but it shouldn't affect the compilation. I should've spotted it earlier (so apologies for asking you to dig through the environment again), but after you've sourced your setup-geant4.9.4 script, what are the values of:

  • QTMOC
  • QTFLAGS
  • QTLIBS
  • GLQTLIBS

These are the variables that actually control the Qt part, and should have been set correctly when you ran Configure -build to build Geant4 itself, assuming you pointed the build at your Qt 4.7.1 installation. The build of Geant4 should also have generated env.(c)sh scripts which set all the needed environment variables. If your setup-geant4.9.4 script isn't a straight copy of this, the setting of the above variables might be off.

Could you also re-run the build of HadronTherapy, running make as

  • make CPPVERBOSE=1

and post the output here please? That'll allow us to take a look at the exact commands used to compile and link.

Cheers,

Ben.

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

1 None: Re: Problems with geant4.9.4 version in compiling advanced examples as hadrontherapy, medical linac, etc. etc.   (Carlo Casarino - 17 Feb, 2011)
(_ None: Re: Problems with geant4.9.4 version in compiling advanced examples as hadrontherapy, medical linac, etc. etc.   (Ben Morgan - 18 Feb, 2011)
(_ None: Re: Problems with geant4.9.4 version in compiling advanced examples as hadrontherapy, medical linac, etc. etc.   (Carlo Casarino - 18 Feb, 2011)
(_ Feedback: Re: Problems with geant4.9.4 version in compiling advanced examples as hadrontherapy, medical linac, etc. etc.   (Ben Morgan - 18 Feb, 2011)
(_ Ok: Finally I am happy...next night I will sleep without worry... :-)   (Carlo Casarino - 18 Feb, 2011)
(_ None: Re: Finally I am happy...next night I will sleep without worry... :-)   (Ben Morgan - 18 Feb, 2011)
 Add Message Add Message
to: "Re: Problems with geant4.9.4 version in compiling advanced examples as hadrontherapy, medical linac, etc. etc."

 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 ]