<div dir="ltr">Did you also<div>ITK_LEGACY_REMOVE:BOOL=OFF<br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 9, 2013 at 8:19 AM, hongsongyang <span dir="ltr">&lt;<a href="mailto:hongsongyang@163.com" target="_blank">hongsongyang@163.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="line-height:1.7;font-size:14px;font-family:arial">I have done this ITKV3_COMPATIBILITY:BOOL=ON configuration.<div>
If not so, After I finished the ITK building, and I start configuring</div><div>InsightApplications with CMake, CMake will list error log as follow:</div><div><br></div><div><div>CMake Error at CMakeLists.txt:33 (message):</div>
<div>  ITK must be built with ITKV3_COMPATIBILITY ON and ITK_LEGACY_REMOVE OFF</div></div><div><br></div><div>So I think the problem has no relationship with what you suggested.</div><span class="HOEnZb"><font color="#888888"><div>
<br></div><div>Hongsongyang.</div></font></span><div><div class="h5"><div><br></div><div><br><br><br><br><div></div><div></div><br>At 2013-05-09 18:56:09,&quot;Bill Lorensen&quot; &lt;<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>&gt; wrote:<br>
 <blockquote style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:#ccc 1px solid"><div dir="ltr">When you configure ITK with CMake, add<div>ITKV3_COMPATIBILITY:BOOL=ON<br></div><div><br></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Tue, May 7, 2013 at 1:17 PM, hongsongyang <span dir="ltr">&lt;<a href="mailto:hongsongyang@163.com" target="_blank">hongsongyang@163.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="line-height:1.7;font-size:14px;font-family:arial">Dear All:<div>      I used VS2010 to build the VTK and ITK successfully. </div>

<div>But when I build InsightApplications after cmake configurarion, </div><div>vtkVTKITKCommon project could not be built correctly.</div><div><span style="line-height:1.7">Here is the error messages:</span></div><div><span style="line-height:1.7"><br>

</span></div><div><span style="line-height:1.7"><br></span></div><div>1&gt;  vtkITKMutualInformationTransform.cxx</div><div>1&gt;d:\itk\itk\modules\core\transform\include\itktransform.h(197): error C4716: &#39;itk::Transform&lt;double,3,3&gt;::TransformVector&#39; : must return a value</div>

<div>1&gt;d:\itk\itk\modules\core\transform\include\itktransform.h(212): error C4716: &#39;itk::Transform&lt;double,3,3&gt;::TransformVector&#39; : must return a value</div><div>1&gt;d:\itk\itk\modules\core\transform\include\itktransform.h(228): error C4716: &#39;itk::
 Transform&lt;double,3,3&gt;::TransformVector&#39; : must return a value</div><div>1&gt;d:\itk\itk\modules\core\transform\include\itktransform.h(243): error C4716: &#39;itk::Transform&lt;double,3,3&gt;::TransformCovariantVector&#39; : must return a value</div>

<div>1&gt;d:\itk\itk\modules\core\transform\include\itktransform.h(260): error C4716: &#39;itk::Transform&lt;double,3,3&gt;::TransformCovariantVector&#39; : must return a value</div><div>1&gt;d:\itk\itk\modules\core\transform\include\itktransform.h(279): error C4716: &#39;itk::Transform&lt;double,3,3&gt;::TransformDiffusionTensor3D&#39; : must return a value</div>

<div>1&gt;d:\itk\itk\modules\core\transform\include\itktransform.h(297): error C4716: &#39;itk::Transform&lt;double,3,3&gt;::TransformDiffusionTensor3D&#39; : must return a value</div><div>1&gt;d:\itk\itk\modules\core\transform\include\itktransform.h(319): error C4716: &#39;itk::Transform&lt;double,3,3&gt;::TransformSymmetricSecondRankTensor&#39; : must return a value</div>

<div>1&gt;d:\itk\itk\modules\cor
 e\transform\include\itktransform.h(328): error C4716: &#39;itk::Transform&lt;double,3,3&gt;::TransformSymmetricSecondRankTensor&#39; : must return a value</div><div>1&gt;</div><div><span style="line-height:1.7">1&gt;Build FAILED.</span><span style="line-height:1.7"> </span></div>

<div><span style="line-height:1.7"><br></span></div><div><span style="line-height:1.7"><br></span></div><div><span style="line-height:1.7">What&#39;s the reason for this problem?</span></div><span><font color="#888888"><div>

<span style="line-height:1.7"><br></span></div><div><span style="line-height:1.7">Hongsongyang</span></div></font></span></div><br><br><span title="neteasefooter"><span></span></span><br>_____________________________________<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><br clear="all"><div><br></div>-- <br>Unpaid intern in BillsBasement at noware dot com<br>
</div>
</blockquote></div></div></div></div><br><br><span title="neteasefooter"><span></span></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>Unpaid intern in BillsBasement at noware dot com<br>
</div>