<div dir="ltr"><div><font color="#000000" size="3" face="Times New Roman">

</font><p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;font-size:12pt"><font color="#000000">Hi Matt,</font></span></p><p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal">
<span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;font-size:12pt"><font color="#000000"></font></span> </p><font color="#000000" size="3" face="Times New Roman">

</font><p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;font-size:12pt"><font color="#000000">Thanks
for your prompt reply.</font></span></p><p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;font-size:12pt"><font color="#000000"></font></span> </p>
<font color="#000000" size="3" face="Times New Roman">

</font><p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;font-size:12pt"><font color="#000000">According
to the emails in itk mailing list people manage to build QtImageViewer
application and run it !</font></span></p><font color="#000000" size="3" face="Times New Roman">

</font><p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;font-size:12pt"><font color="#000000">Anyway,
thanks for pointing me to QGoImageCompare. I will definitely have a look on
that and try it as it combine Qt, itk and vtk.</font></span></p><p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;font-size:12pt"><font color="#000000"></font></span> </p>
<font color="#000000" size="3" face="Times New Roman">

</font><p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;font-size:12pt"><font color="#000000">I have
already posted another question regarding QtITK application as I have a linking
problem. Do you have any cue regarding this problem as well?</font></span></p><p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"> </p><font color="#000000" size="3" face="Times New Roman">

</font><p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;font-size:12pt"><font color="#000000">Many
thanks,</font></span></p><font color="#000000" size="3" face="Times New Roman">

</font><p style="margin:0cm 0cm 0pt;line-height:normal" class="MsoNormal"><span style="font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;font-size:12pt"><font color="#000000">Adem </font></span></p><font color="#000000" size="3" face="Times New Roman">

</font><p style="margin:0cm 0cm 10pt" class="MsoNormal"><font color="#000000" size="3" face="Calibri"> </font></p><font color="#000000" size="3" face="Times New Roman">

</font></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 8 November 2013 16:40, Matt McCormick <span dir="ltr">&lt;<a href="mailto:matt.mccormick@kitware.com" target="_blank">matt.mccormick@kitware.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Adem,<br>
<br>
To the best of my knowledge, that application needs maintenance work.<br>
Some other ITK/Qt image viewers, such as QGoImageCompare [1], are<br>
listed here [2].<br>
<br>
Thanks,<br>
Matt<br>
<br>
[1] <a href="https://github.com/gofigure2/QGoImageCompare" target="_blank">https://github.com/gofigure2/QGoImageCompare</a><br>
[2] <a href="http://itk.org/ITKExamples/Documentation/Build/index.html" target="_blank">http://itk.org/ITKExamples/Documentation/Build/index.html</a><br>
<div><div class="h5"><br>
On Fri, Nov 8, 2013 at 6:45 AM, Adem breckon &lt;<a href="mailto:adem.breckon@gmail.com">adem.breckon@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt; Hi all,<br>
&gt;<br>
&gt; I am trying to bluid QtImageViewer as a separate project from<br>
&gt; insightapplications.<br>
&gt;<br>
&gt; I configured it successfully using Cmake (apart having a: WARNING: you are<br>
&gt; using the obsolete &#39;GLU&#39; package, please use &#39;OpenGL&#39; instead).<br>
&gt;<br>
&gt; When it comes to build I got the following errors:<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Warning               1              warning C4996: &#39;sprintf&#39;: This function<br>
&gt; or variable may be unsafe. Consider using sprintf_s instead. To disable<br>
&gt; deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.<br>
&gt; c:\MyCodes\QtImageViewer\QtSlicer.cxx           25           QtSlicer<br>
&gt;<br>
&gt; Warning               2              warning C4996: &#39;sprintf&#39;: This function<br>
&gt; or variable may be unsafe. Consider using sprintf_s instead. To disable<br>
&gt; deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.<br>
&gt; c:\MyCodes\QtImageViewer\QtSlicer.cxx           27           QtSlicer<br>
&gt;<br>
&gt; Warning               3              warning C4996: &#39;sprintf&#39;: This function<br>
&gt; or variable may be unsafe. Consider using sprintf_s instead. To disable<br>
&gt; deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.<br>
&gt; c:\MyCodes\QtImageViewer\QtSlicer.cxx           29           QtSlicer<br>
&gt;<br>
&gt; Warning               4              warning C4996: &#39;sprintf&#39;: This function<br>
&gt; or variable may be unsafe. Consider using sprintf_s instead. To disable<br>
&gt; deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.<br>
&gt; c:\MyCodes\QtImageViewer\QtSlicer.cxx           31           QtSlicer<br>
&gt;<br>
&gt; Warning               5              warning C4996: &#39;sprintf&#39;: This function<br>
&gt; or variable may be unsafe. Consider using sprintf_s instead. To disable<br>
&gt; deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.<br>
&gt; c:\MyCodes\QtImageViewer\QtSlicer.cxx           61           QtSlicer<br>
&gt;<br>
&gt; Warning               6              warning C4996: &#39;sprintf&#39;: This function<br>
&gt; or variable may be unsafe. Consider using sprintf_s instead. To disable<br>
&gt; deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.<br>
&gt; c:\MyCodes\QtImageViewer\QtSlicer.cxx           63           QtSlicer<br>
&gt;<br>
&gt; Warning               7              warning C4996: &#39;sprintf&#39;: This function<br>
&gt; or variable may be unsafe. Consider using sprintf_s instead. To disable<br>
&gt; deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.<br>
&gt; c:\MyCodes\QtImageViewer\QtSlicer.cxx           74           QtSlicer<br>
&gt;<br>
&gt; Warning               8              warning C4996: &#39;sprintf&#39;: This function<br>
&gt; or variable may be unsafe. Consider using sprintf_s instead. To disable<br>
&gt; deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.<br>
&gt; c:\MyCodes\QtImageViewer\QtSlicer.cxx           82           QtSlicer<br>
&gt;<br>
&gt; Warning               9              warning C4996: &#39;sprintf&#39;: This function<br>
&gt; or variable may be unsafe. Consider using sprintf_s instead. To disable<br>
&gt; deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.<br>
&gt; c:\MyCodes\QtImageViewer\QtSlicer.cxx           90           QtSlicer<br>
&gt;<br>
&gt; Warning               10           warning C4996: &#39;std::copy&#39;: Function call<br>
&gt; with parameters that may be unsafe - this call relies on the caller to check<br>
&gt; that the passed values are correct. To disable this warning, use<br>
&gt; -D_SCL_SECURE_NO_WARNINGS. See documentation on how to use Visual C++<br>
&gt; &#39;Checked Iterators&#39;<br>
&gt; c:\tools\itk_4.4.2\itk_4.4.2\modules\core\common\include\itkImportImageContainer.hxx<br>
&gt; 72           QtSlicer<br>
&gt;<br>
&gt; Warning               11           warning C4996: &#39;std::copy&#39;: Function call<br>
&gt; with parameters that may be unsafe - this call relies on the caller to check<br>
&gt; that the passed values are correct. To disable this warning, use<br>
&gt; -D_SCL_SECURE_NO_WARNINGS. See documentation on how to use Visual C++<br>
&gt; &#39;Checked Iterators&#39;<br>
&gt; c:\tools\itk_4.4.2\itk_4.4.2\modules\core\common\include\itkImportImageContainer.hxx<br>
&gt; 72           QtSlicer<br>
&gt;<br>
&gt; Error      12           error C2039: &#39;useDiscrete&#39; : is not a member of<br>
&gt; &#39;itk::ColorTable&lt;TPixel&gt;&#39;<br>
&gt; c:\MyCodes\QtImageViewer\QtGlSliceView.cxx              83<br>
&gt; QtSlicer<br>
&gt;<br>
&gt; Error      13           error C2039: &#39;color&#39; : is not a member of<br>
&gt; &#39;itk::ColorTable&lt;TPixel&gt;&#39;<br>
&gt; c:\MyCodes\QtImageViewer\QtGlSliceView.cxx              544         QtSlicer<br>
&gt;<br>
&gt; Error      14           error C2227: left of &#39;-&gt;GetRed&#39; must point to<br>
&gt; class/struct/union/generic type<br>
&gt; c:\MyCodes\QtImageViewer\QtGlSliceView.cxx              544         QtSlicer<br>
&gt;<br>
&gt; Error      15           error C2039: &#39;color&#39; : is not a member of<br>
&gt; &#39;itk::ColorTable&lt;TPixel&gt;&#39;<br>
&gt; c:\MyCodes\QtImageViewer\QtGlSliceView.cxx              546         QtSlicer<br>
&gt;<br>
&gt; Error      16           error C2227: left of &#39;-&gt;GetGreen&#39; must point to<br>
&gt; class/struct/union/generic type<br>
&gt; c:\MyCodes\QtImageViewer\QtGlSliceView.cxx              546         QtSlicer<br>
&gt;<br>
&gt; Error      17           error C2039: &#39;color&#39; : is not a member of<br>
&gt; &#39;itk::ColorTable&lt;TPixel&gt;&#39;<br>
&gt; c:\MyCodes\QtImageViewer\QtGlSliceView.cxx              548         QtSlicer<br>
&gt;<br>
&gt; Error      18           error C2227: left of &#39;-&gt;GetBlue&#39; must point to<br>
&gt; class/struct/union/generic type<br>
&gt; c:\MyCodes\QtImageViewer\QtGlSliceView.cxx              548         QtSlicer<br>
&gt;<br>
&gt; Error      19           error C2664:<br>
&gt; &#39;itk::ImageFileReader&lt;TOutputImage&gt;::SetFileName&#39; : cannot convert parameter<br>
&gt; 1 from &#39;QByteArray&#39; to &#39;const std::string &amp;&#39;<br>
&gt; c:\MyCodes\QtImageViewer\QtSlicerTest.cxx   39           QtSlicer<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; I am using qt4.8.5 and itk 4.4.2 version.<br>
&gt;<br>
&gt; I did not change anything in CmakeLists fie. I copied the entire folder<br>
&gt; QtImageViewer somewhere else in my computer and run Cmake (2.8.11.2) for<br>
&gt; configuration then I run VS. 2008 to build it.<br>
&gt;<br>
&gt; Please can you help? I am really stuck.<br>
&gt;<br>
&gt; Thanks,<br>
&gt;<br>
&gt; Adem.<br>
&gt;<br>
</div></div>&gt; _____________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Kitware offers ITK Training Courses, for more information visit:<br>
&gt; <a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the ITK FAQ at:<br>
&gt; <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
&gt;<br>
</blockquote></div><br></div>