[Insight-users] linker error with mutualinformation example

barbababa tonimuusimaki at gmail.com
Sun Jul 17 18:07:44 EDT 2011


The Imagemutualinformation.cxx with the cmakelist below gives the same error
# This is the root ITK CMakeLists file.

CMAKE_MINIMUM_REQUIRED(VERSION 2.4)

IF(COMMAND CMAKE_POLICY)
  
CMAKE_POLICY(SET CMP0003 NEW)

ENDIF(COMMAND CMAKE_POLICY)



# This project is designed to be built outside the Insight source tree.


# Find ITK.

FIND_PACKAGE(ITK REQUIRED)

INCLUDE(${ITK_USE_FILE})

PROJECT(ImageMutualInformation1)

INCLUDE_REGULAR_EXPRESSION("^.*$")



ADD_EXECUTABLE(ImageMutualInformation1 ImageMutualInformation1.cxx )

TARGET_LINK_LIBRARIES(ImageMutualInformation1 ITKIO ITKStatistics )



--
View this message in context: http://itk-insight-users.2283740.n2.nabble.com/linker-error-with-mutualinformation-example-tp6592749p6592800.html
Sent from the ITK Insight Users mailing list archive at Nabble.com.


More information about the Insight-users mailing list