[vtkusers] IRIX compilation error

Joshua A Foster jafoster at uncc.edu
Thu Feb 5 20:17:32 EST 2004


Compiling on IRIX 6.5.20 with MIPSpro version 7.4 compilers I get the 
following errors:

=========================================

/var/tmp/VTK/build> make
Building dependencies. cmake.depends...
-- Check for working C compiler: cc -- works
-- Check for working CXX compiler: CC -- works
-- Checking to see if CXX compiler acepts flag -LANG:std
-- Checking to see if CXX compiler acepts flag -LANG:std - yes
-- Compiling VTK CMake commands
-- Compiling VTK CMake commands - done
-- Loading VTK CMake commands
-- Loading VTK CMake commands - done
-- Using Buildname: IRIX64-CC
-- Configuring done
-- Generating done
-- Checking to see if CXX compiler acepts flag -LANG:std
-- Checking to see if CXX compiler acepts flag -LANG:std - yes
-- Loading VTK CMake commands
-- Loading VTK CMake commands - done
-- Using Buildname: IRIX64-CC
`cmake.check_depends' is up to date.
cmake.depends is up-to-date
/var/tmp/VTK/build/Wrapping: building default_target
Building dependencies. cmake.depends...

<snip>

/var/tmp/VTK/build/Utilities/DICOMParser: building default_target
`cmake.depends' is up to date.
`cmake.check_depends' is up to date.
cmake.depends is up-to-date
Building object file DICOMFile.o...
"/usr/include/CC/new", line 74: error(3181): array of functions is not 
allowed
  void *operator new[](size_t) __NEW_THROW_BAD_ALLOC;
                       ^

"/usr/include/CC/new", line 74: error(3596): an operator name must be 
declared
          as a function
  void *operator new[](size_t) __NEW_THROW_BAD_ALLOC;
        ^

"/usr/include/CC/iostream", line 18: error(4007): #error directive: This
          header file requires the -LANG:std option

  #error This header file requires the -LANG:std option
   ^

2 errors and 1 catastrophic error detected in the compilation of 
"/var/tmp/VTK/Utilities/DICOMParser/DICOMFile.cxx".
Compilation terminated.
*** Error code 1 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)

=======================================

Can anybody help?

Thanks,
  Joshua Foster



More information about the vtkusers mailing list