[vtkusers] Problem with building VTK-4.2.2 on SunOS
Haiwen Shi
shihw77 at yahoo.com
Fri May 9 12:39:06 EDT 2003
Hi, All;
I have some problems for building VTK-4.2.2, which I
download from vtk.com. My computer is a Sun
workstation. The operating system is SunOS 5.8.
When I built VTK-4.2.2 by using ccmake, I got a lot of
similar warning messages like this:
Building object file vtkPointWidget.o...
In file included from
/usr/local/include/c++/3.2.1/backward/strstream:51,
from
/export/home/maui_user/harry/vtk/VTK-4.2.2/Common/vtkIOStream.h:31,
from
/export/home/maui_user/harry/vtk/VTK-4.2.2/Common/vtkSystemIncludes.h:49,
from
/export/home/maui_user/harry/vtk/VTK-4.2.2/Common/vtkIndent.h:27,
from
/export/home/maui_user/harry/vtk/VTK-4.2.2/Common/vtkObjectBase.h:46,
from
/export/home/maui_user/harry/vtk/VTK-4.2.2/Common/vtkObject.h:44,
from
/export/home/maui_user/harry/vtk/VTK-4.2.2/Rendering/vtkInteractorObserver.h:4
7,
from
/export/home/maui_user/harry/vtk/VTK-4.2.2/Hybrid/vtk3DWidget.h:59,
from
/export/home/maui_user/harry/vtk/VTK-4.2.2/Hybrid/vtkPointWidget.h:70,
from
/export/home/maui_user/harry/vtk/VTK-4.2.2/Hybrid/vtkPointWidget.cxx:18:
/usr/local/include/c++/3.2.1/backward/backward_warning.h:32:2:
warning: #warning This file includes
at least one deprecated or antiquated header. Please
consider using one of the 32 headers found in s
ection 17.4.1.2 of the C++ standard. Examples include
substituting the <X> header for the <X.h> head
er for C++ includes, or <sstream> instead of the
deprecated header <strstream.h>. To disable this wa
rning use -Wno-deprecated.
Since no error occurred except for these warning
messages when I built the VTK, I assumed the building
process was successful. However, when I tried to run
the Cone.cxx program, I got the following warning and
error messages:
Building dependencies. cmake.depends...
-- Compiling VTK loaded commands
-- Compiling VTK loaded commands - done
Building object file Cone.o...
In file included from
/usr/local/include/c++/3.2.1/backward/strstream:51,
from
/export/home/maui_user/harry/vtk/VTK-4.2.2/Common/vtkIOStream.h:31,
from
/export/home/maui_user/harry/vtk/VTK-4.2.2/Common/vtkSystemIncludes.h:49,
from
/export/home/maui_user/harry/vtk/VTK-4.2.2/Common/vtkIndent.h:27,
from
/export/home/maui_user/harry/vtk/VTK-4.2.2/Common/vtkObjectBase.h:46,
from
/export/home/maui_user/harry/vtk/VTK-4.2.2/Common/vtkObject.h:44,
from
/export/home/maui_user/harry/vtk/VTK-4.2.2/Common/vtkProcessObject.h:52,
from
/export/home/maui_user/harry/vtk/VTK-4.2.2/Common/vtkSource.h:48,
from
/export/home/maui_user/harry/vtk/VTK-4.2.2/Filtering/vtkPolyDataSource.h:32,
from
/export/home/maui_user/harry/vtk/VTK-4.2.2/Graphics/vtkConeSource.h:33,
from
/export/home/maui_user/harry/vtk/vtkfiles/Step1/Cxx/Cone.cxx:26:
/usr/local/include/c++/3.2.1/backward/backward_warning.h:32:2:
warning: #warning This file includes at least one
deprecated or antiquated header. Please consider using
one of the 32 headers found in section 17.4.1.2 of the
C++ standard. Examples include substituting the <X>
header for the <X.h> header for C++ includes, or
<sstream> instead of the deprecated header
<strstream.h>. To disable this warning use
-Wno-deprecated.
Building executable Cone...
Undefined first referenced
symbol in file
sunOglCurrentContext
/export/home/maui_user/harry/vtk/VTK-4.2.2bin/bin/libvtkRendering.so
sunOglCurPrimTablePtr
/export/home/maui_user/harry/vtk/VTK-4.2.2bin/bin/libvtkRendering.so
ld: fatal: Symbol referencing errors. No output
written to Cone
collect2: ld returned 1 exit status
make[1]: *** [Cone] Error 1
make: *** [default_target] Error 2
Could anyone tell me what wrong with the VTK building
is? I will really appreciate your help.
Haiwen Shi
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
More information about the vtkusers
mailing list