[vtkusers] IRIX compilation error

Luke J West ljw at soc.soton.ac.uk
Fri Feb 6 04:40:07 EST 2004


Hi Joshua,

I've not tried it in default 32 bit mode, but I can't see that issue producing
your errors anyway.

Myself, I'm compiling VTK-4.2 on IRIX64 6.5.19 with MIPSpro 7.41 and it's
working fine... ish... I can't get the wrapping to work.. oh, what the hey, I'll
send my own post

good luck,

luke


Quoting Joshua A Foster <jafoster at uncc.edu>:

> 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
> 


Luke J West : Research Assistant : e-Science
--------------------------------------------
Rm. 566/12, School of Ocean & Earth Sciences
Southampton Oceanography Centre, Southampton
SO14 3ZH  United Kingdom
--------------------------------------------
Tel: +44 23 8059 4801  Fax: +44 23 8059 3052
Mob: +44 79 6107 4783




More information about the vtkusers mailing list