<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">He is using ITK 3.20 with VTK 5.10. Where is itkVtkGlue for those versions?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 17, 2015 at 12:51 PM, 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"><div dir="ltr">Hi,<div><br></div><div>The easiest to use and best maintained bridge between ITK and VTK is the ITKVtkGlue module, which is included in ITK. To use it, turn on</div><div><br></div><div> Module_ITKVtkGlue</div><div><br></div><div>in ITK's CMake configuration.</div><div><br></div><div> <a href="http://www.itk.org/Insight/Doxygen/html/group__ITKVtkGlue.html" target="_blank">http://www.itk.org/Insight/Doxygen/html/group__ITKVtkGlue.html</a></div><div><br></div><div>HTH,</div><div>Matt</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 17, 2015 at 9:51 AM, Dženan Zukić <span dir="ltr"><<a href="mailto:dzenanz@gmail.com" target="_blank">dzenanz@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Hi Vishal,</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">it looks like that version of itkVtkGlue is for a newer version of ITK. Try this version:</div><div class="gmail_default"><font face="verdana, sans-serif"><a href="http://itk.org/gitweb?p=ITKApps.git;a=tree;f=Auxiliary/vtk;h=b6ae10b549c4ff60473b9069276a62fe1f7433bf;hb=2b5ec98662341c295f25da915afa4c0a8e794850" target="_blank">http://itk.org/gitweb?p=ITKApps.git;a=tree;f=Auxiliary/vtk;h=b6ae10b549c4ff60473b9069276a62fe1f7433bf;hb=2b5ec98662341c295f25da915afa4c0a8e794850</a></font><br></div><div class="gmail_default"><font face="verdana, sans-serif"><br></font></div><div class="gmail_default"><font face="verdana, sans-serif">HTH,</font></div><div class="gmail_default"><font face="verdana, sans-serif">Dženan</font></div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 17, 2015 at 3:17 AM, vishal <span dir="ltr"><<a href="mailto:itkhelpacc@gmail.com" target="_blank">itkhelpacc@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">hi<br>
Im using ITK 3.20, VTK 5.10, CMake 3.4.1 and Visual studio 2010... I have<br>
successfully build ITK as well as VTK... I need to combine both these<br>
libraries so i downloaded itkvtkglue package from Wiki examples Im getting<br>
the following error while build it in visual studio 2010... i have tried<br>
building it in Visual studio 2008 unfortunately it was still it was showing<br>
the same error:-<br>
<br>
1> CMake does not need to re-run because<br>
C:/ItkVtkGlue/Build/CMakeFiles/generate.stamp is up-to-date.<br>
1>FinalizeBuildStatus:<br>
1> Deleting file "x64\Debug\ZERO_CHECK\ZERO_CHECK.unsuccessfulbuild".<br>
1> Touching "x64\Debug\ZERO_CHECK\ZERO_CHECK.lastbuildstate".<br>
1><br>
1>Build succeeded.<br>
1><br>
1>Time Elapsed 00:00:00.48<br>
2>------ Build started: Project: ItkVtkGlue, Configuration: Debug x64 ------<br>
2>Build started 12/17/2015 2:15:33 PM.<br>
2>PrepareForBuild:<br>
2> Creating directory "C:\ItkVtkGlue\Build\Debug\".<br>
2>InitializeBuildStatus:<br>
2> Creating "ItkVtkGlue.dir\Debug\ItkVtkGlue.unsuccessfulbuild" because<br>
"AlwaysCreate" was specified.<br>
2>CustomBuild:<br>
2> Building Custom Rule C:/ItkVtkGlue/CMakeLists.txt<br>
2> CMake does not need to re-run because<br>
C:\ItkVtkGlue\Build\CMakeFiles\generate.stamp is up-to-date.<br>
2>ClCompile:<br>
2> QuickView.cxx<br>
2>c:\itkvtkglue\QuickView.h(210): error C2039: 'IdentifierType' : is not a<br>
member of 'itk'<br>
2>c:\itkvtkglue\QuickView.h(210): error C2146: syntax error : missing ';'<br>
before identifier 'm_Counter'<br>
2>c:\itkvtkglue\QuickView.h(210): error C4430: missing type specifier - int<br>
assumed. Note: C++ does not support default-int<br>
2>c:\itkvtkglue\QuickView.h(210): error C4430: missing type specifier - int<br>
assumed. Note: C++ does not support default-int<br>
2>c:\itkvtkglue\QuickView.h(112): error C2065: 'm_Counter' : undeclared<br>
identifier<br>
2>c:\itkvtkglue\itkImageToVTKImageFilter.h(68): error C2873: 'SetInput' :<br>
symbol cannot be used in a using-declaration<br>
2> c:\itkvtkglue\itkImageToVTKImageFilter.h(94) : see reference to<br>
class template instantiation 'itk::ImageToVTKImageFilter<TInputImage>' being<br>
compiled<br>
2>c:\itkvtkglue\itkImageToVTKImageFilter.h(68): error C2039: 'SetInput' : is<br>
not a member of 'itk::ProcessObject'<br>
2> C:\ITK\InsightToolkit-3.20.1\Code\Common\itkProcessObject.h(87)<br>
: see declaration of 'itk::ProcessObject'<br>
2> ..\QuickView.cxx(254) : see reference to class template<br>
instantiation 'itk::ImageToVTKImageFilter<TInputImage>' being compiled<br>
2> with<br>
2> [<br>
2> TInputImage=itk::Image<unsigned char,2><br>
2> ]<br>
2>c:\itkvtkglue\itkImageToVTKImageFilter.h(68): error C2873: 'SetInput' :<br>
symbol cannot be used in a using-declaration<br>
2>c:\itkvtkglue\itkImageToVTKImageFilter.h(68): error C2039: 'SetInput' : is<br>
not a member of 'itk::ProcessObject'<br>
2> C:\ITK\InsightToolkit-3.20.1\Code\Common\itkProcessObject.h(87)<br>
: see declaration of 'itk::ProcessObject'<br>
2> ..\QuickView.cxx(255) : see reference to class template<br>
instantiation 'itk::ImageToVTKImageFilter<TInputImage>' being compiled<br>
2> with<br>
2> [<br>
2> TInputImage=itk::Image<itk::RGBPixel<unsigned char>,2><br>
2> ]<br>
2>c:\itkvtkglue\itkImageToVTKImageFilter.h(68): error C2873: 'SetInput' :<br>
symbol cannot be used in a using-declaration<br>
2>..\QuickView.cxx(423): error C2065: 'm_Counter' : undeclared identifier<br>
2>..\QuickView.cxx(447): error C2065: 'm_Counter' : undeclared identifier<br>
2><br>
2>Build FAILED.<br>
2><br>
2>Time Elapsed 00:00:02.64<br>
3>------ Build started: Project: ALL_BUILD, Configuration: Debug x64 ------<br>
3>Build started 12/17/2015 2:15:36 PM.<br>
3>InitializeBuildStatus:<br>
3> Creating "x64\Debug\ALL_BUILD\ALL_BUILD.unsuccessfulbuild" because<br>
"AlwaysCreate" was specified.<br>
3>CustomBuild:<br>
3> Building Custom Rule C:/ItkVtkGlue/CMakeLists.txt<br>
3> CMake does not need to re-run because<br>
C:\ItkVtkGlue\Build\CMakeFiles\generate.stamp is up-to-date.<br>
3>FinalizeBuildStatus:<br>
3> Deleting file "x64\Debug\ALL_BUILD\ALL_BUILD.unsuccessfulbuild".<br>
3> Touching "x64\Debug\ALL_BUILD\ALL_BUILD.lastbuildstate".<br>
3><br>
3>Build succeeded.<br>
3><br>
3>Time Elapsed 00:00:00.22<br>
========== Build: 2 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========<br>
<br>
Im trying to write a code for 2D/3D registration so..I need to ITK 3.20 and<br>
VTK since im trying to build a journal paper [1]<br>
<a href="http://www.insight-journal.org/browse/publication/784" rel="noreferrer" target="_blank">http://www.insight-journal.org/browse/publication/784</a><br>
please help me out...<br>
Regards<br>
Vishal<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://itk-users.7.n7.nabble.com/itkvtkglue-build-error-please-help-tp36559.html" rel="noreferrer" target="_blank">http://itk-users.7.n7.nabble.com/itkvtkglue-build-error-please-help-tp36559.html</a><br>
Sent from the ITK - Users mailing list archive at Nabble.com.<br>
_____________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" 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" rel="noreferrer" 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" rel="noreferrer" 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" rel="noreferrer" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/insight-users" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/insight-users</a><br>
</blockquote></div><br></div>
</div></div><br>_____________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" 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" rel="noreferrer" 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" rel="noreferrer" 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" rel="noreferrer" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/insight-users" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/insight-users</a><br>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>