[Gate-users] Gate V7.0 - Compiling 'filemerger' and 'jobsplitter'
PmB
peter.bloomfield at camhpet.ca
Mon Oct 6 21:48:25 CEST 2014
FYI
Having thought about it walking home, I arrived at a solution for
'jobsplitter'; similar to 'filemerger'; I am not too sure why it needed
any thought, but ho-hum.
Make the following changes to the Makefile in the jobsplitter directory
1. Add the path to the CLHEP include files to the argument 'INCLUDE'
2. Add the path to the CLHEP libraries to the argument 'LDFLAGS'
so for me it looked like this
INCLUDE := -I./include -I"/quarantine/GATE/CLHEP/Install/include"
`geant4-config --cflags`
LDFLAGS := -L"/quarantine/GATE/CLHEP/Install/lib" `geant4-config
--libs`
then 'make' executes without error.
Peter
On 10/03/2014 01:52 PM, PmB wrote:
> Dear All,
>
> I have Gate V7.0 compiled, and it executes the PET benchmark
> successfully and the root analysis produced similar to as I have seen
> before.
>
> I am trying to compile 'filemerger' and 'jobsplitter'
>
> 'filemerger'
> Typing 'make' resulted in the following error
> /usr/bin/ld: cannot find -lCLHEP-2.1.3.1
> so I modified Makefile; adding -L"/quarantine/GATE/CLHEP/Install/lib"
> as the first option for LDFLAGS and it compiles, and the executable
> 'gjm' seems to execute.
>
> 'jobsplitter'
> Typing 'make'resulted in the following errors
> /quarantine/GATE/Geant4/Install/bin/../include/Geant4/G4SystemOfUnits.hh:27:39:
> error: CLHEP/Units/SystemOfUnits.h: No such file or directory
> In file included from
> /quarantine/GATE/Geant4/Install/bin/../include/Geant4/globals.hh:70,
> from ./include/GateSplitManager.hh:14,
> from gjs.cc:16:
> and then lots of
> /quarantine/GATE/Geant4/Install/bin/../include/Geant4/G4PhysicalConstants.hh:29:
> error: ‘CLHEP’ has not been declared
>
> which seems to suggest that CLHEP was not defined, but I have it set
> to '/quarantine/GATE/CLHEP/Install' under which are the directories
> 'bin', 'include' and 'lib'
>
> I am using 'gcc version 4.4.4 20100726 (Red Hat 4.4.4-13) (GCC)'.
>
> If anyone has any thoughts they will be most appreciated
>
> Peter
>
--
Peter M. Bloomfield
Physicist,
PET Centre,
Centre for Addiction and Mental Health,
250 College St.,
Toronto, Ontario,
Canada M5T 1R8
Tel: 416 535 8501 Ext. 34243
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20141006/f7dc847b/attachment.html>
More information about the Gate-users
mailing list