Installation problem on SGI
John Shalf
jshalf at ncsa.uiuc.edu
Fri Sep 17 12:08:08 EDT 1999
You'll need to edit your VTK system.make. Where it says "USER_CFLAGS"
and "USER_CXXFLAGS", you need to add the -n32 flag to tell the compiler
to build n32 objects rather than the default o32. If you have an R10k
processor in your O2, you should also add the -mips4 flag to take
advantage of the R10k's instruction set.
Then you need to
rm -f */*.a */*.o
and rebuild your vtk
make
-john
Tian-Qing Ye wrote:
>
> Dear vtkusers
>
> Today I have installed the tcl/tk 8.0.5 version.
> After that I tried to recompile the vtk2.4 on my
> SGI(IRIX6.3), configured with -tcl and -tkwidget,
> but I got the following error:
>
> ... ...
>
> CC -o vtk tkAppInit.o \
> -L. -g -DHAVE_SETMON -DVTK_WORDS_BIGENDIAN -DVTK_USE_SPROC
> -D_HP_NO_FAST_MACROS -DHAVE_LIMITS_H -DHAVE_UNISTD_H -I. -I./../common
> -I/usr/people/tqye/tk8.0.5/generic -I/usr/people/tqye/tcl8.0.5/generic
> -DVTK_USE_OGLR -I./../graphics -DVTK_USE_GRAPHICS -I./../imaging
> -DVTK_USE_IMAGING
> -L/usr/people/tqye/vtk2.4/imaging -lVTKImagingTcl -lVTKImaging
> -L/usr/people/tqye/vtk2.4/graphics -lVTKGraphicsTcl -lVTKGraphics
> -L../common -lVTKCommonTcl -lVTKCommon -lGL
> /usr/people/tqye/tk8.0.5/unix/libtk8.0.a
> /usr/people/tqye/tcl8.0.5/unix/libtcl8.0.a \
> -lXext -lXt -lSM -lICE -lX11 -lm
> ld: FATAL 12: Expecting o32 objects:
> /usr/people/tqye/tk8.0.5/unix/libtk8.0.a(tkWindow.o) is n32.
>
> Why it expects o32 objects? How can I solve this problem?
>
> Any help highly appreciated!
>
> Regards
>
> Tian
>
> -----------------------------------------------------------------------------
> This is the private VTK discussion list. Please keep messages on-topic.
> Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
> To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
> <majordomo at gsao.med.ge.com>. For help, send message body containing
> "info vtkusers" to the same address. Live long and prosper.
> -----------------------------------------------------------------------------
-----------------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>. For help, send message body containing
"info vtkusers" to the same address. Live long and prosper.
-----------------------------------------------------------------------------
More information about the vtkusers
mailing list