<div> <font face="Arial, Helvetica, sans-serif">hi I did not encountered exactly the same problem as yours. Actually the message error never mentionned anything about ROOT stuff <br>
<br>
[dounia@secret gate_v3.1.2]$ make<br>
Using granular libraries ...<br>
Linking Gate ...<br>
./tmp/Linux-g++/Gate/exe/Gate.o: In function `G4VisExecutive::RegisterGraphicsSystems()':<br>
Gate.cc:(.text+0x32f): undefined reference to `G4OpenGLImmediateXm::G4OpenGLImmediateXm()'<br>
Gate.cc:(.text+0x351): undefined reference to `G4OpenGLStoredXm::G4OpenGLStoredXm()'<br>
collect2: ld returned 1 exit status<br>
make: *** [bin/Linux-g++/Gate] Error 1<br>
<br>
so this is after sourcing the env.sh when i type make. <br>
Actually I had lot of pb finding the path of OPENGL XM driver. the installation ask about the path of this driver cause it cannot found it, then after several tries it says this driver has been found in /usr. <br>
I don`t know if its the same problem but actually as I could not install root properly (because of these path directory things) i installed it without prefix just by typing<br>
</font><span class="postbody"><br>
cd root
<br>
./configure
<br>
make
<br>
<br>
. bin/thisroot.sh ( this can be added to you .bash_profile: . ~/root/bin/thisroot.sh)
<br>
<br>
root
<br>
<font face="Arial, Helvetica, sans-serif"> and then root works perfectly well from any directory you can be in (i am saying this because before with the prefix installation i was forced to be in /root/bin to execute root!)<br>
<br>
Anyway, i hope somebody had the same problem and fixed it!!<br>
<br>
thank you to answer.<br>
cheers,<br>
dounia<br>
</font></span><pre>Dounia Taleb<br>
Imagerie medicale experimentale - Département de physique<br>
Université de Liège - Institut de Physique, B5<br>
B-4000 Liège 1 (Sart-Tilman) - Belgique<br>
Tel: +32-4-3663152</pre><br>
<span class="postbody"><font face="Arial, Helvetica, sans-serif"><br>
</font></span></div>
<div> <br>
</div>
<div> <br>
</div>
-----E-mail d'origine-----<br>
De : Bjoern Jakoby <bjoern.jakoby@gmx.de><br>
Cc : gate-users@lists.healthgrid.org<br>
Envoyé le : Lundi, 24 Mars 2008 0:13<br>
Sujet : Re: [Gate-users] Installation problems - Root related?<br>
<br>
<div id="AOLMsgPart_3_9ea0026d-a34c-4b11-a67f-39f6f73da962">
<font size="-1"><font face="Arial">Nevermind. Fixed it after
re-compiling root-5.14 etc...<br>
<br>
Happy Easter,<br>
Bjoern<br>
<br>
<br>
</font></font><br>
Bjoern Jakoby wrote:
<blockquote type="cite">
<font size="-1"><font face="Arial">Hi Marc,<br>
<br>
I am encountering exactly the same problem that you describe below.<br>
Did you ever resolve it with Simon's suggestion?<br>
It does not fix it for me ;-( .<br>
<br>
Any ideas from anyone would be appreciated.<br>
<br>
Thanks,<br>
Bjoern<br>
<br>
</font></font><br>
Simon Stute wrote:
<blockquote type="cite">Hi,<br>
<br>
<div><span class="gmail_quote">2008/1/14, Marc Chamberland <<a __removedlink__1658873164__href="mailto:mchamber@connect.carleton.ca">mchamber@connect.carleton.ca</a>>:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Thank
you for the quick reply, Simon.<br>
<br>
The first time I tried making Gate, ROOTSYS was unknowingly set to a<br>
newer version of Root and the linking process failed miserably.</blockquote>
<div><br>
If you did not remove the tmp directory in the Gate directory (it
contains all *.d files (dependency files) created during the
compilation) since this time, I am pretty sure that the problem comes
from here. Because in this case, for the first time the compilation
found the declarations in the TTree.h file (from the newer version of
Root), so even if you have now fixed ROOTSYS to the good directory
(5.14), the compilation continues to search the implementation of the
functions in the library corresponding to TTree.h
. But the problem is that in the 5.14 version, those implementation are
certainly in an other header file.<br>
<br>
So if you have never removed the tmp directory, do so and launch again
the makefile with the appropriate path and ROOTSYS variable pointing to
the 5.14 version of ROOT, the compilation will start again from the
beginning. Else, this is a strange case ! because ROOT5.14 is
appropriate for Gate3.1.2.<br>
</div>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Then,
I changed ROOTSYS and LD_LIBRARY_PATH to point to the Root 5.14<br>
installation and I got the error message from my previous message. In<br>
any case, I've tried it again just to make sure (I source env_gate.csh<br>
beforehand):<br>
<br>
mchamber@surt> printenv ROOTSYS<br>
/data/data014/HEP/root-5.14<br>
mchamber@surt> printenv LD_LIBRARY_PATH<br>
/data/data014/HEP/root-5.14/lib:/local/X11/lib:/local/X11/lib/X11:/usr/<br>
lib:/lib:/usr/lib/X11:/usr/openwin/lib:/local/lib:/opt/local/lib:/data/
<br>
data014/HEP/Geant4/geant4.9.0.p01/lib/Linux-g++:/data/data014/HEP/<br>
CLHEP/lib:/data/data014/HEP/Coin/lib:/home/mchamber/geant4/lib/Linux-g++<br>
mchamber@surt> make<br>
Using granular libraries ...<br>
Linking Gate ... <br>
./tmp/Linux-g++/Gate/libGate.so: undefined reference to<br>
`TTree::SetEntryList(TEntryList*, char const*)'<br>
./tmp/Linux-g++/Gate/libGate.so: undefined reference to<br>
`TTree::CopyAddresses(TTree*, bool)'<br>
./tmp/Linux-g++/Gate/libGate.so: undefined reference to<br>
`TTree::ResetBranchAddress(TBranch*)'<br>
./tmp/Linux-g++/Gate/libGate.so: undefined reference to<br>
`TTree::GetEntryList()'<br>
collect2: ld returned 1 exit status <br>
make: *** [bin/Linux-g++/Gate] Error 1<br>
<br>
You say those functions should be defined in the header file? Would<br>
that be TTree.h? Or would they be in another header file? Because in<br>
TTree.h from root 5.14.00g, those functions are definitely not there. </blockquote>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">There's
CopyAddresses, but it takes on an additional argument. If you<br>
have time, please have a look at the attached file. It's from the <br>
source code of Root 5.14 that I just downloaded from the Root website.<br>
<br>
Thank you again for your time, it's really appreciated!<br>
<br>
~Marc</blockquote>
<div><br>
De rien !<br>
<br>
Simon <br>
</div>
<br>
</div>
<br>
<pre><hr size="4" width="90%"><br>
_______________________________________________<br>
Gate-users mailing list<br>
<a class="moz-txt-link-abbreviated" __removedlink__1658873164__href="mailto:Gate-users@lists.healthgrid.org">Gate-users@lists.healthgrid.org</a><br>
<a class="moz-txt-link-freetext" target="_blank" __removedlink__1658873164__href="http://lists.healthgrid.org/mailman/listinfo/gate-users">http://lists.healthgrid.org/mailman/listinfo/gate-users</a><br>
</pre>
</blockquote>
<pre><hr size="4" width="90%"><br>
_______________________________________________<br>
Gate-users mailing list<br>
<a class="moz-txt-link-abbreviated" __removedlink__1658873164__href="mailto:Gate-users@lists.healthgrid.org">Gate-users@lists.healthgrid.org</a><br>
<a class="moz-txt-link-freetext" target="_blank" __removedlink__1658873164__href="http://lists.healthgrid.org/mailman/listinfo/gate-users">http://lists.healthgrid.org/mailman/listinfo/gate-users</a><br>
</pre>
</blockquote>
</div>
<!-- end of AOLMsgPart_3_9ea0026d-a34c-4b11-a67f-39f6f73da962 -->
<div id="AOLMsgPart_4_9ea0026d-a34c-4b11-a67f-39f6f73da962" style="margin: 0px; font-family: Tahoma,Verdana,Arial,Sans-Serif; font-size: 12px; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<pre style="font-size: 9pt;"><tt>_______________________________________________<br>
Gate-users mailing list<br>
<a __removedlink__1658873164__href="mailto:Gate-users@lists.healthgrid.org">Gate-users@lists.healthgrid.org</a><br>
<a __removedlink__1658873164__href="http://lists.healthgrid.org/mailman/listinfo/gate-users" target="_blank">http://lists.healthgrid.org/mailman/listinfo/gate-users</a>
</tt></pre>
</div>
<!-- end of AOLMsgPart_4_9ea0026d-a34c-4b11-a67f-39f6f73da962 -->