Hi,<br><br>As a non-durty solution you can set G4WORKDIR to ./ (I think it is the default) and you add $GATEHOME/tmp/bin/Linux-g++ to your LD_LIBRARY_PATH.<br>That&#39;s it !<br><br>Cheers,<br>Simon<br><br><div class="gmail_quote">
2009/8/24 Ida Häggström <span dir="ltr">&lt;<a href="mailto:ida.haggstrom@radfys.umu.se">ida.haggstrom@radfys.umu.se</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;">
Hello again!<br>I found another solution that I think works just as well, maybe even a better idea! <br>Instead of changing the G4TMP and G4BIN in your make-files, type &quot;make&quot; once first so you get the error about not finding libGate.so....<br>

Look in your gate home directory under temp (gate_v5.0.0/tmp/Linux-g++/Gate) where you should hopefully find a bunch of files, including libGate.so. Copy all those files and move to your working directory under the same path: G4Work/tmp/Linux-g+/Gate.<br>

type &quot;make&quot; in your terminal again and I think it should work! It now find all those files... anyway, you should get the executable file &quot;Gate&quot; in your working directory under bin/Linux-g++ I think. You have to copy the libGate.so file into that same directory otherwise it will not be found when trying to run Gate...<br>

hope this helps! worked for me anyways!<br>Ida<br><br><br><div class="gmail_quote">Den 24 augusti 2009 08.15 skrev Ida Häggström <span dir="ltr">&lt;<a href="mailto:ida.haggstrom@radfys.umu.se" target="_blank">ida.haggstrom@radfys.umu.se</a>&gt;</span>:<div>
<div></div><div class="h5"><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">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" target="_blank">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><div></div><div>









<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></div></div>_______________________________________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.healthgrid.org" target="_blank">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>
</blockquote></div></div></div><br>
<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>