Mac OSX 10.4.6 C++ compile problems with the VTK library
Posted on 2006-05-12
am trying to get the VTK (visualization toolkit) library running on my Mac OSX 10.4.6,
I'm currently getting the following errors:
mie-13-4:~ siddarthakrishnan$ g++ test.cpp -I/usr/local/include/vtk-5.0
In file included from /usr/include/c++/4.0.0/backward/strstream:51,
/usr/include/c++/4.0.0/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 220.127.116.11 of the C++ standard.
Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the
deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
/usr/bin/ld: Undefined symbols:
vtkProperty::SetColor(double, double, double)
collect2: ld returned 1 exit status
and then in Xcode I get the following error:
Session started at 2006-05-12 14:06:37 -0400.]
ZeroLink: unknown symbol '__ZN15vtkSphereSource3NewEv'
VTKTEST has exited due to signal 6 (SIGABRT).
What do these errors mean? Those functions that are 'undefined symbols' are standard functions, what do you think this is an indication of? Before I was getting errors that it could not find the include files, but now this seems to be resolved; but now I get this!
Please help, I'm new to MacOSX
Thank you kindly,