Hi Alex,
You might be missing the following lines in your CMakeLists.txt
INCLUDE_DIRECTORIES(
${ITK_SOURCE_DIR}/Code/Algorithms
# Any other directory you might need
)
LINK_DIRECTORIES(
${ITK_BINARY_DIR}/Code/Algorithms
# Any other directory you might need
)
I hope this helps
Lino