[vtkusers] IRIX compilation errors cont'd

Joshua A Foster jafoster at uncc.edu
Mon Feb 9 13:41:35 EST 2004


Thanks for all the suggestions... I turned off VTK_USE_ANSI_STDLIB,
added -LANG:std and -n32 as CXX flags.  Now the build gets a little
farther, but won't compile vtkInteractorStyleUnicam:

---------------------------------------------------------------

/var/tmp/VTK/build/Rendering> make VERBOSE=1
         make  cmake.depends
`cmake.depends' is up to date.
         make  cmake.check_depends
`cmake.check_depends' is up to date.
         make  -f cmake.check_depends
`cmake.depends' is up to date.
         make  all
Building object file vtkInteractorStyleUnicam.o...
         CC -o vtkInteractorStyleUnicam.o -IvtkRendering_EXPORTS
-LANG:std -n32    -I/var/tmp/VTK/Rendering -I/var/tmp/VTK/build
-I/var/tmp/VTK/Parallel -I/var/tmp/VTK/Hybrid -I/var/tmp/VTK/Patented
-I/var/tmp/VTK/Rendering -I/var/tmp/VTK/IO -I/var/tmp/VTK/Imaging
-I/var/tmp/VTK/Graphics -I/var/tmp/VTK/Filtering -I/var/tmp/VTK/Common
-I/var/tmp/VTK/Common/Testing/Cxx -I/var/tmp/VTK/build/Utilities/zlib
-I/var/tmp/VTK/Utilities/zlib -I/var/tmp/VTK/build/Utilities/jpeg
-I/var/tmp/VTK/Utilities/jpeg -I/var/tmp/VTK/build/Utilities/png
-I/var/tmp/VTK/Utilities/png -I/var/tmp/VTK/build/Utilities/tiff
-I/var/tmp/VTK/Utilities/tiff -I/var/tmp/VTK/build/Utilities/expat
-I/var/tmp/VTK/Utilities/expat
-I/var/tmp/VTK/build/Utilities/DICOMParser
-I/var/tmp/VTK/Utilities/DICOMParser
-I/var/tmp/VTK/Utilities/freetype/include
-I/var/tmp/VTK/build/Utilities/freetype
-I/var/tmp/VTK/Utilities/ftgl/src -I/var/tmp/VTK/build/Utilities/ftgl
-I/afs/uncc/cs/irix/apps/languages/tcltk-8.3/include
-I/var/tmp/VTK/build/Rendering    -c
/var/tmp/VTK/Rendering/vtkInteractorStyleUnicam.cxx
cc-1132 CC: ERROR File = /usr/include/sys/types.h, Line = 535
   The namespace "std" has no member "time_t".

   __SGI_LIBC_USING_FROM_STD(time_t)
   ^

cc-1132 CC: ERROR File = /usr/include/sys/types.h, Line = 536
   The namespace "std" has no member "clock_t".

   __SGI_LIBC_USING_FROM_STD(clock_t)
   ^

cc-1132 CC: ERROR File = /usr/include/internal/time_core.h, Line = 221
   The namespace "std" has no member "time_t".

   extern int cftime(char *, char *, const
__SGI_LIBC_NAMESPACE_QUALIFIER time_t *);

  ^

cc-1132 CC: ERROR File = /usr/include/internal/time_core.h, Line = 231
   The namespace "std" has no member "time_t".

   extern char *ctime_r(const __SGI_LIBC_NAMESPACE_QUALIFIER time_t *,
char *);
                                                             ^

cc-1132 CC: ERROR File = /usr/include/internal/time_core.h, Line = 232
   The namespace "std" has no member "time_t".

   extern struct tm *gmtime_r(const __SGI_LIBC_NAMESPACE_QUALIFIER
time_t *,
                                                                   ^

cc-1132 CC: ERROR File = /usr/include/internal/time_core.h, Line = 234
   The namespace "std" has no member "time_t".

   extern struct tm *localtime_r(const __SGI_LIBC_NAMESPACE_QUALIFIER
time_t *,
                                                                      ^

cc-1132 CC: ERROR File = /usr/include/time.h, Line = 7
   The namespace "std" has no member "clock_t".

   __SGI_LIBC_USING_FROM_STD(clock_t)
   ^

cc-1132 CC: ERROR File = /usr/include/time.h, Line = 8
   The namespace "std" has no member "time_t".

   __SGI_LIBC_USING_FROM_STD(time_t)
   ^

8 errors detected in the compilation of
"/var/tmp/VTK/Rendering/vtkInteractorStyleUnicam.cxx".
*** Error code 2 (bu21)
*** Error code 1 (bu21)

-----------------------------------------------------------------

I would be grateful for any suggestions.

  - Joshua Foster




More information about the vtkusers mailing list