[Gate-users] Gate_v6_p01 compilation problem

sebnem erturk sebnem.erturk at gmail.com
Mon Jun 28 16:08:29 CEST 2010


Hi Simon,

We solved our problem  at the end.

Thank you very much for your all your guidance and support.

Best regards,

Sebnem & Giacomo

On Sat, Jun 26, 2010 at 2:58 PM, Simon Stute <gate.stute at gmail.com> wrote:

> Hi Sebnem,
>
> Your configuration seems to be OK.
> When you print in this mail the output of the Gate compilation, does it
> mean you did not make clean, and compile all again ?
>
> Cheers,
> Simon
>
>
> On Fri, Jun 25, 2010 at 5:21 PM, sebnem erturk <sebnem.erturk at gmail.com>wrote:
>
>> Hi Simon,
>>
>> I am sending all to you , what we did below:
>>
>>  We are using Debian "Lenny" x64
>>  CLHEP 2.0.4.2
>>  ./configure --prefix=$PWD/../
>>  make
>>  make install
>>  2) GEANT 4.92 p03
>>  ./Configure -build
>>  the headers in one directory
>>  no visualization and no UI
>>   ./Configure -install
>>  ./Configure
>>  3) Root 5.27
>> ./configure --enable-gsl-shared
>>  make
>>  make install
>>  Gate 6.0p01
>>  with this section added in "env_gate.sh"
>> export GATEHOME=/root/gate/gate_v6.0_p01
>> export G4INSTALL=/root/gate/geant4.9.2.p01
>> export G4VERSION=9.2
>> export ROOTSYS=/root/gate/root
>> export
>> LD_LIBRARY_PATH="$ROOTSYS/lib/root:$GATEHOME/tmp/Linux-g++/Gate:$LD_LIBRARY_PATH"
>> export LD_LIBRARY_PATH="$CLHEP_LIB_DIR:$LD_LIBRARY_PATH"
>> export PATH="$ROOTSYS/bin:/root/gate_v6.0_p01/bin/Linux-g++:$PATH"
>> export
>> LD_LIBRARY_PATH="$ROOTSYS/lib:$ROOTSYS/lib/root:$ROOTSYS/include/root"
>> export PATH="$GATEHOME/bin/Linux-g++:$PATH"
>> source env_gate.sh
>> make
>> Compiling GateVSource.cc ...
>> src/GateVSource.cc: In member function 'void
>> GateVSource::Visualize(G4String)':
>> src/GateVSource.cc:123: error: 'GateVisManager' has not been declared
>> /root/gate/2.0.4.2/include/CLHEP/Units/PhysicalConstants.h: At global
>> scope:
>> /root/gate/2.0.4.2/include/CLHEP/Units/PhysicalConstants.h:80: warning:
>> 'CLHEP::electron_charge' defined but not used
>> /root/gate/2.0.4.2/include/CLHEP/Random/Randomize.h:67: warning:
>> 'CLHEP::HepRandomGenActive' defined but not used
>> make[1]: *** [../../tmp/Linux-g++/Gate/GateVSource.o] Error 1
>> source/physics finished
>>
>> Regards,
>>
>> Sebnem
>>
>> On Fri, Jun 25, 2010 at 5:09 PM, sebnem erturk <sebnem.erturk at gmail.com>wrote:
>>
>>> Hi Simon ,
>>>
>>> We changed our version  of geant now we are using geant 4.9.2, clhep
>>> 2.0.4.2, root 5.27 gate_v6p01
>>>
>>> We are taking below messages on debian64 bit.
>>>
>>> What do you suggest us?
>>>
>>>
>>>
>>> Compiling GateVSource.cc ...
>>> src/GateVSource.cc: In member function 'void
>>> GateVSource::Visualize(G4String)':
>>> src/GateVSource.cc:123: error: 'GateVisManager' has not been declared
>>> /root/gate/2.0.4.2/include/CLHEP/Units/PhysicalConstants.h: At global
>>> scope:
>>> /root/gate/2.0.4.2/include/CLHEP/Units/PhysicalConstants.h:80: warning:
>>> 'CLHEP::electron_charge' defined but not used
>>> /root/gate/2.0.4.2/include/CLHEP/Random/Randomize.h:67: warning:
>>> 'CLHEP::HepRandomGenActive' defined but not used
>>> make[1]: *** [../../tmp/Linux-g++/Gate/GateVSource.o] Error 1
>>> source/physics finished
>>> [16:53:01] kirkrulez83: ...
>>> [16:53:02] kirkrulez83: Linking Gate
>>> ./tmp/Linux-g++/Gate/exe/Gate.o: In function `main':
>>> Gate.cc:(.text+0x29df): undefined reference to
>>> `G4UIterminal::G4UIterminal(G4VUIshell*, bool)'
>>> ./tmp/Linux-g++/Gate/libGate.so: undefined reference to `typeinfo for
>>> GateVSourceVoxelReader'
>>>
>>> Regards,
>>>
>>> Sebnem
>>>
>>> On Fri, Jun 25, 2010 at 1:04 PM, Simon Stute <gate.stute at gmail.com>wrote:
>>>
>>>
>>>
>>>> Hi Sebnem,
>>>>
>>>> Do NOT use G4 9.3 with any gate version for the moment. There are too
>>>> much changes since 9.2 in physics processes that have to be investigated.
>>>> Else concerning your problem, your are probably mixing v6 and v6.p01,
>>>> because GateVisManager has been reintroduced only in patched version.
>>>>
>>>> Cheers,
>>>> Simon
>>>>
>>>> On Fri, Jun 25, 2010 at 12:47 PM, sebnem erturk <
>>>> sebnem.erturk at gmail.com> wrote:
>>>>
>>>>> Hello All,
>>>>>
>>>>> We are taking below message during our GATE installation, how can we
>>>>> solve
>>>>> the problem on debian 64bit .
>>>>>
>>>>> We are using versions below:
>>>>>
>>>>>  CLHELP 2.0.4.6  /  GATE  6.0_p01 / Geant 4.9.3 / Root 5.27.02
>>>>>
>>>>> Any suggestions?
>>>>>
>>>>> Entering source/physics ...
>>>>> Compiling GateVSource.cc ...
>>>>> src/GateVSource.cc: In member function 'void
>>>>> GateVSource::Visualize(G4String)':
>>>>> src/GateVSource.cc:123: error: 'GateVisManager' has not been declared
>>>>> /root/gate/2.0.4.6/include/CLHEP/Units/PhysicalConstants.h: At global
>>>>> scope:
>>>>> /root/gate/2.0.4.6/include/CLHEP/Units/PhysicalConstants.h:80:
>>>>> warning:
>>>>> 'CLHEP::electron_charge' defined but not used
>>>>> /root/gate/2.0.4.6/include/CLHEP/Random/Randomize.h:67: warning:
>>>>> 'CLHEP::HepRandomGenActive' defined but not used
>>>>> make[1]: *** [../../tmp/Linux-g++/Gate/GateVSource.o] Error 1
>>>>> source/physics finished
>>>>> Using global libraries ...
>>>>> Linking Gate
>>>>> ./tmp/Linux-g++/Gate/exe/Gate.o: In function `main':
>>>>> Gate.cc:(.text+0x29cf): undefined reference to
>>>>> `G4UIterminal::G4UIterminal(G4VUIshell*, bool)'
>>>>> ./tmp/Linux-g++/Gate/libGate.so: undefined reference to
>>>>> `G4UIterminal::ExitHelp()'
>>>>> ./tmp/Linux-g++/Gate/libGate.so: undefined reference to `typeinfo for
>>>>> GateVSourceVoxelReader'
>>>>>
>>>>> Regards,
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> Sebnem Erturk
>>>>> University of Pisa
>>>>> Applied Physics Dpt.
>>>>> Largo Pontecorvo
>>>>> 56127 Pisa-Italy
>>>>> Office :0039 050 2214346
>>>>> Mobile :0039 345 3331440
>>>>> http://www.df.unipi.it/~fiig/ <http://www.df.unipi.it/%7Efiig/>
>>>>> _______________________________________________
>>>>> Gate-users mailing list
>>>>> Gate-users at lists.opengatecollaboration.org
>>>>> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Sebnem Erturk
>>> University of Pisa
>>> Applied Physics Dpt.
>>> Largo Pontecorvo
>>> 56127 Pisa-Italy
>>> Office :0039 050 2214346
>>> Mobile :0039 345 3331440
>>> http://www.df.unipi.it/~fiig/ <http://www.df.unipi.it/%7Efiig/>
>>>
>>
>>
>>
>> --
>> Sebnem Erturk
>> University of Pisa
>> Applied Physics Dpt.
>> Largo Pontecorvo
>> 56127 Pisa-Italy
>> Office :0039 050 2214346
>> Mobile :0039 345 3331440
>> http://www.df.unipi.it/~fiig/ <http://www.df.unipi.it/%7Efiig/>
>>
>
>


-- 
Sebnem Erturk
University of Pisa
Applied Physics Dpt.
Largo Pontecorvo
56127 Pisa-Italy
Office :0039 050 2214346
Mobile :0039 345 3331440
http://www.df.unipi.it/~fiig/


More information about the Gate-users mailing list