In order to run Gate, you have to to tell your OS where the executable Gate is located. You can add the path to your executable to your PATH variable: <br><br>export PATH=<your path to Gate>/bin/Linux-g++:$PATH<br><br>
or use the setenv command instead of export. You can then type "Gate" to get it started.<br>/ida<br><br><div class="gmail_quote">Den 14 oktober 2009 12.38 skrev Marko T. Oreskovic <span dir="ltr"><<a href="mailto:mtoreskovic@yahoo.com">mtoreskovic@yahoo.com</a>></span>:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit;" valign="top">
Hi Ida, Simon<br>I have checked my root/include directory and this is where all .h header files are located (I don't have another root directory inside include directory).<br>My problem was about ROOTSYS environmental variable and scrip I was using to set some other variables, here<br>
you can read more:<br><a href="http://ubuntuforums.org/showthread.php?t=1290178" target="_blank">http://ubuntuforums.org/showthread.php?t=1290178</a><br>I'm still not sure how I got it working, but it works now .<br><br>
I have then started compilation process, and this is my output at the end<br><br>Compiling GateUIterminal.cc ...<br>Compiling GateVisAttributesMessenger.cc ...<br>Compiling GateVisManager.cc ...<br>Compiling GateXMLDocument.cc ...<br>
source/management finished<br>Creating/replacing object files in ./tmp/Linux-g++/Gate/libGate.a ...<br>ar: creating ./tmp/Linux-g++/Gate/libGate.a<br>Compiling Gate.cc ...<br>In file included from
./source/mandatory_G4_classes/include/GateRunManager.hh:46,<br> from Gate.cc:18:<br>/usr/share/geant4/geant4.9.2.p01/source/run/include/G4RunManager.hh: In member function ‘void G4RunManager::SetRandomNumberStoreDir(G4String)’:<br>
/usr/share/geant4/geant4.9.2.p01/source/run/include/G4RunManager.hh:352: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result<br>Using granular libraries ...<br>Linking Gate ...<br>
... Done!<br><br><br>There were some warn_unused_result warnings, but I'm not sure if this is a serious problem.<br>If this is a successful compilation how do I start Gate, or some examples ?<br>I have tried to type "Gate" and "Gate benchmarkPET.mac" at command prompt but I got "bash: Gate: command not found"<br>
<br>regards<br>Marko<br></td></tr></tbody></table><br>
</blockquote></div><br>