[vtkusers] Problem building VTK executable

Tam Tran ttam at miltie.math.uno.edu
Fri Oct 18 17:12:53 EDT 2002


Hi everybody,

   This is the first time I use VTK. I want to install VTK 4.0 locally on my Sun 
Blade 100 workstation. The OS is Sun Solaris 5.8 (or SunOS 2.8). I was able to 
compile everything, except when it gets to the part where VTK executable is 
being built, and I got the following error:
  
/vtk/VTK/Wrapping/Tcl: building default_target
/cmake/bin/cmake -S/vtk/VTK/Wrapping/Tcl -O/vtk/VTK/Wrapping/Tcl -H/vtk/VTK 
-B/vtk/VTK
`cmake.check_depends' is up to date.
`cmake.depends' is up to date.

/usr/local/bin/c++  -I/vtk/VTK/Wrapping/Tcl -I/vtk/VTK/Rendering -I/vtk/VTK 
-I/vtk/VTK/Common -I/vtk/VTK/Filtering -I/vtk/VTK/Imaging -I/vtk/VTK/Graphics 
-I/vtk/VTK/IO -I/vtk/VTK/Utilities/zlib -I/vtk/VTK/Utilities/png 
-I/vtk/VTK/Utilities/jpeg -I/vtk/VTK/Common/Testing/Cxx 
-I/usr/openwin/share/include    -I/usr/openwin/include -c 
/vtk/VTK/Wrapping/Tcl/tkAppInit.cxx -o tkAppInit.o

/usr/local/bin/c++   tkAppInit.o -L/vtk/VTK/bin -lpthread -ldl -lm -lvtkpng 
-lvtkzlib -lvtkjpeg -lvtkImagingTCL -lvtkGraphicsTCL -lvtkIOTCL 
-lvtkFilteringTCL -lvtkCommonTCL -lvtkIO -lvtkGraphics -lvtkImaging 
-lvtkFiltering -lvtkCommon -ltcl8.4 -lGL -ltk8.4 -lXt  -lSM -lICE  
-L/usr/openwin/lib -R/usr/openwin/lib -lX11 -lXext -lsocket  -lnsl 
-lvtkRenderingTCL -lvtkRendering -lvtkpng -lvtkzlib -lvtkjpeg -lvtkImagingTCL 
-lvtkGraphicsTCL -lvtkFilteringTCL -lvtkCommonTCL -ltk8.4 -ltcl8.4 -lvtkImaging 
-lvtkGraphics -lvtkFiltering -lvtkCommon -lGL -lpthread -lm -ldl -lXt  -lSM 
-lICE  -L/usr/openwin/lib -R/usr/openwin/lib -lX11 -lXext -lsocket  -lnsl 
-Wl,-R,/vtk/VTK/bin  -o /vtk/VTK/bin/vtk

/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/libgcc.a: could not read 
symbols: Bad value
collect2: ld returned 1 exit status
*** Error code 1

Does anyone know what went wrong? I am all ears!

Thank you in advance.

Tam 




More information about the vtkusers mailing list