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