[vtkusers] problems compiling VTK 4.2.2 on Solaris 2.6
    Ellen Shlossberg 
    Ellen.Shlossberg at tufts.edu
       
    Thu Jul 31 11:59:22 EDT 2003
    
    
  
Hello, I am Ellen Shlossberg, currently an intern at the Brigham and   
   Women's Hospital and 3rd year student at Tufts University. I work in the   
   Radiology department with Dr. Georges El Fakhri, and assist in his research
 in Nuclear Medicine, focusing on MRI and SPECT imaging.
 I am running on Solaris 2.6, with a version of precompiled binaries for cmake.
I also attempted to use gcc and g++ version 2.8.1 to compile.   
 While trying to build VTK (I ran cmake and then typed "make"), I ran across
 this error:
   
 Building object file vtkDataArraySelection.o...
/net/monte/export/files/m03/GEF/VTK/VTK-4.2.2/Common/vtkDataArraySelection.cxx:36:
   parse error before `{'
/net/monte/export/files/m03/GEF/VTK/VTK-4.2.2/Common/vtkDataArraySelection.cxx:37:
   parse error before `{'
 
/net/monte/export/files/m03/GEF/VTK/VTK-4.2.2/Common/vtkDataArraySelection.cxx:
   In method `vtkDataArraySelection::vtkDataArraySelection()':
/net/monte/export/files/m03/GEF/VTK/VTK-4.2.2/Common/vtkDataArraySelection.cxx:42:
   invalid use of undefined type `class vtkDataArraySelectionArrayNamesType'
/net/monte/export/files/m03/GEF/VTK/VTK-4.2.2/Common/vtkDataArraySelection.cxx:50:
   invalid use of undefined type `class vtkDataArraySelectionArrayNamesType'
 /net/monte/export/files/m03/GEF/VTK/VTK-4.2.2/Common/vtkDataArraySelection.cxx:
   In method `void vtkDataArraySelection::EnableArray(const char *)':
/net/monte/export/files/m03/GEF/VTK/VTK-4.2.2/Common/vtkDataArraySelection.cxx:64:
   no matching function for call to `vtkDataArraySelectionArrayNamesType::begin
  ()'
 *long list of "no matching function for call to" error messages *
   *** Error code 1
   The following command caused the error:
   c++ -o vtkDataArraySelection.o    -I/usr/openwin/share/include
   -I/net/monte/export/files/m03/GEF/VTK/VTK-4.2.2/Common
   -I/net/monte/export/files/m03/GEF/VTK/VTK-4.2.2
   -I/net/monte/export/files/m03/GEF/VTK/VTK-4.2.2/Rendering
   -I/net/monte/export/files/m03/GEF/VTK/VTK-4.2.2/IO
   -I/net/monte/export/files/m03/GEF/VTK/VTK-4.2.2/Imaging
   -I/net/monte/export/files/m03/GEF/VTK/VTK-4.2.2/Graphics
   -I/net/monte/export/files/m03/GEF/VTK/VTK-4.2.2/Filtering
   -I/net/monte/export/files/m03/GEF/VTK/VTK-4.2.2/Common
   -I/net/monte/export/files/m03/GEF/VTK/VTK-4.2.2/Common/Testing/Cxx
   -I/net/monte/export/files/m03/GEF/VTK/VTK-4.2.2/Utilities/zlib
   -I/net/monte/export/files/m03/GEF/VTK/VTK-4.2.2/Utilities/jpeg
   -I/net/monte/export/files/m03/GEF/VTK/VTK-4.2.2/Utilities/png
   -I/net/monte/export/files/m03/GEF/VTK/VTK-4.2.2/Utilities/tiff
   -I/net/monte/export/files/m03/GEF/VTK/VTK-4.2.2/Utilities/expat
   -I/net/monte/export/files/m03/GEF/VTK/VTK-4.2.2/Utilities/freetype/include
   -I/net/monte/export/files/m03/GEF/VTK/VTK-4.2.2/Utilities/freetype
   -I/net/monte/export/files/m03/GEF/VTK/VTK-4.2.2/Utilities/ftgl/src
   -I/net/monte/export/files/m03/GEF/VTK/VTK-4.2.2/Utilities/ftgl  -c
  
/net/monte/export/files/m03/GEF/VTK/VTK-4.2.2/Common/vtkDataArraySelection.cxx
   make: Fatal error: Command failed for target `vtkDataArraySelection.o'
   Current working directory
/net/monte/export/files/m03/GEF/VTK/VTK-4.2.2/Common
   *** Error code 1
   The following command caused the error:
   make  all
   make: Fatal error: Command failed for target `default_target'
   Current working directory
/net/monte/export/files/m03/GEF/VTK/VTK-4.2.2/Common
   *** Error code 1
   The following command caused the error:
   cd /net/monte/export/files/m03/GEF/VTK/VTK-4.2.2/Common; make default_target
   make: Fatal error: Command failed for target `default_target_Common'
   Current working directory /net/monte/export/files/m03/GEF/VTK/VTK-4.2.2
   *** Error code 1
   The following command caused the error:
   make  all
   make: Fatal error: Command failed for target `default_target'
  I am not sure what else to do.I am new to Unix and VTK, so any help would be
 appreciated.
   Thank you,
   Ellen Shlossberg
    
    
More information about the vtkusers
mailing list