[Last Call] Learn how to a build a cloud-first strategyRegister Now


Mac OSX 10.4.6 C++ compile problems with the VTK library

Posted on 2006-05-12
Medium Priority
Last Modified: 2012-05-05
Hi there,

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,
                  from /usr/local/include/vtk-5.0/vtkIOStream.h:36,
                  from /usr/local/include/vtk-5.0/vtkSystemIncludes.h:40,
                  from /usr/local/include/vtk-5.0/vtkIndent.h:24,
                  from /usr/local/include/vtk-5.0/vtkObjectBase.h:43,
                  from /usr/local/include/vtk-5.0/vtkObject.h:41,
                  from /usr/local/include/vtk-5.0/vtkProperty.h:31,
                  from test.cpp:1:
 /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 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,
Question by:lost_bits1110
1 Comment
LVL 13

Accepted Solution

bglodde earned 200 total points
ID: 16670638
Try going into the XCode/styles settings and turn off zero link...then you will probably get a better idea of what's missing.

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
If you are a mobile app developer and especially develop hybrid mobile apps then these 4 mistakes you must avoid for hybrid app development to be the more genuine app developer.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
Introduction to Processes

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question