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

Omid Hajizad omidhajizad at gmail.com
Mon Aug 27 11:19:47 EDT 2012


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
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20120827/1b84ab90/attachment.htm>


More information about the Insight-users mailing list