<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hello Ida !<br>It works ! I don't believe my eyes. I started ScannerCT.fast.mac macro, and simulation created some files, two .dat files , and test.root file.<br>Also I was able to start ROOT object browser on test.root, and see some graphs. (I will drink something to celebrate)<br><br>Ida thanks for help, also Simon thank you.<br><br>regards<br>Marko<br> <br><br>--- On <b>Wed, 10/14/09, Ida Häggström <i><ida.haggstrom@radfys.umu.se></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Ida Häggström <ida.haggstrom@radfys.umu.se><br>Subject: Re: [Gate-users] gate5 compilation on Ubuntu problem<br>To: "Marko T. Oreskovic" <mtoreskovic@yahoo.com><br>Cc: "Simon Stute" <gate.stute@gmail.com>, gate-users@lists.healthgrid.org<br>Date: Wednesday, October 14,
2009, 1:35 PM<br><br><div id="yiv938799550">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 rel="nofollow" ymailto="mailto:mtoreskovic@yahoo.com" target="_blank" href="/mc/compose?to=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 rel="nofollow" target="_blank" href="http://ubuntuforums.org/showthread.php?t=1290178">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>
</div></blockquote></td></tr></table><br>