Hi Yonggang!<br>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): <br>
G4WORKDIR/tmp<br>G4WORKDIR/bin<br> When compiling I think it looks there for the just created .o-files! Anyway, I changed those paths to <br>G4INSTALL/tmp <br>
G4INSTALL/bin<br>In all the subdirs (arf, physics etc) there&#39;s another makefile where G4TMP and G4BIN are defined again (don&#39;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...<br>
Good luck!<br>Ida<br><br><div class="gmail_quote">2009/8/22 Cui, Yonggang <span dir="ltr">&lt;<a href="mailto:ycui@bnl.gov">ycui@bnl.gov</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">









<div link="blue" vlink="purple" lang="EN-US">

<div>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">Hi All,</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;"> </span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">I have compiled GATE 4.0.0 successfully before.  Today, I
tried to install GATE 5.0.0.</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;"> </span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">When I compile it, I got the following errors:</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;"> </span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">***************************************************</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">Making dependency for file Gate.cc ...</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">In file included from
./source/mandatory_G4_classes/include/GateSteppingAction.h</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">h:34,</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">                 from Gate.cc:34:</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">./source/output/include/GateTrack.hh:10:19: TROOT.h: No such
file or directory</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">./source/output/include/GateTrack.hh:11:19: TTree.h: No such
file or directory</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">Entering source/arf ...</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">make[1]: Nothing to be done for `obj&#39;.</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">source/arf finished</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">Entering source/geometry ...</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">make[1]: Nothing to be done for `obj&#39;.</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">source/geometry finished</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">Entering source/digitizer ...</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">make[1]: Nothing to be done for `obj&#39;.</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">source/digitizer finished</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">Entering source/output ...</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">make[1]: Nothing to be done for `obj&#39;.</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">source/output finished</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">Entering source/physics ...</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">make[1]: Nothing to be done for `obj&#39;.</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">source/physics finished</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">Entering source/voxel ...</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">make[1]: Nothing to be done for `obj&#39;.</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">source/voxel finished</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">Entering source/mandatory_G4_classes ...</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">make[1]: Nothing to be done for `obj&#39;.</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">source/mandatory_G4_classes finished</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">Entering source/management ...</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">make[1]: Nothing to be done for `obj&#39;.</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">source/management finished</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">Creating shared library
/home1/ycui/G4Work/tmp/Linux-g++/Gate/libGate.so ...</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">g++: *.o: No such file or directory</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">make: *** [/home1/ycui/G4Work/tmp/Linux-g++/Gate/libGate.so]
Error 1</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">****************************************************</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;"> </span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">It seems that GateTrack.hh is a new header file introduced
in Gate 5.0.0.  How can I correct the error?</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;"> </span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">Thanks in advance.</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;"> </span></font></p><font color="#888888">

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">Yonggang</span></font></p>

</font></div>

</div>


<br>_______________________________________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.healthgrid.org">Gate-users@lists.healthgrid.org</a><br>
<a href="http://lists.healthgrid.org/mailman/listinfo/gate-users" target="_blank">http://lists.healthgrid.org/mailman/listinfo/gate-users</a><br>
<br></blockquote></div><br>