[Insight-users] can not open file itkBasicFilters.lib_3D thinning algorithm_ITK

Bill Lorensen bill.lorensen at gmail.com
Mon Aug 27 13:35:59 EDT 2012


What version of ITK are you using?

To be safe for all version, remove:
SET(${ITK_LIBRARIES})

SET(Libraries
  ITKBasicFilters
  ITKCommon
  ITKIO
)

and add

SET(Libraries
  ${ITK_LIBRARIES}
)


On Mon, Aug 27, 2012 at 11:19 AM, Omid Hajizad <omidhajizad at gmail.com>wrote:

> Hello,
>
> I am using ITK to make use of 3D thinning algorithm presented in this link
> :  http://www.insight-journal.org/browse/publication/181
>
> When trying to build this 3D thinning algorithm, I get the error:  "can
> not open file itkBasicFilters.lib"
>
> Can anybody help me?
>
> The following is the cmakelist (can also be found in the file uploaded in
> the mentioned link)
>
> cmake_minimum_required(VERSION 2.8)
> INCLUDE(${CMAKE_SOURCE_DIR}/IJMacros.txt)
>
>
>
> PROJECT(BinaryThinning3D)
>
> ENABLE_TESTING()
> INCLUDE(Dart)
>
> SET(Required_Packages
>   ITK
> )
>
> FOREACH(Package ${Required_Packages})
>   LOADPACKAGE(${Package})
> ENDFOREACH(Package)
>
>
> SET(${ITK_LIBRARIES})
>
> SET(Libraries
>   ITKBasicFilters
>   ITKCommon
>   ITKIO
> )
>
> #IF(BUILD_TESTING)
>   SET(CurrentExe "BinaryThinning3D")
>   ADD_EXECUTABLE(${CurrentExe} BinaryThinning3D.cxx)
>   TARGET_LINK_LIBRARIES(${CurrentExe} ${Libraries})
> #ENDIF(BUILD_TESTING)
>
> ADD_TEST(BinaryThinning3DTest BinaryThinning3D
> ${CMAKE_SOURCE_DIR}/img_in.dcm ${CMAKE_SOURCE_DIR}/img_out.dcm)
>
>
> --
> **
> *Sincerely yours,
> Omid Hajizad
> *
>
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
>


-- 
Unpaid intern in BillsBasement at noware dot com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20120827/841e4c2a/attachment.htm>


More information about the Insight-users mailing list