<div dir="ltr"><div>Hi All,</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 anyone please let me know how to launch CASToR and use the tool?</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. I am getting the following errors. Could anyone please let me know what is the problem and how to correct it?<br></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>Making dependencies for toolkits/castor-datafileConversionEx.cc ...<br>Making dependencies for toolkits/castor-GATEMacToGeom.cc ...<br>make: root-config: Command not found<br>Making dependencies for toolkits/castor-GATERootToCastor.cc ...<br>Making dependencies for management/gDataConversionUtilities.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>toolkits/castor-datafileConversionEx.cc:49: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>make: root-config: Command not found<br>make: root-config: Command not found</div><div><br></div><div><br></div><div>Thanks & Regards</div><div>Sowmiya<br></div></div>