<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Dear Kim,</p>
<p>From your email I am not sure if you compiled CASToR using ccmake
GUI, command-line cmake, or using the CASToR makefile.</p>
<p>Your list of options suggests you used ccmake GUI first. CASToR
ROOT option should be set to YES (not the case here), however it
should be set on automatically if you set
CASToR_BUILD_GATE_UTILITIES to YES after configuring. If you
toggle advanced mode in root GUI (using 't'), one of the last
variable ROOT_CONFIG_EXECUTABLE should indicate the position of
your root files. You can check this to be sure CASToR found your
root installation, and then generating the ccmake makefile in
order to finally compile the code.</p>
<p>Hope this helps,<br>
Thibaut<br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 11/11/2021 04:16, 김건민 wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAKdsSBh9ORP2aTiJ0EXSg5XaM63Cy7Jj7N7YkthEs_FuVo6v7g@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Dear castor users,
<div><br>
</div>
<div>I am new to CASTOR.</div>
<div>I have a plan to reconstruct the simulated results from
GATE v.8.2.</div>
<div>I complied CASTOR using CMAKE with defining option in
CMakeLists.txt as below:</div>
<div><br>
</div>
<div>option( CASToR_64bits "Build CASToR on 64 bits
architecture" YES )<br>
option( CASToR_VERBOSE "Print lot of infos from CASToR" YES )<br>
option( CASToR_DEBUG "Enable many additionnal checks in
primitive functions" NO )<br>
option( CASToR_BUILD_GATE_UTILITIES "Build GATE tools for
CASToR (require ROOT library)" YES )<br>
option( CASToR_BUILD_SAMPLE_UTILITIES "Build toolkits and
example codes" NO )<br>
option( CASToR_BUILD_DEVEL "Build devel tools. Must be left
unchecked" NO )<br>
option( CASToR_ROOT "Build CASToR with ROOT library" NO )<br>
option( CASToR_SIMD "Build CASToR with SIMD OPTION" NO )<br>
option( CASToR_OMP "Build CASToR with OMP" NO )<br>
option( CASToR_MPI "Build CASToR with MPI" NO )<br>
</div>
<div><br>
</div>
<div>The cmake compilation was successful with below command in
terminal</div>
<div><br>
</div>
<div>cmake CMakeLists.txt
-DCASTOR_CONFIG=/home/gate/kkm/castor_v3.1.1/config<br>
</div>
<div><br>
</div>
<div>and with make command the castor-RootToCastor.exe in bin
directory.</div>
<div>However, when I execute the castor-RootToCastor.exe as
below I got the error massage.</div>
<div><br>
</div>
<div>castor-GATERootToCastor -i benchSPECT.root -o test -m
benchSPECT_dew.mac -s SPECT_CASTOR_BENCHMARK.geom<br>
***** castor-GATERootToCastor :: CASToR must be compiled with
ROOT to read input root files (check installation
instructions)<br>
***** Exit function called. Abort with code 1.<br>
</div>
<div><br>
</div>
<div>I confirmed that root is executed normally as below.</div>
<div><br>
</div>
<div>[gate@localhost castor_v3.1.1]$ root<br>
------------------------------------------------------------------<br>
| Welcome to ROOT 6.19/02 <a
href="https://root.cern" moz-do-not-send="true">https://root.cern</a>
|<br>
| (c) 1995-2020, The ROOT Team; conception: R. Brun, F.
Rademakers |<br>
| Built for linuxx8664gcc on Jan 17 2020, 09:32:43
|<br>
| From tags/v6-19-02@v6-19-02
|<br>
| Try '.help', '.demo', '.license', '.credits', '.quit'/'.q'
|<br>
------------------------------------------------------------------<br>
</div>
<div><br>
</div>
<div>Could anyone give help with this issue?</div>
<div><br>
</div>
<div>Thank you.</div>
<div><br>
</div>
<div>Kim.</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Castor-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Castor-users@lists.castor-project.org">Castor-users@lists.castor-project.org</a>
<a class="moz-txt-link-freetext" href="https://lists.castor-project.org/mailman/listinfo/castor-users">https://lists.castor-project.org/mailman/listinfo/castor-users</a>
To look for something in the mailing-list archives, use the search box at:
<a class="moz-txt-link-freetext" href="https://castor-project.org/mailing-list">https://castor-project.org/mailing-list</a></pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Thibaut MERLIN -- PhD
Docteur en Imagerie Médicale au Laboratoire de Traitement de l'Information Medicale (LaTIM - INSERM UMR 1101)
Institut Brestois de recherche en Bio-Santé (IBRBS)
12 Avenue Foch, 29200 Brest, FRANCE
Tel: 06.75.12.24.90</pre>
</body>
</html>