[Gate-users] compilation of Gate 5.0.0
Ida Häggström
ida.haggstrom at radfys.umu.se
Mon Aug 24 08:15:48 CEST 2009
Hi Yonggang!
I encountered the exact same error when I tried to compile Gate 5.0.0...
(could not find libGate.so). I noticed that the compilation of the subdirs
(arf, physics, management etc) was ok and that all those .o-files ended up
in my G4INSTALL directory under G4INSTALL/tmp/Linux-g++/Gate. If you open
the GATE GNUMakefile that you run you see that G4TMP and G4BIN paths are set
to your working directory by default (at least for me):
G4WORKDIR/tmp
G4WORKDIR/bin
When compiling I think it looks there for the just created .o-files! Anyway,
I changed those paths to
G4INSTALL/tmp
G4INSTALL/bin
In all the subdirs (arf, physics etc) there's another makefile where G4TMP
and G4BIN are defined again (don't know why!). I simply commented those
commands so I only had to set them in the main make-file and everything
compiled without problems for me...
Good luck!
Ida
2009/8/22 Cui, Yonggang <ycui at bnl.gov>
> Hi All,
>
>
>
> I have compiled GATE 4.0.0 successfully before. Today, I tried to install
> GATE 5.0.0.
>
>
>
> When I compile it, I got the following errors:
>
>
>
> ***************************************************
>
> Making dependency for file Gate.cc ...
>
> In file included from
> ./source/mandatory_G4_classes/include/GateSteppingAction.h
>
> h:34,
>
> from Gate.cc:34:
>
> ./source/output/include/GateTrack.hh:10:19: TROOT.h: No such file or
> directory
>
> ./source/output/include/GateTrack.hh:11:19: TTree.h: No such file or
> directory
>
> Entering source/arf ...
>
> make[1]: Nothing to be done for `obj'.
>
> source/arf finished
>
> Entering source/geometry ...
>
> make[1]: Nothing to be done for `obj'.
>
> source/geometry finished
>
> Entering source/digitizer ...
>
> make[1]: Nothing to be done for `obj'.
>
> source/digitizer finished
>
> Entering source/output ...
>
> make[1]: Nothing to be done for `obj'.
>
> source/output finished
>
> Entering source/physics ...
>
> make[1]: Nothing to be done for `obj'.
>
> source/physics finished
>
> Entering source/voxel ...
>
> make[1]: Nothing to be done for `obj'.
>
> source/voxel finished
>
> Entering source/mandatory_G4_classes ...
>
> make[1]: Nothing to be done for `obj'.
>
> source/mandatory_G4_classes finished
>
> Entering source/management ...
>
> make[1]: Nothing to be done for `obj'.
>
> source/management finished
>
> Creating shared library /home1/ycui/G4Work/tmp/Linux-g++/Gate/libGate.so
> ...
>
> g++: *.o: No such file or directory
>
> make: *** [/home1/ycui/G4Work/tmp/Linux-g++/Gate/libGate.so] Error 1
>
> ****************************************************
>
>
>
> It seems that GateTrack.hh is a new header file introduced in Gate 5.0.0.
> How can I correct the error?
>
>
>
> Thanks in advance.
>
>
>
> Yonggang
>
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.healthgrid.org
> http://lists.healthgrid.org/mailman/listinfo/gate-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20090824/f73ce512/attachment.htm>
More information about the Gate-users
mailing list