Linux Compilation Error in vtkPLYReader.cxx
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
I have been unable to compile VTK under RedHat linux ver 9.0 using the gcc 3.4.0 compiler. I keep getting the following errors:
Building object file vtkPLYReader.o... /opt/local/home/dwelter/src_local_share2_new/VTK/IO/vtkPLYReader.cxx: In member function `virtual void vtkPLYReader::Execute()': /opt/local/home/dwelter/src_local_share2_new/VTK/IO/vtkPLYReader.cxx:72: error: an array reference cannot appear in a constant-expression /opt/local/home/dwelter/src_local_share2_new/VTK/IO/vtkPLYReader.cxx:74: error: an array reference cannot appear in a constant-expression /opt/local/home/dwelter/src_local_share2_new/VTK/IO/vtkPLYReader.cxx:76: error: an array reference cannot appear in a constant-expression make[3]: *** [vtkPLYReader.o] Error 1 make[2]: *** [default_target] Error 2 make[1]: *** [default_target_IO] Error 2 make: *** [default_target] Error 2
Thanks for your help, Dave