[Insight-users] error: itkLabelShapeKeepNObjectsImageFilter.h

Clodan Majin_Clodan at t-online.de
Sat May 5 15:34:29 EDT 2012


Hello guys,

well I tested the program on the following link:
http://www.itk.org/Wiki/ITK/Examples/ImageSegmentation/ExtractLargestConnectedComponentFromBinaryImage
http://www.itk.org/Wiki/ITK/Examples/ImageSegmentation/ExtractLargestConnectedComponentFromBinaryImage 

If I do:
cmake

I don't get any error but if I do:
make -j 2

then I get the following error:

[100%] Building CXX object
CMakeFiles/ExtractLargestConnectedComponentFromBinaryImage.dir/test.cpp.o
/Users/System/HiwiJob/Ticket/_ Extract the largest connected component from
a Binary Image/test.cpp:5:50: error: itkLabelShapeKeepNObjectsImageFilter.h:
No such file or directory
/Users/System/HiwiJob/Ticket/_ Extract the largest connected component from
a Binary Image/test.cpp: In function ‘int main(int, char**)’:
/Users/System/HiwiJob/Ticket/_ Extract the largest connected component from
a Binary Image/test.cpp:35: error: expected initializer before ‘<’ token
/Users/System/HiwiJob/Ticket/_ Extract the largest connected component from
a Binary Image/test.cpp:36: error: ‘LabelShapeKeepNObjectsImageFilterType’
has not been declared
/Users/System/HiwiJob/Ticket/_ Extract the largest connected component from
a Binary Image/test.cpp:36: error: expected `;' before
‘labelShapeKeepNObjectsImageFilter’
/Users/System/HiwiJob/Ticket/_ Extract the largest connected component from
a Binary Image/test.cpp:37: error: ‘labelShapeKeepNObjectsImageFilter’ was
not declared in this scope
/Users/System/HiwiJob/Ticket/_ Extract the largest connected component from
a Binary Image/test.cpp:40: error: ‘LabelShapeKeepNObjectsImageFilterType’
has not been declared
make[2]: ***
[CMakeFiles/ExtractLargestConnectedComponentFromBinaryImage.dir/test.cpp.o]
Error 1
make[1]: ***
[CMakeFiles/ExtractLargestConnectedComponentFromBinaryImage.dir/all] Error 2
make: *** [all] Error 2

In short he can't find the itkLabelShapeKeepNObjectsImageFilter. 
I have the 3.8 version. Why don't he find the file? do I need a newer
version? If yes how can I do this? Or is there another reason? :(


Greetings, Clodan

-- 
View this message in context: http://old.nabble.com/error%3A-itkLabelShapeKeepNObjectsImageFilter.h-tp33763483p33763483.html
Sent from the ITK - Users mailing list archive at Nabble.com.



More information about the Insight-users mailing list