Hi Roger,<br><br>Now the problem is a bit strange ... When compiling gate, some undefined references appear in geant4, but not in relation with Gate ...<br> Your different versions are totally compatible. I think that some includes are missing but I can't tell you more. I see that you chose to use the RayTracerX and OpenGLXM, perhaps your problem come from this ? I don't know if your choice is specific but if you just want to have a standard visualization, you just need OpenGLX, the others allow you to have very specific visualization (and I don't know more about). So if you don't need its, try do disable its and recompile geant4, because many of the error messages are about that.
<br><br>And then, I suggest you to use Gate3.1.1.<br><br>Cheers<br>Simon<br><br><div><span class="gmail_quote">2007/5/24, Simon Stute <<a href="mailto:gate.stute@gmail.com">gate.stute@gmail.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><span class="q" id="q_112bd45397a7e068_0"><br><br>---------- Forwarded message ----------<br><span class="gmail_quote">From: <b class="gmail_sendername">Roger Murray Bourne</b> <<a href="mailto:rbourne@med.usyd.edu.au" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
rbourne@med.usyd.edu.au</a>><br>Date: 24 mai 2007 03:37
<br>Subject: Re: [Gate-users] Re: Gate compile error<br>To: Simon Stute <<a href="mailto:gate.stute@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">gate.stute@gmail.com</a>><br><br>
</span>Hi Simon<br><br>Even after deletion of gate/tmp I get errors that suggest to me that
<br>the geant version is not compatible.<br><br>My current versions are<br>clhep202a geant481p02 root51200 gate300<br><br>gate make (after correct sourcing and setenv) gives<br><br><br>/usr/src/geant4.8.1.p02/lib/Linux-g++/libG4OpenGL.a(
G4OpenGLXmMainMenubarCallbacks.o)(.text+0x739): In function `G4OpenGLXmViewer::misc_callback(_WidgetRec*, void*,<br>void*)':<br>: undefined reference to `G4Xt::getInstance()'<br>/usr/src/geant4.8.1.p02/lib/Linux-g++/libG4OpenGL.a(
G4OpenGLXmMainMenubarCallbacks.o)(.text+0x744): In function `G4OpenGLXmViewer::misc_callback(_WidgetRec*, void*,<br>void*)':<br>: undefined reference to `G4VInteractorManager::RequireExitSecondaryLoop(int)'<br>/usr/src/geant4.8.1.p02/lib/Linux-g++/libG4RayTracer.a(
G4TheRayTracer.o)(.text+0xef): In function `G4TheRayTracer::G4TheRayTracer(G4VFigureFileMaker*,<br>G4VRTScanner*)':<br>: undefined reference to `G4RayShooter::G4RayShooter()'<br>/usr/src/geant4.8.1.p02/lib/Linux-g++/libG4RayTracer.a(
G4TheRayTracer.o)(.text+0x3a7): In function `G4TheRayTracer::G4TheRayTracer(G4VFigureFileMaker*,<br>G4VRTScanner*)':<br>: undefined reference to `G4RayShooter::G4RayShooter()'<br>/usr/src/geant4.8.1.p02/lib/Linux-g++/libG4RayTracer.a(
G4TheRayTracer.o)(.text+0x15fa): In function<br>`G4TheRayTracer::CreateBitMap()':<br>: undefined reference to `G4RayShooter::Shoot(G4Event*,<br>CLHEP::Hep3Vector, CLHEP::Hep3Vector)'<br>/usr/src/geant4.8.1.p02/lib/Linux-g++/libG4Tree.a(
G4ASCIITreeSceneHandler.o)(.text+0x924): In function<br>`G4ASCIITreeSceneHandler::EndModeling()':<br>: undefined reference to<br>`G4PhysicalVolumeMassScene::G4PhysicalVolumeMassScene(G4PhysicalVolumeModel*)'<br>/usr/src/geant4.8.1.p02/lib/Linux-g++/libG4Tree.a(
G4ASCIITreeSceneHandler.o)(.text+0xb8c): In function<br>`G4ASCIITreeSceneHandler::EndModeling()':<br>: undefined reference to<br>`G4PhysicalVolumeMassScene::~G4PhysicalVolumeMassScene()'<br>/usr/src/geant4.8.1.p02/lib/Linux-g++/libG4Tree.a(
G4ASCIITreeSceneHandler.o)(.text+0xbcc): In function<br>`G4ASCIITreeSceneHandler::EndModeling()':<br>: undefined reference to<br>`G4PhysicalVolumeMassScene::~G4PhysicalVolumeMassScene()'<br>collect2: ld returned 1 exit status
<br>make: *** [bin/Linux-g++/Gate] Error 1<br>[rbourne@localhost gate_v3.0.0]$<br><br>Quoting Simon Stute <<a href="mailto:gate.stute@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">gate.stute@gmail.com
</a>>:<br><br>> Hi,<br>><br>> There is no problem with the use of root
5.14 which is supported by Gate<br>> 3.0.0, 3.1.0 and 3.1.1. I personally always use this version which works<br>> fine. The problem is not due to the chosen version of Gate too (3.0.0), even<br>> if as Daniel suggested, the use of
Gate3.1.1 is recommended with the<br>> Geant4.8.1.p02. The problem comes from the last installation of<br>> Geant4.8.2.p01 you did before installing the Geant4.8.1.p02. The Gate<br>> makefile search `/usr/src/geant4.8.2.p01/source/run/include/G4RunManager.hh'
<br>> that you have probably removed. Be sure that your G4INSTALL is pointing to<br>> the good path of the Geant4.8.1.p02 and not of Geant4.8.2.p01, and then you<br>> may have a look at the env.csh (of Geant4.8.1.p02
) to see if all the path<br>> are correct.<br>><br>><br><br>Thanks for your help<br>Roger<br><br><br>
</span></div></blockquote></div><br>