<pre>Hi all<br><br>I have problem in building ITKApplication.<br><br>Can you tell me how to solve this problem?<br><br>Thanks<br><br>-------------------Configuration: ImageCalculator - Win32 Release--------------------<br>
Compiling...<br>ImageCalculatorProcess2D.cxx<br>C:\Librabries\InsightApplications-2.6.0\InsightApplications-2.6.0\ImageCalculator\Imgmath.h(149) : error C2899: typename cannot be used outside a template declaration<br>        C:\Librabries\InsightApplications-
2.6.0\InsightApplications-2.6.0\ImageCalculator\ImageCalculatorTemplates.h(635) : see reference to function template instantiation 'class itk::SmartPointer&lt;class itk::Image&lt;double,2&gt; &gt; __cdecl Iavg(class itk<br>
::<i>SmartPointer&lt;class itk::Image&lt;double,2&gt; &gt;,int)' being compiled<br></i>C:\Librabries\InsightApplications-2.6.0\InsightApplications-2.6.0\ImageCalculator\Imgmath.h(168) : error C2899: typename cannot be used outside a template declaration
<br>        C:\Librabries\InsightApplications-2.6.0\InsightApplications-2.6.0\ImageCalculator\ImageCalculatorTemplates.h(640) : see reference to function template instantiation 'class itk::SmartPointer&lt;class itk::Image&lt;double,2&gt; &gt; __cdecl ImageMultiplyC
<br>onstant(class itk::SmartPointer&lt;class itk::Image&lt;double,2&gt; &gt;,double)' being compiled<br>C:\Librabries\InsightApplications-2.6.0\InsightApplications-2.6.0\ImageCalculator\Imgmath.h(185) : error C2899: typename cannot be used outside a template declaration
<br>        C:\Librabries\InsightApplications-2.6.0\InsightApplications-2.6.0\ImageCalculator\ImageCalculatorTemplates.h(643) : see reference to function template instantiation 'class itk::SmartPointer&lt;class itk::Image&lt;double,2&gt; &gt; __cdecl ImageDivideCon
<br>stant(class itk::SmartPointer&lt;class itk::Image&lt;double,2&gt; &gt;,double)' being compiled<br>ImageCalculatorProcess3D.cxx<br>C:\Librabries\InsightApplications-2.6.0\InsightApplications-2.6.0\ImageCalculator\Imgmath.h
(149) : error C2899: typename cannot be used outside a template declaration<br>        C:\Librabries\InsightApplications-2.6.0\InsightApplications-2.6.0\ImageCalculator\ImageCalculatorTemplates.h(635) : see reference to function template instantiation 'class itk::SmartPointer&lt;class itk::Image&lt;double,3&gt; &gt; __cdecl Iavg(class itk
<br>::<i>SmartPointer&lt;class itk::Image&lt;double,3&gt; &gt;,int)' being compiled<br></i>C:\Librabries\InsightApplications-2.6.0\InsightApplications-2.6.0\ImageCalculator\Imgmath.h(168) : error C2899: typename cannot be used outside a template declaration
<br>        C:\Librabries\InsightApplications-2.6.0\InsightApplications-2.6.0\ImageCalculator\ImageCalculatorTemplates.h(640) : see reference to function template instantiation 'class itk::SmartPointer&lt;class itk::Image&lt;double,3&gt; &gt; __cdecl ImageMultiplyC
<br>onstant(class itk::SmartPointer&lt;class itk::Image&lt;double,3&gt; &gt;,double)' being compiled<br>C:\Librabries\InsightApplications-2.6.0\InsightApplications-2.6.0\ImageCalculator\Imgmath.h(185) : error C2899: typename cannot be used outside a template declaration
<br>        C:\Librabries\InsightApplications-2.6.0\InsightApplications-2.6.0\ImageCalculator\ImageCalculatorTemplates.h(643) : see reference to function template instantiation 'class itk::SmartPointer&lt;class itk::Image&lt;double,3&gt; &gt; __cdecl ImageDivideCon
<br>stant(class itk::SmartPointer&lt;class itk::Image&lt;double,3&gt; &gt;,double)' being compiled<br>Generating Code...<br>Error executing cl.exe.<br><br>ALL_BUILD - 6 error(s), 0 warning(s)</pre><br clear="all"><br>-- <br>
Jonghye Woo<br>God's Word: Hope for All 'cause He knows Me