<div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Hello Bill,</span><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Thank you very much, it works!<br>I am using ITK 4.2.0</div></div><br><div class="gmail_quote">On Mon, Aug 27, 2012 at 7:35 PM, Bill Lorensen <span dir="ltr">&lt;<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">What version of ITK are you using?<br><br>To be safe for all version, remove:<div class="im"><br><div>SET(${ITK_LIBRARIES})</div>
<div>
<br></div><div>SET(Libraries</div><div>  ITKBasicFilters</div><div>  ITKCommon</div><div>  ITKIO</div></div><div>)<br><br>and add<br><br>SET(Libraries<br>  ${ITK_LIBRARIES}<br>)<br></div><br><br><div class="gmail_quote">
<div><div class="h5">On Mon, Aug 27, 2012 at 11:19 AM, Omid Hajizad <span dir="ltr">&lt;<a href="mailto:omidhajizad@gmail.com" target="_blank">omidhajizad@gmail.com</a>&gt;</span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">Hello,<div><br></div><div>I am using ITK to make use of 3D thinning algorithm presented in this link : 
<a href="http://www.insight-journal.org/browse/publication/181" target="_blank">http://www.insight-journal.org/browse/publication/181</a> </div><div><br></div><div>When trying to build this 3D thinning algorithm, I get the error:  &quot;can not open file itkBasicFilters.lib&quot;</div>


<div><br></div><div>Can anybody help me?</div><div><br></div><div>The following is the cmakelist (can also be found in the file uploaded in the mentioned link)</div><div><br></div><div><div>cmake_minimum_required(VERSION 2.8)</div>


<div>INCLUDE(${CMAKE_SOURCE_DIR}/IJMacros.txt)</div><div><br></div><div><br></div><div><br></div><div>PROJECT(BinaryThinning3D)</div><div><br></div><div>ENABLE_TESTING()</div><div>INCLUDE(Dart)</div><div><br></div><div>SET(Required_Packages</div>


<div>  ITK</div><div>)</div><div><br></div><div>FOREACH(Package ${Required_Packages})</div><div>  LOADPACKAGE(${Package})</div><div>ENDFOREACH(Package)</div><div><br></div><div><br></div><div>SET(${ITK_LIBRARIES})</div><div>


<br></div><div>SET(Libraries</div><div>  ITKBasicFilters</div><div>  ITKCommon</div><div>  ITKIO</div><div>)</div><div><br></div><div>#IF(BUILD_TESTING)</div><div>  SET(CurrentExe &quot;BinaryThinning3D&quot;)</div><div>

  ADD_EXECUTABLE(${CurrentExe} BinaryThinning3D.cxx) </div>
<div>  TARGET_LINK_LIBRARIES(${CurrentExe} ${Libraries})</div><div>#ENDIF(BUILD_TESTING)</div><div><br></div><div>ADD_TEST(BinaryThinning3DTest BinaryThinning3D ${CMAKE_SOURCE_DIR}/img_in.dcm ${CMAKE_SOURCE_DIR}/img_out.dcm)</div>

<span><font color="#888888">
<div><br></div><div><br></div>-- <br><div><i></i> </div>
<div><i>Sincerely yours,<br>Omid Hajizad<br></i></div><br>
</font></span></div>
<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><span class="HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br>Unpaid intern in BillsBasement at noware dot com<br><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><i></i> </div>
<div><i>Sincerely yours,<br>Omid Hajizad<br></i></div><br>