<p class="MsoNormal"><font size="2">Hi all,<br>Can someone help me with these problems?<br><br>When I tried to run benchmark macros (i.e. SPECTbench.mac
and benchmarkPET.mac), these problems occur:</font></p>
<p class="MsoNormal"><font size="2"> 1. </font><font size="2">There
is no file for benchSPECT.root. </font></p>
<p class="MsoNormal" style="margin-left: 36pt;"><font size="2">When I typed root [0] .x
benchSPECT.C</font></p>
<p class="MsoNormal" style="margin-left: 36pt;"><font size="2">I have this message: Error in
<TFile::TFile> file does not exist</font></p>
<p class="MsoNormal" style="margin-left: 36pt;"><font size="2"><span style=""> </span>Error: illegal
pointer to class object Singles 0<span style="font-family: Symbol;"><span style="">´</span></span>0 133 benchSPECT.C:21</font></p>
<p class="MsoNormal"><font size="2"><span style=""> </span></font></p>
<ol style="margin-top: 0cm;" start="2" type="1"><li class="MsoNormal" style=""><font size="2">When
tried to complie benchmark_spectra.c using: </font></li></ol>
<p class="MsoNormal" style="margin-left: 18pt; text-indent: 18pt;"><font size="2">gcc -o
benchmark_spectra benchmark_spectra.c –lm</font></p>
<p class="MsoNormal" style="margin-left: 18pt; text-indent: 18pt;"><font size="2">I got this
message:</font></p>
<p class="MsoNormal" style="text-indent: 36pt;"><font size="2">benchmark_spectra.c: In function
â:</font></p>
<p class="MsoNormal" style="text-indent: 36pt;"><font size="2">benchmark_spectra.c:768: error:
missing terminating " character</font></p>
<p class="MsoNormal" style="text-indent: 36pt;"><font size="2">benchmark_spectra.c:769: error: â
undeclared (first use in this function)</font></p>
<p class="MsoNormal" style="text-indent: 36pt;"><font size="2">benchmark_spectra.c:769: error:
(Each undeclared identifier is reported only once</font></p>
<p class="MsoNormal" style="text-indent: 36pt;"><font size="2">benchmark_spectra.c:769: error:
for each function it appears in.)</font></p>
<p class="MsoNormal" style="text-indent: 36pt;"><font size="2">benchmark_spectra.c:769: error:
missing terminating " character</font></p>
<p class="MsoNormal" style="text-indent: 36pt;"><font size="2">benchmark_spectra.c:771: error:
syntax error before â token</font></p>
<p class="MsoNormal"><font size="2"> </font></p>
<ol style="margin-top: 0cm;" start="3" type="1"><li class="MsoNormal" style=""><font size="2">Same
goes with benchmark_spectra.c </font></li></ol>
<p class="MsoNormal" style="text-indent: 36pt;"><font size="2">benchmark_projections.c: In function
â:</font></p>
<p class="MsoNormal" style="text-indent: 36pt;"><font size="2">benchmark_projections.c:662:
error: missing terminating " character</font></p>
<p class="MsoNormal" style="text-indent: 36pt;"><font size="2">benchmark_projections.c:663:
error: â undeclared (first use in this function)</font></p>
<p class="MsoNormal" style="margin-left: 36pt;"><font size="2">benchmark_projections.c:663:
error: (Each undeclared identifier is reported only once</font></p>
<p class="MsoNormal" style="text-indent: 36pt;"><font size="2">benchmark_projections.c:663:
error: for each function it appears in.)</font></p>
<p class="MsoNormal" style="text-indent: 36pt;"><font size="2">benchmark_projections.c:663:
error: syntax error before â</font></p>
<p class="MsoNormal" style="text-indent: 36pt;"><font size="2">benchmark_projections.c:663:
error: stray â in program</font></p>
<p class="MsoNormal" style="text-indent: 36pt;"><font size="2">benchmark_projections.c:663:
error: missing terminating " character</font></p>
<p class="MsoNormal"><font size="2"> </font></p>
<ol style="margin-top: 0cm;" start="4" type="1"><li class="MsoNormal" style=""><font size="2">Does
x. file.C file always appear after simulation runs? And how to convert
.root file to .C file?</font><font size="2"> <br></font></li></ol>
<ol style="margin-top: 0cm;" start="5" type="1"><li class="MsoNormal" style=""><font size="2">For
benchmarkPET.mac, are there no files for benchmark_spectra.c and
benchmark_projections.c? Why?</font></li></ol><br>I really appreciate your help and explanation. Looking forward to your replies.<br>Many thanks,<br>S<br>
<p class="MsoNormal" style="margin-left: 18pt;"><font size="2"><u><span style="text-decoration: none;"> </span></u></font></p>