<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi,<br>
</p>
<p><br>
</p>
<p>Did you subscribe to the mailing list ? Otherwise you cannot send emails to it I think. The address is the good one.<br>
</p>
<p><br>
</p>
<p>Use the PATH environment variable in linux to get access to all neede binaries : <a href="https://opensource.com/article/17/6/set-path-linux">https://opensource.com/article/17/6/set-path-linux</a><br>
</p>
<p><br>
</p>
<p>root-config is a binary provided by ROOT, so if you use ROOT with GATE, then you should have it.<br>
</p>
<p>It is used to provided correct links to ROOT libraries.<br>
</p>
<p><br>
</p>
<p>Same for CASToR, add the path to the bin directory into the PATH variable so that you don't have to go inside this bin directory to execute CASToR.<br>
</p>
<p><br>
</p>
<p>Best<br>
</p>
<p>Simon<br>
</p>
<div style="color: rgb(33, 33, 33);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>De :</b> Sowmiya Raj Thirumalai <sthirum6@asu.edu><br>
<b>Envoyé :</b> mercredi 9 octobre 2019 06:01<br>
<b>À :</b> STUTE Simon<br>
<b>Objet :</b> Castor installation and launch error - help</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div>Hi Simon,</div>
<div><br>
</div>
<div> I am new to CASToR. I installed it and I am trying to convert the ROOT file from GATE simulation as Castor data file and geom file for analysis. But, I am getting the following message. Could you please let me know how to launch CASToR and use the tool?
I would really appreciate your help on this.</div>
<div><br>
</div>
<div> I sent the same to the CASToR group list on Oct 3rd, 2019, but there was no response. Hence, I am sending this mail to you directly. I hope I did send it to the correct email list. - (<span style="font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif; font-size:14px"><a href="mailto:castor-users@lists.castor-project.org">castor-users@lists.castor-project.org</a>).</span> </div>
<div><br>
</div>
<div>1) cd castor_v2.1/bin<br>
2) export CASTOR_CONFIG=/home/sowmiya/castor_v2.1/config/<br>
3) castor_v2.1$ castor-GATERootToCastor -i ../../PET_eg_output.root -o PET_phantom -m ../../PET_CylindricalPET_System.mac -geo -s PET_phantom</div>
<div><br>
</div>
<div>castor-GATERootToCastor: command not found</div>
<div><br>
</div>
<div>So, I tried to build CASToR with export CASTOR_ROOT=1. But, I am getting the following errors: </div>
<div><br>
</div>
<div>Making dependencies for datafile/iEventListPET.cc ...<br>
Making dependencies for datafile/iDataFilePET.cc ...<br>
make: root-config: Command not found<br>
Making dependencies for algorithm/oIterativeAlgorithm.cc ...<br>
Making dependencies for algorithm/oSensitivityGenerator.cc ...<br>
In file included from toolkits/castor-GATEMacToGeom.cc:42:0:<br>
include/management/gDataConversionUtilities.hh:44:21: fatal error: TROOT.h: No such file or directory<br>
compilation terminated.<br>
In file included from toolkits/castor-GATERootToCastor.cc:38:0:<br>
include/management/gDataConversionUtilities.hh:44:21: fatal error: TROOT.h: No such file or directory<br>
compilation terminated.<br>
In file included from src/management/gDataConversionUtilities.cc:32:0:<br>
include/management/gDataConversionUtilities.hh:44:21: fatal error: TROOT.h: No such file or directory<br>
compilation terminated.<br>
toolkits/castor-datafileConversionEx.cc:49:21: fatal error: TROOT.h: No such file or directory<br>
compilation terminated.<br>
make: root-config: Command not found<br>
make: root-config: Command not found<br>
make: root-config: Command not found<br>
<br>
</div>
<div><br>
</div>
<div>Thanks & Regards</div>
<div>Sowmiya</div>
</div>
</div>
</div>
</body>
</html>