<br>Hi all,<br><br>I use Ubuntu 9.04 (Jaunty Jackalope) and my g++ version 4.3.3.<br>When I'm trying to compile itk, I get the following error messages:<br><br>Warning: turning off implicit template instantiation<br>-- Found UUID: /usr/lib/libuuid.so<br>
-- Configuring done<br>-- Generating done<br>-- Build files have been written to: /home/vulcanos/dev/InsightToolkit-3.14.0<br>[ 0%] Building CXX object Utilities/kwsys/CMakeFiles/itksys.dir/Directory.o<br>In file included from /home/vulcanos/dev/InsightToolkit-3.14.0/Utilities/itksys/stl/string.hxx:31,<br>
from /home/vulcanos/dev/InsightToolkit-3.14.0/Utilities/itksys/stl/string:51,<br> from /home/vulcanos/dev/InsightToolkit-3.14.0/Utilities/kwsys/Directory.cxx:19:<br>/home/vulcanos/dev/InsightToolkit-3.14.0/Utilities/itksys/ios/iostream:28:23: error: iostream.h: No such file or directory<br>
In file included from /home/vulcanos/dev/InsightToolkit-3.14.0/Utilities/itksys/stl/string.hxx:31,<br> from /home/vulcanos/dev/InsightToolkit-3.14.0/Utilities/itksys/stl/string:51,<br> from /home/vulcanos/dev/InsightToolkit-3.14.0/Utilities/kwsys/Directory.cxx:19:<br>
/home/vulcanos/dev/InsightToolkit-3.14.0/Utilities/itksys/ios/iostream:69: error: ‘::ostream’ has not been declared<br>/home/vulcanos/dev/InsightToolkit-3.14.0/Utilities/itksys/ios/iostream:70: error: ‘::istream’ has not been declared<br>
/home/vulcanos/dev/InsightToolkit-3.14.0/Utilities/itksys/ios/iostream:71: error: ‘::ios’ has not been declared<br>/home/vulcanos/dev/InsightToolkit-3.14.0/Utilities/itksys/ios/iostream:72: error: ‘::endl’ has not been declared<br>
/home/vulcanos/dev/InsightToolkit-3.14.0/Utilities/itksys/ios/iostream:73: error: ‘::flush’ has not been declared<br>/home/vulcanos/dev/InsightToolkit-3.14.0/Utilities/itksys/ios/iostream:77: error: ‘::cin’ has not been declared<br>
/home/vulcanos/dev/InsightToolkit-3.14.0/Utilities/itksys/ios/iostream:82: error: ‘::cout’ has not been declared<br>/home/vulcanos/dev/InsightToolkit-3.14.0/Utilities/itksys/ios/iostream:87: error: ‘::cerr’ has not been declared<br>
/home/vulcanos/dev/InsightToolkit-3.14.0/Utilities/itksys/ios/iostream:92: error: ‘::clog’ has not been declared<br>In file included from /home/vulcanos/dev/InsightToolkit-3.14.0/Utilities/itksys/stl/string:51,<br> from /home/vulcanos/dev/InsightToolkit-3.14.0/Utilities/kwsys/Directory.cxx:19:<br>
/home/vulcanos/dev/InsightToolkit-3.14.0/Utilities/itksys/stl/string.hxx:39: error: expected initializer before ‘&’ token<br>make[2]: *** [Utilities/kwsys/CMakeFiles/itksys.dir/Directory.o] Error 1<br>make[1]: *** [Utilities/kwsys/CMakeFiles/itksys.dir/all] Error 2<br>
make: *** [all] Error 2<br><br><br>First:<br>Has the ccmake warning "turning off implicit template instantiation" any relevant meaning?<br><br>Second:<br>The itksys/ios/iostream contains:<br><br>#if itksys_IOS_USE_ANSI<br>
# include <iostream><br>#else<br># include <iostream.h><br>#endif<br><br>In itksys/Configure.hxx:<br><br>#define itksys_IOS_USE_ANSI 0<br><br>Would not it be good to turn that to 1? As we know iostream.h is deprecated. How can be do that?<br clear="all">
<br>Cheers,<br>-- <br>Zoltan Seress<br>