Re: load a list of libs

From: Dmitry Naumov <naumov_at_nusun.jinr.ru>
Date: Fri, 21 Mar 2008 16:48:38 +0300


Hi Ivana,

thanks for your reply. Yes, I am aware about this macro. However as I built a sort of own application (+macros) I have anyway to trace changes in geant4_vmc/examples/macro/g4libs.C in order to update my own modified g4libs.C

On the other hand during recent discussion on this point I got several suggestions and a very nice function from Christian Holm Christensen (cholm_at_nbi.dk) which we iterated among us. This function reads a char* with a full list of G4 libs in the form -L/path -lib1 -lib2 ...-libN and loads them one by one in the memory. This input char* is prepared from G4 liblist function. I find this way rather comfortable. Perhaps you may find this useful as well as you will need not follow G4 modifications and you will have always up-to-date g4libs.C macro? There is only one odd-thing - it loads ALL g4 libs, while we need just some of them. Perhaps this could be sorted out somehow...

Best regards, Dmitry

Ivana Hrivnacova пишет:
> Hi Dmitry,
>
> Geant4 VMC provides a macro for loading all Geant4 libraries
> needed for user application in:
> geant4_vmc/examples/macro/g4libs.C
> This macro is regularly updated with each Geant4 release and
> you can follow the changes using SVN.
>
> Best regards,
>
> Ivana
>
Received on Fri Mar 21 2008 - 14:48:45 CET

This archive was generated by hypermail 2.2.0 : Fri Mar 21 2008 - 17:50:01 CET