I started from a clean binary tree. I&#39;m really not doing anything particularly deviant... fresh Ubuntu 8.10 install (I later upgraded to 9.04).. downloaded VTK 5.2.1 (also tried CVS), enable Python, compile. I didn&#39;t change around the compiler after running cmake. I only have the one version on my system (4.3.3 bundled with ubuntu 9.04). I ran &quot;cmake ../&quot; just last night and witnessed it scroll by:<br>
<br>-- Checking if ostream supports long long -- no<br><br>I was reading about the use of &quot;long long&quot; vs &quot;long long signed int&quot; and thought that perhaps gcc was being strict and only supporting the later. That would explain why the test failed. Thus I changed vtkTypeId from &quot;long long&quot; to &quot;long long signed int&quot;, flipped VTK_[I/O]STREAM_SUPPORTS_LONG_LONG to 1, and rejoiced at the apparent success. <br>
<br>This morning I thought to check to see if perhaps the &quot;long long&quot;s were fine and it was merely the test that was mis-reporting, so I reverted vtkTypeId back to &quot;long long&quot; and had a successful compile. There&#39;s been some discussion here as to whether or not &quot;long long&quot;s are indeed supported and whether I might have just tricked the compiler, so I might switch back to &quot;long long signed int&quot; just to be safe. <br>
<br>gcc -v<br><br>Target: x86_64-linux-gnu<br>Configured with: ../src/configure -v --with-pkgversion=&#39;Ubuntu 4.3.3-5ubuntu4&#39; --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu<br>
Thread model: posix<br>gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4)<br><br>I&#39;m no C++ programmer, and this bug has been absolutely killing me, because I haven&#39;t been able to get VTK onto my new system for the past week. I would usually delete my build directory completely in between build attempts in order to get a completely fresh start. As I said, I very distinctly observed &quot;-- Checking if ostream supports long long -- no&quot; scroll by last night which led me to make the small change that finally got vtk to compile. When you asked for me to try a fresh clean build, having done it umpteen times in the past week and knowing full-well the result, I figured I&#39;d humour you anyway. That is why I was floored with what I got (see below). &quot;long long&quot; support was detected. Sure enough, VTK_[I/O]STREAM_SUPPORTS_LONG_LONG is set to 1. Not only that, but I was subsequently able to build VTK without trouble. CVS worked fine too.<br>
<br>Nothing has changed since last night and today other than that I had the successful compile after my initial trick, and I rebooted. I only have the one OS-installed version of GCC on my computer. I can only surmise that when I forced VTK_OSTREAM_SUPPORTS_LONG_LONG=1 initially, added a compile flag which in turn did something to add permanent support for istream/ostream &lt;&lt; long long. <br>
<br>Perhaps &quot;long long&quot; in the VTK code should be changed to &quot;long long int&quot; in the code anyway?<br><br>I&#39;m way out of my area of expertise here. Hope this information helps.<br><br>Paul<br><br>cmake ../<br>
<br>-- The C compiler identification is GNU<br>-- The CXX compiler identification is GNU<br>-- Check for working C compiler: /usr/bin/gcc<br>-- Check for working C compiler: /usr/bin/gcc -- works<br>-- Detecting C compiler ABI info<br>
-- Detecting C compiler ABI info - done<br>-- Check for working CXX compiler: /usr/bin/c++<br>-- Check for working CXX compiler: /usr/bin/c++ -- works<br>-- Detecting CXX compiler ABI info<br>-- Detecting CXX compiler ABI info - done<br>
-- Performing Test Support for 64 bit file systems<br>-- Performing Test Support for 64 bit file systems - Success<br>-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so<br>-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - found<br>
-- Looking for gethostbyname<br>-- Looking for gethostbyname - found<br>-- Looking for connect<br>-- Looking for connect - found<br>-- Looking for remove<br>-- Looking for remove - found<br>-- Looking for shmat<br>-- Looking for shmat - found<br>
-- Looking for IceConnectionNumber in ICE<br>-- Looking for IceConnectionNumber in ICE - found<br>-- Found X11: /usr/lib/libX11.so<br>-- Looking for sys/types.h<br>-- Looking for sys/types.h - found<br>-- Looking for stdint.h<br>
-- Looking for stdint.h - found<br>-- Looking for stddef.h<br>-- Looking for stddef.h - found<br>-- Check size of int<br>-- Check size of int - done<br>-- Check size of long<br>-- Check size of long - done<br>-- Check size of void*<br>
-- Check size of void* - done<br>-- Check size of char<br>-- Check size of char - done<br>-- Check size of short<br>-- Check size of short - done<br>-- Check size of float<br>-- Check size of float - done<br>-- Check size of double<br>
-- Check size of double - done<br>-- Looking for include files CMAKE_HAVE_LIMITS_H<br>-- Looking for include files CMAKE_HAVE_LIMITS_H - found<br>-- Looking for include files CMAKE_HAVE_UNISTD_H<br>-- Looking for include files CMAKE_HAVE_UNISTD_H - found<br>
-- Looking for include files CMAKE_HAVE_PTHREAD_H<br>-- Looking for include files CMAKE_HAVE_PTHREAD_H - found<br>-- Looking for include files CMAKE_HAVE_SYS_PRCTL_H<br>-- Looking for include files CMAKE_HAVE_SYS_PRCTL_H - found<br>
-- Check if the system is big endian<br>-- Searching 16 bit integer<br>-- Check size of unsigned short<br>-- Check size of unsigned short - done<br>-- Using unsigned short<br>-- Check if the system is big endian - little endian<br>
-- Looking for pthread_create in pthreads<br>-- Looking for pthread_create in pthreads - not found<br>-- Looking for pthread_create in pthread<br>-- Looking for pthread_create in pthread - found<br>-- Found Threads: TRUE<br>
-- Looking for C++ include iostream<br>-- Looking for C++ include iostream - found<br>-- Check for STD namespace<br>-- Check for STD namespace - found<br>-- Check for ANSI scope<br>-- Check for ANSI scope - found<br>-- Check for sstream<br>
-- Check for sstream - found<br>-- Check size of long long<br>-- Check size of long long - done<br>-- Check size of __int64<br>-- Check size of __int64 - failed<br>-- Checking support for C++ type bool<br>-- Checking support for C++ type bool -- yes<br>
-- Checking signedness of char<br>-- Checking signedness of char -- signed<br>-- Looking for getsockname in socket<br>-- Looking for getsockname in socket - not found<br>-- Checking for getsockname with socklen_t<br>-- Checking for getsockname with socklen_t -- yes<br>
-- Looking for SO_REUSEADDR<br>-- Looking for SO_REUSEADDR - found<br>-- Checking support for full template specialization syntax<br>-- Checking support for full template specialization syntax -- yes<br>-- Checking support for C++ explicit template instantiation<br>
-- Checking support for C++ explicit template instantiation -- yes<br>-- CTest cannot determine repository type. Please set UPDATE_TYPE to &#39;cvs&#39; or &#39;svn&#39;. CTest update will not work.<br>-- Looking for C++ include iosfwd<br>
-- Looking for C++ include iosfwd - found<br>-- Looking for C++ include iostream.h<br>-- Looking for C++ include iostream.h - not found<br>-- Checking ANSI streams end-of-file bug level<br>-- Checking ANSI streams end-of-file bug level - 0<br>
-- Checking if ostream supports long long<br>-- Checking if ostream supports long long -- yes<br>-- Checking if istream supports long long<br>-- Checking if istream supports long long -- yes<br>-- Found PythonInterp: /usr/bin/python2.6<br>
-- Checking for Large File Support<br>-- Checking for Large File Support - yes<br>-- Checking whether STL classes are in std namespace<br>-- Checking whether STL classes are in std namespace - yes<br>-- Checking whether ANSI stream headers are available<br>
-- Checking whether ANSI stream headers are available - yes<br>-- Checking whether ANSI streams are in std namespace<br>-- Checking whether ANSI streams are in std namespace - yes<br>-- Checking whether ANSI string stream is available<br>
-- Checking whether ANSI string stream is available - yes<br>-- Checking whether header cstddef is available<br>-- Checking whether header cstddef is available - yes<br>-- Checking whether stl string has operator!= for char*<br>
-- Checking whether stl string has operator!= for char* - yes<br>-- Checking whether stl has iterator_traits<br>-- Checking whether stl has iterator_traits - yes<br>-- Checking whether stl has standard template allocator<br>
-- Checking whether stl has standard template allocator - yes<br>-- Checking for rebind member of stl allocator<br>-- Checking for rebind member of stl allocator - yes<br>-- Checking for non-standard argument to stl allocator&lt;&gt;::max_size<br>
-- Checking for non-standard argument to stl allocator&lt;&gt;::max_size - no<br>-- Checking whether stl containers support allocator objects.<br>-- Checking whether stl containers support allocator objects. - yes<br>-- Checking whether &quot;&lt;&gt;&quot; is needed for template friends<br>
-- Checking whether &quot;&lt;&gt;&quot; is needed for template friends - yes<br>-- Checking for member template support<br>-- Checking for member template support - yes<br>-- Checking for standard template specialization syntax<br>
-- Checking for standard template specialization syntax - yes<br>-- Checking whether argument dependent lookup is supported<br>-- Checking whether argument dependent lookup is supported - yes<br>-- Checking whether struct stat has st_mtim member<br>
-- Checking whether struct stat has st_mtim member - yes<br>-- Check size of char<br>-- Check size of char - done<br>-- Check size of short<br>-- Check size of short - done<br>-- Check size of int<br>-- Check size of int - done<br>
-- Check size of long<br>-- Check size of long - done<br>-- Check size of long long<br>-- Check size of long long - done<br>-- Check size of __int64<br>-- Check size of __int64 - failed<br>-- Checking whether char is signed<br>
-- Checking whether char is signed - yes<br>-- Checking whether C compiler has ptrdiff_t in stddef.h<br>-- Checking whether C compiler has ptrdiff_t in stddef.h - yes<br>-- Checking whether C compiler has ssize_t in unistd.h<br>
-- Checking whether C compiler has ssize_t in unistd.h - yes<br>-- Looking for include files HAVE_ASSERT_H<br>-- Looking for include files HAVE_ASSERT_H - found<br>-- Looking for include files HAVE_DLFCN_H<br>-- Looking for include files HAVE_DLFCN_H - found<br>
-- Looking for include files HAVE_FCNTL_H<br>-- Looking for include files HAVE_FCNTL_H - found<br>-- Looking for include files HAVE_INTTYPES_H<br>-- Looking for include files HAVE_INTTYPES_H - found<br>-- Looking for include files HAVE_LIMITS_H<br>
-- Looking for include files HAVE_LIMITS_H - found<br>-- Looking for include files HAVE_MALLOC_H<br>-- Looking for include files HAVE_MALLOC_H - found<br>-- Looking for include files HAVE_MEMORY_H<br>-- Looking for include files HAVE_MEMORY_H - found<br>
-- Looking for include files HAVE_STDLIB_H<br>-- Looking for include files HAVE_STDLIB_H - found<br>-- Looking for include files HAVE_STRING_H<br>-- Looking for include files HAVE_STRING_H - found<br>-- Looking for include files HAVE_STRINGS_H<br>
-- Looking for include files HAVE_STRINGS_H - found<br>-- Looking for include files HAVE_SYS_STAT_H<br>-- Looking for include files HAVE_SYS_STAT_H - found<br>-- Looking for include files HAVE_SYS_TIME_H<br>-- Looking for include files HAVE_SYS_TIME_H - found<br>
-- Looking for include files HAVE_UNISTD_H<br>-- Looking for include files HAVE_UNISTD_H - found<br>-- Looking for include files HAVE_WINDOWS_H<br>-- Looking for include files HAVE_WINDOWS_H - not found.<br>-- Looking for include files HAVE_IEEEFP_H<br>
-- Looking for include files HAVE_IEEEFP_H - not found.<br>-- Looking for floor<br>-- Looking for floor - not found<br>-- Looking for getopt<br>-- Looking for getopt - found<br>-- Looking for isascii<br>-- Looking for isascii - found<br>
-- Looking for memmove<br>-- Looking for memmove - found<br>-- Looking for memset<br>-- Looking for memset - found<br>-- Looking for mmap<br>-- Looking for mmap - found<br>-- Looking for pow<br>-- Looking for pow - not found<br>
-- Looking for sqrt<br>-- Looking for sqrt - not found<br>-- Looking for strcasecmp<br>-- Looking for strcasecmp - found<br>-- Looking for strchr<br>-- Looking for strchr - found<br>-- Looking for strrchr<br>-- Looking for strrchr - found<br>
-- Looking for strstr<br>-- Looking for strstr - found<br>-- Looking for strtol<br>-- Looking for strtol - found<br>-- Looking for areroul<br>-- Looking for areroul - not found<br>-- Check size of int<br>-- Check size of int - done<br>
-- Check size of long<br>-- Check size of long - done<br>-- Looking for dlopen in dl;<br>-- Looking for dlopen in dl; - found<br>-- Looking for shl_load in dld;dl<br>-- Looking for shl_load in dld;dl - not found<br>-- Looking for dlopen in dl;-lpthread;dl;m<br>
-- Looking for dlopen in dl;-lpthread;dl;m - found<br>-- Looking for include files HAVE_STDIO_H<br>-- Looking for include files HAVE_STDIO_H - found<br>-- Looking for include files HAVE_NETDB_H<br>-- Looking for include files HAVE_NETDB_H - found<br>
-- Looking for include files HAVE_SYS_SOCKET_H<br>-- Looking for include files HAVE_SYS_SOCKET_H - found<br>-- Looking for include files HAVE_NETINET_IN_H<br>-- Looking for include files HAVE_NETINET_IN_H - found<br>-- Looking for include files HAVE_SYS_SELECT_H<br>
-- Looking for include files HAVE_SYS_SELECT_H - found<br>-- Looking for include files HAVE_TIME_H<br>-- Looking for include files HAVE_TIME_H - found<br>-- Looking for include files HAVE_SIGNAL_H<br>-- Looking for include files HAVE_SIGNAL_H - found<br>
-- Looking for include files HAVE_ERRNO_H<br>-- Looking for include files HAVE_ERRNO_H - found<br>-- Looking for include files HAVE_ANSIDECL_H<br>-- Looking for include files HAVE_ANSIDECL_H - not found.<br>-- Looking for include files HAVE_ARPA_INET_H<br>
-- Looking for include files HAVE_ARPA_INET_H - found<br>-- Looking for include files HAVE_ARPA_NAMESER_H<br>-- Looking for include files HAVE_ARPA_NAMESER_H - found<br>-- Looking for include files HAVE_CTYPE_H<br>-- Looking for include files HAVE_CTYPE_H - found<br>
-- Looking for include files HAVE_DIRENT_H<br>-- Looking for include files HAVE_DIRENT_H - found<br>-- Looking for include files HAVE_DL_H<br>-- Looking for include files HAVE_DL_H - not found.<br>-- Looking for include files HAVE_FLOAT_H<br>
-- Looking for include files HAVE_FLOAT_H - found<br>-- Looking for include files HAVE_FP_CLASS_H<br>-- Looking for include files HAVE_FP_CLASS_H - not found.<br>-- Looking for include files HAVE_MATH_H<br>-- Looking for include files HAVE_MATH_H - found<br>
-- Looking for include files HAVE_NAN_H<br>-- Looking for include files HAVE_NAN_H - not found.<br>-- Looking for include files HAVE_NDIR_H<br>-- Looking for include files HAVE_NDIR_H - not found.<br>-- Looking for include files HAVE_PTHREAD_H<br>
-- Looking for include files HAVE_PTHREAD_H - found<br>-- Looking for include files HAVE_RESOLV_H<br>-- Looking for include files HAVE_RESOLV_H - found<br>-- Looking for include files HAVE_STDARG_H<br>-- Looking for include files HAVE_STDARG_H - found<br>
-- Looking for include files HAVE_SYS_MMAN_H<br>-- Looking for include files HAVE_SYS_MMAN_H - found<br>-- Looking for include files HAVE_SYS_TIMEB_H<br>-- Looking for include files HAVE_SYS_TIMEB_H - found<br>-- Looking for finite<br>
-- Looking for finite - found<br>-- Looking for fpclass<br>-- Looking for fpclass - not found.<br>-- Looking for fp_class<br>-- Looking for fp_class - not found.<br>-- Looking for fprintf<br>-- Looking for fprintf - found<br>
-- Looking for ftime<br>-- Looking for ftime - found<br>-- Looking for gettimeofday<br>-- Looking for gettimeofday - found<br>-- Looking for localtime<br>-- Looking for localtime - found<br>-- Looking for printf<br>-- Looking for printf - found<br>
-- Looking for sscanf<br>-- Looking for sscanf - found<br>-- Looking for sprintf<br>-- Looking for sprintf - found<br>-- Looking for snprintf<br>-- Looking for snprintf - found<br>-- Looking for signal<br>-- Looking for signal - found<br>
-- Looking for strdup<br>-- Looking for strdup - found<br>-- Looking for strndup<br>-- Looking for strndup - found<br>-- Looking for strerror<br>-- Looking for strerror - found<br>-- Looking for strftime<br>-- Looking for strftime - found<br>
-- Looking for stat<br>-- Looking for stat - found<br>-- Looking for _stat<br>-- Looking for _stat - not found.<br>-- Looking for vfprintf<br>-- Looking for vfprintf - found<br>-- Looking for vsnprintf<br>-- Looking for vsnprintf - found<br>
-- Looking for vsprintf<br>-- Looking for vsprintf - found<br>-- Checking for getaddrinfo.<br>-- Checking for getaddrinfo. - yes<br>-- Checking for socklen_t<br>-- Checking for socklen_t - yes<br>-- Checking for DIR in sys/dir.h<br>
-- Checking for DIR in sys/dir.h - yes<br>-- Checking for DIR in sys/ndir.h<br>-- Checking for DIR in sys/ndir.h - no<br>-- Checking for va_copy<br>-- Checking for va_copy - yes<br>-- Checking for __va_copy<br>-- Checking for __va_copy - yes<br>
-- Checking for ipv6 support.<br>-- Checking for ipv6 support. - yes<br>-- Looking for include files STDC_HEADERS<br>-- Looking for include files STDC_HEADERS - found<br>-- Looking for include files HAVE_ALLOCA_H<br>-- Looking for include files HAVE_ALLOCA_H - found<br>
-- Looking for alloca<br>-- Looking for alloca - found<br>-- Check size of size_t<br>-- Check size of size_t - done<br>-- Check size of ssize_t<br>-- Check size of ssize_t - done<br>-- Check size of ptrdiff_t<br>-- Check size of ptrdiff_t - done<br>
-- Check size of off_t<br>-- Check size of off_t - done<br>-- Check size of double<br>-- Check size of double - done<br>-- Check size of float<br>-- Check size of float - done<br>-- Check size of short<br>-- Check size of short - done<br>
-- Check size of uchar<br>-- Check size of uchar - failed<br>-- Performing NetCDF Test HAVE_ST_BLKSIZE<br>-- Performing NetCDF Test HAVE_ST_BLKSIZE - Success<br>-- Performing NetCDF Test HAVE_FTRUNCATE<br>-- Performing NetCDF Test HAVE_FTRUNCATE - Success<br>
-- Looking for malloc.h<br>-- Looking for malloc.h - found<br>-- Looking for glXGetProcAddressARB<br>-- Looking for glXGetProcAddressARB - found<br>-- Looking for glXGetProcAddressARB in GL/glx.h<br>-- Looking for glXGetProcAddressARB in GL/glx.h - TRUE<br>
-- Configuring done<br>-- Generating done<br>-- Build files have been written to: /blahblahblah<br><br><div class="gmail_quote">On Wed, Mar 25, 2009 at 11:55 AM, Mathieu Malaterre <span dir="ltr">&lt;<a href="mailto:mathieu.malaterre@gmail.com">mathieu.malaterre@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi paul,<br>
<br>
  Thanks for the bug report. I feel there is something else going on<br>
wrong. Did you start from a empty binary tree ? Did you change the<br>
compiler *after* the first cmake configure step ?<br>
  The test for VTK_[IO]STREAM_SUPPORTS_LONG_LONG is so obviously<br>
simple, that I do not see how in the world it would possibly fails.<br>
<br>
  Could you please try to reproduce the issue in a fresh (empty)<br>
binary directory. Simply configure VTK (no need to build). And grep<br>
for the value of VTK_ISTREAM_SUPPORTS_LONG_LONG in the generated<br>
CMakeCache.txt.<br>
<br>
Thanks for your help<br>
<div><div></div><div class="h5"><br>
<br>
On Wed, Mar 25, 2009 at 2:55 PM, Paul &lt;<a href="mailto:massivemonkeymayhem@gmail.com">massivemonkeymayhem@gmail.com</a>&gt; wrote:<br>
&gt; Oh yeah.<br>
&gt;<br>
&gt; The fix is to simply edit CMakeCache.txt and set<br>
&gt; VTK_ISTREAM_SUPPORTS_LONG_LONG=1 and VTK_OSTREAM_SUPPORTS_LONG_LONG=1 (when<br>
&gt; using VTK_USE_64BIT_IDS=True, which is default on 64bit systems).<br>
&gt;<br>
&gt; Paul<br>
&gt;<br>
&gt;<br>
&gt; On Wed, Mar 25, 2009 at 11:11 AM, Paul &lt;<a href="mailto:massivemonkeymayhem@gmail.com">massivemonkeymayhem@gmail.com</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Fixed the problem. Turns out it&#39;s an issue related to 64bit systems.<br>
&gt;&gt;<br>
&gt;&gt; In the CMake scripts, it is incorrectly determining that my system doesn&#39;t<br>
&gt;&gt; support &quot;long long&quot;&#39;s for istream/ostream. Despite this, it would still use<br>
&gt;&gt; long long&#39;s as vtkIdType. (This should generate a warning)<br>
&gt;&gt;<br>
&gt;&gt; Thus VTK would try to build without a compiler flag enabling long long<br>
&gt;&gt; support, thereby generating errors anywhere a vtkIdType (long long) is fed<br>
&gt;&gt; to istream/ostream.<br>
&gt;&gt;<br>
&gt;&gt; Paul<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Mon, Mar 23, 2009 at 11:45 AM, Paul &lt;<a href="mailto:massivemonkeymayhem@gmail.com">massivemonkeymayhem@gmail.com</a>&gt;<br>
&gt;&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Bleh. I&#39;m still having problems getting VTK to compile on my new machine.<br>
&gt;&gt;&gt; It&#39;s running on the new Intel Core i7, I&#39;m wondering if there might be a bug<br>
&gt;&gt;&gt; with it and gcc/libstdc++. I flattened my disk and installed the Ubuntu 9.04<br>
&gt;&gt;&gt; alpha - still no go. Is it definitely a problem with my build environment?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Paul<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Wed, Mar 18, 2009 at 3:08 PM, Paul &lt;<a href="mailto:massivemonkeymayhem@gmail.com">massivemonkeymayhem@gmail.com</a>&gt;<br>
&gt;&gt;&gt; wrote:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I haven&#39;t had any compile problems that I couldn&#39;t work out in the past,<br>
&gt;&gt;&gt;&gt; but I&#39;m a bit puzzled over this one.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Running fresh, updated Ubuntu 8.10 64bit, gcc version 4.3.2.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; /home/pd/Software/vtk-5.2.1/Common/vtkAbstractArray.cxx: In member<br>
&gt;&gt;&gt;&gt; function ‘virtual void vtkAbstractArray::PrintSelf(std::ostream&amp;,<br>
&gt;&gt;&gt;&gt; vtkIndent)’:<br>
&gt;&gt;&gt;&gt; /home/pd/Software/vtk-5.2.1/Common/vtkAbstractArray.cxx:251: error:<br>
&gt;&gt;&gt;&gt; ambiguous overload for ‘operator&lt;&lt;’ in ‘std::operator&lt;&lt; [with _Traits =<br>
&gt;&gt;&gt;&gt; std::char_traits&lt;char&gt;](((std::basic_ostream&lt;char, std::char_traits&lt;char&gt;<br>
&gt;&gt;&gt;&gt; &gt;&amp;)((std::ostream*)operator&lt;&lt;(((std::ostream&amp;)((std::ostream*)os)), ((const<br>
&gt;&gt;&gt;&gt; vtkIndent&amp;)((const vtkIndent*)(&amp; indent)))))), ((const char*)&quot;Size: &quot;)) &lt;&lt;<br>
&gt;&gt;&gt;&gt; ((vtkAbstractArray*)this)-&gt;vtkAbstractArray::Size’<br>
&gt;&gt;&gt;&gt; /usr/include/c++/4.3/ostream:112: note: candidates are:<br>
&gt;&gt;&gt;&gt; std::basic_ostream&lt;_CharT, _Traits&gt;&amp; std::basic_ostream&lt;_CharT,<br>
&gt;&gt;&gt;&gt; _Traits&gt;::operator&lt;&lt;(std::basic_ostream&lt;_CharT, _Traits&gt;&amp;<br>
&gt;&gt;&gt;&gt; (*)(std::basic_ostream&lt;_CharT, _Traits&gt;&amp;)) [with _CharT = char, _Traits =<br>
&gt;&gt;&gt;&gt; std::char_traits&lt;char&gt;] &lt;near match&gt;<br>
&gt;&gt;&gt;&gt; /usr/include/c++/4.3/ostream:121: note:<br>
&gt;&gt;&gt;&gt; std::basic_ostream&lt;_CharT, _Traits&gt;&amp; std::basic_ostream&lt;_CharT,<br>
&gt;&gt;&gt;&gt; _Traits&gt;::operator&lt;&lt;(std::basic_ios&lt;_CharT, _Traits&gt;&amp;<br>
&gt;&gt;&gt;&gt; (*)(std::basic_ios&lt;_CharT, _Traits&gt;&amp;)) [with _CharT = char, _Traits =<br>
&gt;&gt;&gt;&gt; std::char_traits&lt;char&gt;] &lt;near match&gt;<br>
&gt;&gt;&gt;&gt; ...<br>
&gt;&gt;&gt;&gt; etc<br>
&gt;&gt;&gt;&gt; ...<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I get the same error with VTK nightly (March 17 2009)<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Any suggestions?<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the VTK FAQ at:<br>
&gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
--<br>
<font color="#888888">Mathieu<br>
</font></blockquote></div><br>