<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Hello,<BR>
i use a compiled version&nbsp;of itk-snap because i will insert my&nbsp;code and new routines in snap for my semester project ;)<BR>
I just update my version of itk and now the code&nbsp;run smoothly :)<BR>
Thank you&nbsp;a lot for the help<BR>
Best Samuele<BR>&nbsp;<BR>&gt; Date: Sat, 24 Oct 2009 16:03:13 -0400<BR>&gt; Subject: Re: [Insight-users] compilation problem itkN3MRIBiasFieldCorrectionImageFilter(taken from insight journal)<BR>&gt; From: luis.ibanez@kitware.com<BR>&gt; To: ntustison@wustl.edu<BR>&gt; CC: samuele_82@hotmail.com; insight-users@itk.org<BR>&gt; <BR>&gt; Samuele,<BR>&gt; <BR>&gt; I agree with Nick,<BR>&gt; If you are using the binary installed versions of ITK-SNAP, then you<BR>&gt; don't even need to have ITK in your computer.<BR>&gt; <BR>&gt; You will only need ITK if you are planning to build ITK-SNAP from its<BR>&gt; source code.<BR>&gt; <BR>&gt; Note however<BR>&gt; that the most recent version of SNAP is distributed under<BR>&gt; a GPL license:<BR>&gt; <BR>&gt; http://www.itksnap.org/pmwiki/pmwiki.php<BR>&gt; <BR>&gt; and not the BSD license that ITK uses for the toolkits and for<BR>&gt; InsightApplications.<BR>&gt; <BR>&gt; <BR>&gt; That said,<BR>&gt; Of course we encourage you to use ITK directly :-)<BR>&gt; <BR>&gt; <BR>&gt; Regards,<BR>&gt; <BR>&gt; <BR>&gt; Luis<BR>&gt; <BR>&gt; <BR>&gt; -------------------------------------------------------------------------------------------<BR>&gt; On Fri, Oct 23, 2009 at 9:27 AM, Nick Tustison &lt;ntustison@wustl.edu&gt; wrote:<BR>&gt; &gt; I don't know where you got that information but, unless I'm missing<BR>&gt; &gt; something, you shouldn't need a particular version of ITK to run the itksnap<BR>&gt; &gt; binary. &nbsp;It appears that those two remaining compilation errors are due to<BR>&gt; &gt; the fact that you're using an old version of ITK. &nbsp;You should update to the<BR>&gt; &gt; latest stable version of itk to use N3.<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt; On Fri, Oct 23, 2009 at 8:19 AM, Samuele Dietler &lt;samuele_82@hotmail.com&gt;<BR>&gt; &gt; wrote:<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; I use itk 3.8...because when i was looking to Itk-Snap the correct version<BR>&gt; &gt;&gt; for working with it was itk 3.8<BR>&gt; &gt;&gt; ________________________________<BR>&gt; &gt;&gt; CC: insight-users@itk.org<BR>&gt; &gt;&gt; From: ntustison@gmail.com<BR>&gt; &gt;&gt; Subject: Re: [Insight-users] compilation problem<BR>&gt; &gt;&gt; itkN3MRIBiasFieldCorrectionImageFilter(taken from insight journal)<BR>&gt; &gt;&gt; Date: Fri, 23 Oct 2009 08:12:31 -0400<BR>&gt; &gt;&gt; To: samuele_82@hotmail.com<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; It looks like there might be something else wrong besides the N3 code.<BR>&gt; &gt;&gt; &nbsp;What version of ITK are you using?<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; On Oct 23, 2009, at 7:40 AM, Samuele Dietler wrote:<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; Hello,<BR>&gt; &gt;&gt; thank you, i was looking at your code and try some experiment for make it<BR>&gt; &gt;&gt; working...The line is :<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; itkDebugMacro( "Iteration " &lt;&lt; iteration &lt;&lt; ": "<BR>&gt; &gt;&gt; &lt;&lt; " convergence criterion = " &lt;&lt; cv );<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; But there i have still some errors...This is the list :<BR>&gt; &gt;&gt; 1&gt;------ Rebuild All started: Project: ZERO_CHECK, Configuration: Debug<BR>&gt; &gt;&gt; Win32 ------<BR>&gt; &gt;&gt; 1&gt;Deleting intermediate and output files for project 'ZERO_CHECK',<BR>&gt; &gt;&gt; configuration 'Debug|Win32'<BR>&gt; &gt;&gt; 1&gt;Checking Build System<BR>&gt; &gt;&gt; 1&gt;CMake does not need to re-run because CMakeFiles/generate.stamp is<BR>&gt; &gt;&gt; up-to-date.<BR>&gt; &gt;&gt; 1&gt;Build log was saved at<BR>&gt; &gt;&gt; "file://c:\tk\N3CorrectionBin\ZERO_CHECK.dir\Debug\BuildLog.htm"<BR>&gt; &gt;&gt; 1&gt;ZERO_CHECK - 0 error(s), 0 warning(s)<BR>&gt; &gt;&gt; 2&gt;------ Rebuild All started: Project:<BR>&gt; &gt;&gt; itkN3MRIBiasFieldCorrectionImageFilterTest, Configuration: Debug Win32<BR>&gt; &gt;&gt; ------<BR>&gt; &gt;&gt; 3&gt;------ Rebuild All started: Project: ImageCompare, Configuration: Debug<BR>&gt; &gt;&gt; Win32 ------<BR>&gt; &gt;&gt; 3&gt;Deleting intermediate and output files for project 'ImageCompare',<BR>&gt; &gt;&gt; configuration 'Debug|Win32'<BR>&gt; &gt;&gt; 2&gt;Deleting intermediate and output files for project<BR>&gt; &gt;&gt; 'itkN3MRIBiasFieldCorrectionImageFilterTest', configuration 'Debug|Win32'<BR>&gt; &gt;&gt; 2&gt;Building Custom Rule C:/tk/N3Correction/CMakeLists.txt<BR>&gt; &gt;&gt; 3&gt;Building Custom Rule C:/tk/N3Correction/CMakeLists.txt<BR>&gt; &gt;&gt; 2&gt;CMake does not need to re-run because CMakeFiles/generate.stamp is<BR>&gt; &gt;&gt; up-to-date.<BR>&gt; &gt;&gt; 2&gt;Compiling...<BR>&gt; &gt;&gt; 3&gt;CMake is re-running because build system is out-of-date.<BR>&gt; &gt;&gt; 3&gt;-- Configuring done<BR>&gt; &gt;&gt; 2&gt;itkN3MRIBiasFieldCorrectionImageFilterTest.cxx<BR>&gt; &gt;&gt; 3&gt;-- Generating done<BR>&gt; &gt;&gt; 3&gt;-- Build files have been written to: C:/tk/N3CorrectionBin<BR>&gt; &gt;&gt; 3&gt;Compiling...<BR>&gt; &gt;&gt; 3&gt;ImageCompare.cxx<BR>&gt; &gt;&gt; 3&gt;Compiling manifest to resources...<BR>&gt; &gt;&gt; 3&gt;Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1<BR>&gt; &gt;&gt; 3&gt;Copyright (C) Microsoft Corporation. All rights reserved.<BR>&gt; &gt;&gt; 3&gt;Linking...<BR>&gt; &gt;&gt; 3&gt;LINK : fatal error LNK1104: cannot open file 'ITKReview.lib'<BR>&gt; &gt;&gt; 3&gt;Build log was saved at<BR>&gt; &gt;&gt; "file://c:\tk\N3CorrectionBin\ImageCompare.dir\Debug\BuildLog.htm"<BR>&gt; &gt;&gt; 3&gt;ImageCompare - 1 error(s), 0 warning(s)<BR>&gt; &gt;&gt; 2&gt;c:\tk\n3correction\itkN3MRIBiasFieldCorrectionImageFilter.txx(211) :<BR>&gt; &gt;&gt; error C3861: 'vnl_math_floor': identifier not found<BR>&gt; &gt;&gt; 2&gt; c:\tk\n3correction\itkN3MRIBiasFieldCorrectionImageFilter.txx(166) :<BR>&gt; &gt;&gt; while compiling class template member function<BR>&gt; &gt;&gt; 'itk::SmartPointer&lt;TObjectType&gt;<BR>&gt; &gt;&gt; itk::N3MRIBiasFieldCorrectionImageFilter&lt;TInputImage,TMaskImage,TOutputImage&gt;::SharpenImage(itk::SmartPointer&lt;TObjectType&gt;)'<BR>&gt; &gt;&gt; 2&gt; with<BR>&gt; &gt;&gt; 2&gt; [<BR>&gt; &gt;&gt; 2&gt; TObjectType=itk::Image&lt;RealType,2&gt;,<BR>&gt; &gt;&gt; 2&gt; TInputImage=ImageType,<BR>&gt; &gt;&gt; 2&gt; TMaskImage=MaskImageType,<BR>&gt; &gt;&gt; 2&gt; TOutputImage=ImageType<BR>&gt; &gt;&gt; 2&gt; ]<BR>&gt; &gt;&gt; 2&gt; c:\tk\n3correction\itkN3MRIBiasFieldCorrectionImageFilter.txx(38) :<BR>&gt; &gt;&gt; while compiling class template member function<BR>&gt; &gt;&gt; 'itk::N3MRIBiasFieldCorrectionImageFilter&lt;TInputImage,TMaskImage,TOutputImage&gt;::N3MRIBiasFieldCorrectionImageFilter(void)'<BR>&gt; &gt;&gt; 2&gt; with<BR>&gt; &gt;&gt; 2&gt; [<BR>&gt; &gt;&gt; 2&gt; TInputImage=ImageType,<BR>&gt; &gt;&gt; 2&gt; TMaskImage=MaskImageType,<BR>&gt; &gt;&gt; 2&gt; TOutputImage=ImageType<BR>&gt; &gt;&gt; 2&gt; ]<BR>&gt; &gt;&gt; 2&gt; ..\N3Correction\itkN3MRIBiasFieldCorrectionImageFilterTest.cxx(109) :<BR>&gt; &gt;&gt; see reference to class template instantiation<BR>&gt; &gt;&gt; 'itk::N3MRIBiasFieldCorrectionImageFilter&lt;TInputImage,TMaskImage,TOutputImage&gt;'<BR>&gt; &gt;&gt; being compiled<BR>&gt; &gt;&gt; 2&gt; with<BR>&gt; &gt;&gt; 2&gt; [<BR>&gt; &gt;&gt; 2&gt; TInputImage=ImageType,<BR>&gt; &gt;&gt; 2&gt; TMaskImage=MaskImageType,<BR>&gt; &gt;&gt; 2&gt; TOutputImage=ImageType<BR>&gt; &gt;&gt; 2&gt; ]<BR>&gt; &gt;&gt; 2&gt; ..\N3Correction\itkN3MRIBiasFieldCorrectionImageFilterTest.cxx(217) :<BR>&gt; &gt;&gt; see reference to function template instantiation 'int<BR>&gt; &gt;&gt; itkN3MRIBiasFieldCorrectionImageFilterTest&lt;2&gt;(int,char *[])' being compiled<BR>&gt; &gt;&gt; 2&gt;c:\tk\n3correction\itkN3MRIBiasFieldCorrectionImageFilter.txx(367) :<BR>&gt; &gt;&gt; error C3861: 'vnl_math_floor': identifier not found<BR>&gt; &gt;&gt; 2&gt;c:\tk\n3correction\itkN3MRIBiasFieldCorrectionImageFilter.txx(445) :<BR>&gt; &gt;&gt; error C2039: 'SetDirection' : is not a member of<BR>&gt; &gt;&gt; 'itk::BSplineScatteredDataPointSetToImageFilter&lt;TInputPointSet,TOutputImage&gt;'<BR>&gt; &gt;&gt; 2&gt; with<BR>&gt; &gt;&gt; 2&gt; [<BR>&gt; &gt;&gt; 2&gt;<BR>&gt; &gt;&gt; TInputPointSet=itk::PointSet&lt;itk::N3MRIBiasFieldCorrectionImageFilter&lt;ImageType,MaskImageType,ImageType&gt;::ScalarType,2&gt;,<BR>&gt; &gt;&gt; 2&gt;<BR>&gt; &gt;&gt; TOutputImage=itk::Image&lt;itk::N3MRIBiasFieldCorrectionImageFilter&lt;ImageType,MaskImageType,ImageType&gt;::ScalarType,2&gt;<BR>&gt; &gt;&gt; 2&gt; ]<BR>&gt; &gt;&gt; 2&gt; c:\tk\n3correction\itkN3MRIBiasFieldCorrectionImageFilter.txx(391) :<BR>&gt; &gt;&gt; while compiling class template member function<BR>&gt; &gt;&gt; 'itk::SmartPointer&lt;TObjectType&gt;<BR>&gt; &gt;&gt; itk::N3MRIBiasFieldCorrectionImageFilter&lt;TInputImage,TMaskImage,TOutputImage&gt;::SmoothField(itk::SmartPointer&lt;TObjectType&gt;)'<BR>&gt; &gt;&gt; 2&gt; with<BR>&gt; &gt;&gt; 2&gt; [<BR>&gt; &gt;&gt; 2&gt; TObjectType=itk::Image&lt;RealType,2&gt;,<BR>&gt; &gt;&gt; 2&gt; TInputImage=ImageType,<BR>&gt; &gt;&gt; 2&gt; TMaskImage=MaskImageType,<BR>&gt; &gt;&gt; 2&gt; TOutputImage=ImageType<BR>&gt; &gt;&gt; 2&gt; ]<BR>&gt; &gt;&gt; 2&gt;c:\tk\n3correction\itkN3MRIBiasFieldCorrectionImageFilter.txx(211) :<BR>&gt; &gt;&gt; error C3861: 'vnl_math_floor': identifier not found<BR>&gt; &gt;&gt; 2&gt; c:\tk\n3correction\itkN3MRIBiasFieldCorrectionImageFilter.txx(166) :<BR>&gt; &gt;&gt; while compiling class template member function<BR>&gt; &gt;&gt; 'itk::SmartPointer&lt;TObjectType&gt;<BR>&gt; &gt;&gt; itk::N3MRIBiasFieldCorrectionImageFilter&lt;TInputImage,TMaskImage,TOutputImage&gt;::SharpenImage(itk::SmartPointer&lt;TObjectType&gt;)'<BR>&gt; &gt;&gt; 2&gt; with<BR>&gt; &gt;&gt; 2&gt; [<BR>&gt; &gt;&gt; 2&gt; TObjectType=itk::Image&lt;RealType,3&gt;,<BR>&gt; &gt;&gt; 2&gt; TInputImage=ImageType,<BR>&gt; &gt;&gt; 2&gt; TMaskImage=MaskImageType,<BR>&gt; &gt;&gt; 2&gt; TOutputImage=ImageType<BR>&gt; &gt;&gt; 2&gt; ]<BR>&gt; &gt;&gt; 2&gt; c:\tk\n3correction\itkN3MRIBiasFieldCorrectionImageFilter.txx(38) :<BR>&gt; &gt;&gt; while compiling class template member function<BR>&gt; &gt;&gt; 'itk::N3MRIBiasFieldCorrectionImageFilter&lt;TInputImage,TMaskImage,TOutputImage&gt;::N3MRIBiasFieldCorrectionImageFilter(void)'<BR>&gt; &gt;&gt; 2&gt; with<BR>&gt; &gt;&gt; 2&gt; [<BR>&gt; &gt;&gt; 2&gt; TInputImage=ImageType,<BR>&gt; &gt;&gt; 2&gt; TMaskImage=MaskImageType,<BR>&gt; &gt;&gt; 2&gt; TOutputImage=ImageType<BR>&gt; &gt;&gt; 2&gt; ]<BR>&gt; &gt;&gt; 2&gt; ..\N3Correction\itkN3MRIBiasFieldCorrectionImageFilterTest.cxx(109) :<BR>&gt; &gt;&gt; see reference to class template instantiation<BR>&gt; &gt;&gt; 'itk::N3MRIBiasFieldCorrectionImageFilter&lt;TInputImage,TMaskImage,TOutputImage&gt;'<BR>&gt; &gt;&gt; being compiled<BR>&gt; &gt;&gt; 2&gt; with<BR>&gt; &gt;&gt; 2&gt; [<BR>&gt; &gt;&gt; 2&gt; TInputImage=ImageType,<BR>&gt; &gt;&gt; 2&gt; TMaskImage=MaskImageType,<BR>&gt; &gt;&gt; 2&gt; TOutputImage=ImageType<BR>&gt; &gt;&gt; 2&gt; ]<BR>&gt; &gt;&gt; 2&gt; ..\N3Correction\itkN3MRIBiasFieldCorrectionImageFilterTest.cxx(220) :<BR>&gt; &gt;&gt; see reference to function template instantiation 'int<BR>&gt; &gt;&gt; itkN3MRIBiasFieldCorrectionImageFilterTest&lt;3&gt;(int,char *[])' being compiled<BR>&gt; &gt;&gt; 2&gt;c:\tk\n3correction\itkN3MRIBiasFieldCorrectionImageFilter.txx(367) :<BR>&gt; &gt;&gt; error C3861: 'vnl_math_floor': identifier not found<BR>&gt; &gt;&gt; 2&gt;c:\tk\n3correction\itkN3MRIBiasFieldCorrectionImageFilter.txx(445) :<BR>&gt; &gt;&gt; error C2039: 'SetDirection' : is not a member of<BR>&gt; &gt;&gt; 'itk::BSplineScatteredDataPointSetToImageFilter&lt;TInputPointSet,TOutputImage&gt;'<BR>&gt; &gt;&gt; 2&gt; with<BR>&gt; &gt;&gt; 2&gt; [<BR>&gt; &gt;&gt; 2&gt;<BR>&gt; &gt;&gt; TInputPointSet=itk::PointSet&lt;itk::N3MRIBiasFieldCorrectionImageFilter&lt;ImageType,MaskImageType,ImageType&gt;::ScalarType,3&gt;,<BR>&gt; &gt;&gt; 2&gt;<BR>&gt; &gt;&gt; TOutputImage=itk::Image&lt;itk::N3MRIBiasFieldCorrectionImageFilter&lt;ImageType,MaskImageType,ImageType&gt;::ScalarType,3&gt;<BR>&gt; &gt;&gt; 2&gt; ]<BR>&gt; &gt;&gt; 2&gt; c:\tk\n3correction\itkN3MRIBiasFieldCorrectionImageFilter.txx(391) :<BR>&gt; &gt;&gt; while compiling class template member function<BR>&gt; &gt;&gt; 'itk::SmartPointer&lt;TObjectType&gt;<BR>&gt; &gt;&gt; itk::N3MRIBiasFieldCorrectionImageFilter&lt;TInputImage,TMaskImage,TOutputImage&gt;::SmoothField(itk::SmartPointer&lt;TObjectType&gt;)'<BR>&gt; &gt;&gt; 2&gt; with<BR>&gt; &gt;&gt; 2&gt; [<BR>&gt; &gt;&gt; 2&gt; TObjectType=itk::Image&lt;RealType,3&gt;,<BR>&gt; &gt;&gt; 2&gt; TInputImage=ImageType,<BR>&gt; &gt;&gt; 2&gt; TMaskImage=MaskImageType,<BR>&gt; &gt;&gt; 2&gt; TOutputImage=ImageType<BR>&gt; &gt;&gt; 2&gt; ]<BR>&gt; &gt;&gt; 4&gt;------ Skipped Rebuild All: Project: NightlyMemoryCheck, Configuration:<BR>&gt; &gt;&gt; Debug Win32 ------<BR>&gt; &gt;&gt; 4&gt;Project not selected to build for this solution configuration<BR>&gt; &gt;&gt; 5&gt;------ Skipped Rebuild All: Project: Nightly, Configuration: Debug Win32<BR>&gt; &gt;&gt; ------<BR>&gt; &gt;&gt; 5&gt;Project not selected to build for this solution configuration<BR>&gt; &gt;&gt; 6&gt;------ Skipped Rebuild All: Project: RUN_TESTS, Configuration: Debug<BR>&gt; &gt;&gt; Win32 ------<BR>&gt; &gt;&gt; 6&gt;Project not selected to build for this solution configuration<BR>&gt; &gt;&gt; 7&gt;------ Skipped Rebuild All: Project: Experimental, Configuration: Debug<BR>&gt; &gt;&gt; Win32 ------<BR>&gt; &gt;&gt; 7&gt;Project not selected to build for this solution configuration<BR>&gt; &gt;&gt; 8&gt;------ Skipped Rebuild All: Project: Continuous, Configuration: Debug<BR>&gt; &gt;&gt; Win32 ------<BR>&gt; &gt;&gt; 8&gt;Project not selected to build for this solution configuration<BR>&gt; &gt;&gt; 2&gt;Build log was saved at<BR>&gt; &gt;&gt; "file://c:\tk\N3CorrectionBin\itkN3MRIBiasFieldCorrectionImageFilterTest.dir\Debug\BuildLog.htm"<BR>&gt; &gt;&gt; 2&gt;itkN3MRIBiasFieldCorrectionImageFilterTest - 6 error(s), 0 warning(s)<BR>&gt; &gt;&gt; 9&gt;------ Skipped Rebuild All: Project: ALL_BUILD, Configuration: Debug<BR>&gt; &gt;&gt; Win32 ------<BR>&gt; &gt;&gt; 9&gt;Project not selected to build for this solution configuration<BR>&gt; &gt;&gt; ========== Rebuild All: 1 succeeded, 2 failed, 6 skipped ==========<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; Maybe i will wait until today late so that you can correct...because for<BR>&gt; &gt;&gt; the moment i'm not an expert and i can correct only my simple code and not<BR>&gt; &gt;&gt; codes so complex...<BR>&gt; &gt;&gt; Thank you<BR>&gt; &gt;&gt; Samuele<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; ________________________________<BR>&gt; &gt;&gt; CC:&nbsp;insight-users@itk.org<BR>&gt; &gt;&gt; From:&nbsp;ntustison@gmail.com<BR>&gt; &gt;&gt; Subject: Re: [Insight-users] compilation problem<BR>&gt; &gt;&gt; itkN3MRIBiasFieldCorrectionImageFilter(taken from insight journal)<BR>&gt; &gt;&gt; Date: Fri, 23 Oct 2009 07:26:25 -0400<BR>&gt; &gt;&gt; To:&nbsp;samuele_82@hotmail.com<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; Hi Samuele,<BR>&gt; &gt;&gt; I need to fix the recent code revision---I made some changes such as<BR>&gt; &gt;&gt; adding a progress reporter and I didn't realize until recently that there's<BR>&gt; &gt;&gt; a bug. &nbsp;Anyway, you can wait until later today when I upload a corrected<BR>&gt; &gt;&gt; version or you can find the line in the .txx file, in the function<BR>&gt; &gt;&gt; GenerateData(), that reads something like<BR>&gt; &gt;&gt; itkDebugMacro( "Iteration: &nbsp;" &lt;&lt; iteration &lt;&lt; ": &nbsp; Convergence threshold =<BR>&gt; &gt;&gt; " &lt;&lt; convergence )<BR>&gt; &gt;&gt; and just delete it. &nbsp;That should correct the problem.<BR>&gt; &gt;&gt; Nick<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; On Oct 23, 2009, at 5:42 AM, Samuele Dietler wrote:<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; Hello itk users,<BR>&gt; &gt;&gt; i have a problem with the following library :<BR>&gt; &gt;&gt; itkN3MRIBiasFieldCorrectionImageFilter(taken by insight journal). I compile<BR>&gt; &gt;&gt; it in visual studio 9 with itk3.8. The first time that i compiled it i had a<BR>&gt; &gt;&gt; problem with review option of itk, so i turned on review and i recompiled<BR>&gt; &gt;&gt; itk. After i have recompiled itkN3MRIBiasFieldCorrectionImageFilter but this<BR>&gt; &gt;&gt; time the following list of errors appear :<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; 1&gt;------ Build started: Project: ImageCompare, Configuration: Debug Win32<BR>&gt; &gt;&gt; ------<BR>&gt; &gt;&gt; 2&gt;------ Build started: Project:<BR>&gt; &gt;&gt; itkN3MRIBiasFieldCorrectionImageFilterTest, Configuration: Debug Win32<BR>&gt; &gt;&gt; ------<BR>&gt; &gt;&gt; 2&gt;Compiling...<BR>&gt; &gt;&gt; 1&gt;Compiling...<BR>&gt; &gt;&gt; 1&gt;ImageCompare.cxx<BR>&gt; &gt;&gt; 2&gt;itkN3MRIBiasFieldCorrectionImageFilterTest.cxx<BR>&gt; &gt;&gt; 2&gt;c:\tk\n3correction\itkN3MRIBiasFieldCorrectionImageFilter.txx(136) :<BR>&gt; &gt;&gt; error C2065: 'iteration' : undeclared identifier<BR>&gt; &gt;&gt; 2&gt; c:\tk\n3correction\itkN3MRIBiasFieldCorrectionImageFilter.txx(59) :<BR>&gt; &gt;&gt; while compiling class template member function 'void<BR>&gt; &gt;&gt; itk::N3MRIBiasFieldCorrectionImageFilter&lt;TInputImage,TMaskImage,TOutputImage&gt;::GenerateData(void)'<BR>&gt; &gt;&gt; 2&gt; with<BR>&gt; &gt;&gt; 2&gt; [<BR>&gt; &gt;&gt; 2&gt; TInputImage=ImageType,<BR>&gt; &gt;&gt; 2&gt; TMaskImage=MaskImageType,<BR>&gt; &gt;&gt; 2&gt; TOutputImage=ImageType<BR>&gt; &gt;&gt; 2&gt; ]<BR>&gt; &gt;&gt; 2&gt; ..\N3Correction\itkN3MRIBiasFieldCorrectionImageFilterTest.cxx(109) :<BR>&gt; &gt;&gt; see reference to class template instantiation<BR>&gt; &gt;&gt; 'itk::N3MRIBiasFieldCorrectionImageFilter&lt;TInputImage,TMaskImage,TOutputImage&gt;'<BR>&gt; &gt;&gt; being compiled<BR>&gt; &gt;&gt; 2&gt; with<BR>&gt; &gt;&gt; 2&gt; [<BR>&gt; &gt;&gt; 2&gt; TInputImage=ImageType,<BR>&gt; &gt;&gt; 2&gt; TMaskImage=MaskImageType,<BR>&gt; &gt;&gt; 2&gt; TOutputImage=ImageType<BR>&gt; &gt;&gt; 2&gt; ]<BR>&gt; &gt;&gt; 2&gt; ..\N3Correction\itkN3MRIBiasFieldCorrectionImageFilterTest.cxx(217) :<BR>&gt; &gt;&gt; see reference to function template instantiation 'int<BR>&gt; &gt;&gt; itkN3MRIBiasFieldCorrectionImageFilterTest&lt;2&gt;(int,char *[])' being compiled<BR>&gt; &gt;&gt; 2&gt;c:\tk\n3correction\itkN3MRIBiasFieldCorrectionImageFilter.txx(136) :<BR>&gt; &gt;&gt; error C2065: 'cv' : undeclared identifier<BR>&gt; &gt;&gt; 2&gt;c:\tk\n3correction\itkN3MRIBiasFieldCorrectionImageFilter.txx(136) :<BR>&gt; &gt;&gt; error C2065: 'iteration' : undeclared identifier<BR>&gt; &gt;&gt; 2&gt; c:\tk\n3correction\itkN3MRIBiasFieldCorrectionImageFilter.txx(59) :<BR>&gt; &gt;&gt; while compiling class template member function 'void<BR>&gt; &gt;&gt; itk::N3MRIBiasFieldCorrectionImageFilter&lt;TInputImage,TMaskImage,TOutputImage&gt;::GenerateData(void)'<BR>&gt; &gt;&gt; 2&gt; with<BR>&gt; &gt;&gt; 2&gt; [<BR>&gt; &gt;&gt; 2&gt; TInputImage=ImageType,<BR>&gt; &gt;&gt; 2&gt; TMaskImage=MaskImageType,<BR>&gt; &gt;&gt; 2&gt; TOutputImage=ImageType<BR>&gt; &gt;&gt; 2&gt; ]<BR>&gt; &gt;&gt; 2&gt; ..\N3Correction\itkN3MRIBiasFieldCorrectionImageFilterTest.cxx(109) :<BR>&gt; &gt;&gt; see reference to class template instantiation<BR>&gt; &gt;&gt; 'itk::N3MRIBiasFieldCorrectionImageFilter&lt;TInputImage,TMaskImage,TOutputImage&gt;'<BR>&gt; &gt;&gt; being compiled<BR>&gt; &gt;&gt; 2&gt; with<BR>&gt; &gt;&gt; 2&gt; [<BR>&gt; &gt;&gt; 2&gt; TInputImage=ImageType,<BR>&gt; &gt;&gt; 2&gt; TMaskImage=MaskImageType,<BR>&gt; &gt;&gt; 2&gt; TOutputImage=ImageType<BR>&gt; &gt;&gt; 2&gt; ]<BR>&gt; &gt;&gt; 2&gt; ..\N3Correction\itkN3MRIBiasFieldCorrectionImageFilterTest.cxx(220) :<BR>&gt; &gt;&gt; see reference to function template instantiation 'int<BR>&gt; &gt;&gt; itkN3MRIBiasFieldCorrectionImageFilterTest&lt;3&gt;(int,char *[])' being compiled<BR>&gt; &gt;&gt; 2&gt;c:\tk\n3correction\itkN3MRIBiasFieldCorrectionImageFilter.txx(136) :<BR>&gt; &gt;&gt; error C2065: 'cv' : undeclared identifier<BR>&gt; &gt;&gt; 2&gt;Build log was saved at<BR>&gt; &gt;&gt; "file://c:\tk\N3CorrectionBin\itkN3MRIBiasFieldCorrectionImageFilterTest.dir\Debug\BuildLog.htm"<BR>&gt; &gt;&gt; 2&gt;itkN3MRIBiasFieldCorrectionImageFilterTest - 4 error(s), 0 warning(s)<BR>&gt; &gt;&gt; 1&gt;Compiling manifest to resources...<BR>&gt; &gt;&gt; 1&gt;Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1<BR>&gt; &gt;&gt; 1&gt;Copyright (C) Microsoft Corporation. All rights reserved.<BR>&gt; &gt;&gt; 1&gt;Linking...<BR>&gt; &gt;&gt; 1&gt;LINK : fatal error LNK1104: cannot open file 'ITKReview.lib'<BR>&gt; &gt;&gt; 1&gt;Build log was saved at<BR>&gt; &gt;&gt; "file://c:\tk\N3CorrectionBin\ImageCompare.dir\Debug\BuildLog.htm"<BR>&gt; &gt;&gt; 1&gt;ImageCompare - 1 error(s), 0 warning(s)<BR>&gt; &gt;&gt; ========== Build: 0 succeeded, 2 failed, 2 up-to-date, 0 skipped<BR>&gt; &gt;&gt; ==========<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; Does anyone know hot to solve the problem??<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; Thank you, bests<BR>&gt; &gt;&gt; Samuele<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; ________________________________<BR>&gt; &gt;&gt; Windows Live Today:&nbsp;Resta aggiornato sulle attivitą dei tuoi amici su<BR>&gt; &gt;&gt; Flickr, Dada e MySpace_____________________________________<BR>&gt; &gt;&gt; Powered by&nbsp;www.kitware.com<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; Visit other Kitware open-source projects at<BR>&gt; &gt;&gt; http://www.kitware.com/opensource/opensource.html<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; Please keep messages on-topic and check the ITK FAQ<BR>&gt; &gt;&gt; at:&nbsp;http://www.itk.org/Wiki/ITK_FAQ<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; Follow this link to subscribe/unsubscribe:<BR>&gt; &gt;&gt; http://www.itk.org/mailman/listinfo/insight-users<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; ________________________________<BR>&gt; &gt;&gt; Doretta&nbsp;Doretta ti "cerca"! Vieni a trovarla sul suo<BR>&gt; &gt;&gt; Spaces!&nbsp;_____________________________________<BR>&gt; &gt;&gt; Powered by&nbsp;www.kitware.com<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; Visit other Kitware open-source projects at<BR>&gt; &gt;&gt; http://www.kitware.com/opensource/opensource.html<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; Please keep messages on-topic and check the ITK FAQ<BR>&gt; &gt;&gt; at:&nbsp;http://www.itk.org/Wiki/ITK_FAQ<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; Follow this link to subscribe/unsubscribe:<BR>&gt; &gt;&gt; http://www.itk.org/mailman/listinfo/insight-users<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; ________________________________<BR>&gt; &gt;&gt; Windows Live: tieni aggiornati i tuoi amici sulle tue attivitą in linea.<BR>&gt; &gt;&gt; _____________________________________<BR>&gt; &gt;&gt; Powered by www.kitware.com<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; Visit other Kitware open-source projects at<BR>&gt; &gt;&gt; http://www.kitware.com/opensource/opensource.html<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; Please keep messages on-topic and check the ITK FAQ at:<BR>&gt; &gt;&gt; http://www.itk.org/Wiki/ITK_FAQ<BR>&gt; &gt;&gt;<BR>&gt; &gt;&gt; Follow this link to subscribe/unsubscribe:<BR>&gt; &gt;&gt; http://www.itk.org/mailman/listinfo/insight-users<BR>&gt; &gt;&gt;<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt; _____________________________________<BR>&gt; &gt; Powered by www.kitware.com<BR>&gt; &gt;<BR>&gt; &gt; Visit other Kitware open-source projects at<BR>&gt; &gt; http://www.kitware.com/opensource/opensource.html<BR>&gt; &gt;<BR>&gt; &gt; Please keep messages on-topic and check the ITK FAQ at:<BR>&gt; &gt; http://www.itk.org/Wiki/ITK_FAQ<BR>&gt; &gt;<BR>&gt; &gt; Follow this link to subscribe/unsubscribe:<BR>&gt; &gt; http://www.itk.org/mailman/listinfo/insight-users<BR>&gt; &gt;<BR>&gt; &gt;<BR>                                               <br /><hr />Doretta <a href='http://doretta82live.spaces.live.com/' target='_new'>Doretta ti "cerca"! Vieni a trovarla sul suo Spaces!</a></body>
</html>