<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Hi Muhammad,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
In order to get Gate compiled with ITK, you also need to set the "ITK_DIR" variable. What value did you give to ccmake? It should be the path of a directory, typically of the form "/path/to/install/of/ITK/lib/cmake/ITK-X.Y" (where X.Y is the ITK version number).
 This directory should exist and on my own system (ITK version 4.13) it contains these files (plus a directory):</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
ITKConfig.cmake <br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
ITKConfigVersion.cmake <br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
itkImageIOFactoryRegisterManager.h.in</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
ITKModuleAPI.cmake</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
ITKTargets.cmake</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
ITKTargets-release.cmake</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
itkTransformIOFactoryRegisterManager.h.in</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Modules/</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
UseITK.cmake</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
What is the value for ITK_DIR in your build? The exact contents of that directory may be a bit different if you are using a different ITK version, but should be kind of similar.<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
HTH,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
David<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Muhammad Afzaal Sadaqat <muhammadafzaalsadaqat786@gmail.com><br>
<b>Sent:</b> Tuesday, December 22, 2020 2:11 PM<br>
<b>To:</b> David Boersma <david.boersma@acmit.at><br>
<b>Subject:</b> Re: [Gate-users] Installing Gate</font>
<div> </div>
</div>
<div>
<div dir="ltr">I want to set ITK ON. 
<div><br>
</div>
</div>
<br>
<div class="x_gmail_quote">
<div dir="ltr" class="x_gmail_attr">On Mon, Dec 21, 2020 at 11:38 PM David Boersma <<a href="mailto:david.boersma@acmit.at">david.boersma@acmit.at</a>> wrote:<br>
</div>
<blockquote class="x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
Hi Muhammad,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
It looks like you have set the "GATE_USE_ITK" flag to "ON" (otherwise the code would not try to include "gdcmFilename.hh"), and somehow the build system thought that your ITK installation was OK but now during the "make" step it looks like it isn't.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
Do you absolutely need ITK for something (e.g. do you need for RTK functionality)? Because if not, then the easiest fix is to set "GATE_USE_ITK" to "OFF" in ccmake and then try again to compile.
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
/David<br>
</div>
<div id="x_gmail-m_7213108010341980180appendonsend"></div>
<hr style="display:inline-block; width:98%">
<div id="x_gmail-m_7213108010341980180divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Gate-users <<a href="mailto:gate-users-bounces@lists.opengatecollaboration.org" target="_blank">gate-users-bounces@lists.opengatecollaboration.org</a>>
 on behalf of Carlotta Trigila <<a href="mailto:ctrigila@ucdavis.edu" target="_blank">ctrigila@ucdavis.edu</a>><br>
<b>Sent:</b> Monday, December 21, 2020 9:56 AM<br>
<b>To:</b> Muhammad Afzaal Sadaqat <<a href="mailto:muhammadafzaalsadaqat786@gmail.com" target="_blank">muhammadafzaalsadaqat786@gmail.com</a>>;
<a href="mailto:Gate-users@lists.opengatecollaboration.org" target="_blank">Gate-users@lists.opengatecollaboration.org</a> <<a href="mailto:Gate-users@lists.opengatecollaboration.org" target="_blank">Gate-users@lists.opengatecollaboration.org</a>><br>
<b>Subject:</b> Re: [Gate-users] Installing Gate</font>
<div> </div>
</div>
<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I Muhammed, </div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I don't know if you were able to solve your problem. However, having a look at the screen you sent, I have the impression you are missing some file in the include folder. I verified that I actually have them in mine.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I would suggest downloading GATEv9 again from the openGATE collaboration website. Once unpacked and before installing, please verify if you have the GateDICOMImahe.hh missing file inside /Gate-v9/source/general/include/. </div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Let me know if it works or if you need help. </div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Carlotta</div>
<div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div id="x_gmail-m_7213108010341980180x_Signature">
<div>
<div></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<p style="margin-top:0px; margin-bottom:0px"><span>-- <br>
</span></p>
<p style="margin-top:0px; margin-bottom:0px"><span>Carlotta Trigila, PhD  <br>
</span></p>
<p style="margin-top:0px; margin-bottom:0px"><span><br>
</span></p>
<p style="margin-top:0px; margin-bottom:0px"><span>Department of Biomedical Engineering
<span>– GBSF 2505</span><br>
</span></p>
<p style="margin-top:0px; margin-bottom:0px"><span><span>University of California, Davis</span><br>
</span></p>
<p style="margin-top:0px; margin-bottom:0px"><span><span>451 East Health Sciences Drive</span><br>
</span></p>
<p style="margin-top:0px; margin-bottom:0px"><span>Davis, CA 95616 <br>
</span></p>
<p style="margin-top:0px; margin-bottom:0px"><span></span><span><a href="http://ccjliu@ucdavis.edu" rel="noopener noreferrer" target="_blank">ctrigila@ucdavis.edu
</a></span><br>
<span></span></p>
<span></span> <br>
</div>
</div>
</div>
</div>
<div>
<div id="x_gmail-m_7213108010341980180x_appendonsend"></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr style="display:inline-block; width:98%">
<div id="x_gmail-m_7213108010341980180x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Gate-users <<a href="mailto:gate-users-bounces@lists.opengatecollaboration.org" target="_blank">gate-users-bounces@lists.opengatecollaboration.org</a>>
 on behalf of Muhammad Afzaal Sadaqat <<a href="mailto:muhammadafzaalsadaqat786@gmail.com" target="_blank">muhammadafzaalsadaqat786@gmail.com</a>><br>
<b>Sent:</b> Thursday, December 17, 2020 9:09 AM<br>
<b>To:</b> <a href="mailto:Gate-users@lists.opengatecollaboration.org" target="_blank">
Gate-users@lists.opengatecollaboration.org</a> <<a href="mailto:Gate-users@lists.opengatecollaboration.org" target="_blank">Gate-users@lists.opengatecollaboration.org</a>><br>
<b>Subject:</b> [Gate-users] Installing Gate</font>
<div> </div>
</div>
<div>
<div dir="ltr">Hello gate users! While installing gate from this link
<div><a href="https://opengate.readthedocs.io/en/latest/compilation_instructions.html#compilation-instructions-label" target="_blank">https://opengate.readthedocs.io/en/latest/compilation_instructions.html#compilation-instructions-label</a><br>
</div>
<div>i got this error message</div>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
_______________________________________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org" target="_blank">Gate-users@lists.opengatecollaboration.org</a><br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" rel="noreferrer" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a></blockquote>
</div>
</div>
</body>
</html>