[vtkusers] errors when intalling VTK-6.1.0

李菲菲 llz.leephi at 163.com
Sun Nov 9 20:58:57 EST 2014


Hi everyone:
    I've made a dir VTK-build in the same dir of VTK-6.1.0, and type the following orders:  
 
      ccmkae ../VTK-6.1.0
      make 
      make intall
 
   However, when execute the "make", I met the following errors:
      1 [  0%] Built target VTKData
      2 [  0%] Building CXX object Utilities/KWSys/vtksys/CMakeFiles/vtksys.dir/Directory.cxx.o
      3 In file included from /usr/lib/gcc/x86_64-kylin-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_pair.h:60,
      4                  from /usr/lib/gcc/x86_64-kylin-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_algobase.h:66,
      5                  from /usr/lib/gcc/x86_64-kylin-linux/4.4.7/../../../../include/c++/4.4.7/bits/char_traits.h:41,
      6                  from /usr/lib/gcc/x86_64-kylin-linux/4.4.7/../../../../include/c++/4.4.7/string:42,
      7                  from /vol-th/home/liff/local/VTK-build/Utilities/KWSys/vtksys/stl/string:36,
      8                  from /vol-th/home/liff/local/VTK-build/Utilities/KWSys/vtksys/Encoding.hxx:16,
      9                  from /vol-th/home/liff/local/VTK-6.1.0/Utilities/KWSys/vtksys/Directory.cxx:17:
     10 /usr/lib/gcc/x86_64-kylin-linux/4.4.7/../../../../include/c++/4.4.7/bits/move.h:88: error: ????ize_t????has not been declared
     11 /usr/lib/gcc/x86_64-kylin-linux/4.4.7/../../../../include/c++/4.4.7/bits/move.h: In function ????oid std::swap(_Tp (&)[_Nm], _Tp (&)[_Nm])????
     12 /usr/lib/gcc/x86_64-kylin-linux/4.4.7/../../../../include/c++/4.4.7/bits/move.h:92: error: ????ize_t????was not declared in this scope
     13 /usr/lib/gcc/x86_64-kylin-linux/4.4.7/../../../../include/c++/4.4.7/bits/move.h:92: error: expected ????????before ????_n??~Y
     14 /usr/lib/gcc/x86_64-kylin-linux/4.4.7/../../../../include/c++/4.4.7/bits/move.h:92: error: ????_n????was not declared in this scope
 
   Do you know how to solve the problem? I've been confursed for several day, and thank you very much for helping.
 
From Floria @ NSCC-TJ
 
 

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20141110/28d13f1f/attachment.html>


More information about the vtkusers mailing list