[vtkusers] IRIX compilation error
William A. Hoffman
billlist at nycap.rr.com
Fri Feb 6 09:09:14 EST 2004
Try starting with a clean build, then set CXXFLAGS to "-LANG:std".
I think it should work then. It looks like that is required for
the DICOM stuff to build.
-Bill
At 08:17 PM 2/5/2004, Joshua A Foster wrote:
>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
>_______________________________________________
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://www.vtk.org/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list