btw: I precise that the files .txx and .h are itk files that I copied to my project. I m wondering if the problem is that there are two copies of these files in my project and in the itk directory ...
=======
the code is really very big, so i give more details about the problem
in the exec file (main .cxx) everythig works including std::cout, but when i put the std::cout in the file1.txx (included in the .cxx), the code works but i don't get the message, see the code below