[vtkusers] OS X 10.3 and VTK Application Build
rus1 at duke.edu
Sat Jan 1 16:41:48 EST 2005
I am a VTK (and sci vis) newbie, and I am trying to run some of the
example code from the VTK 4.4 distribution to learn the libraries. I
have successfully installed CMake and VTK. Thus far, I am able to
build and run the simple Cone.cxx example successfully. I was also
able to run the Cone example as an Objective-C++ application (Cone.mm).
However, my initial success was from the commmand line, and eventually
I would like to program the application that I am working on in
Objective-C++ using Cocoa in XCode. As a result, I tried to build and
run the Cone example in Xcode, but I have had no success thus far.
Specifically, I am getting the following output when I build and run:
Native Build of Target "Learning"
Cone.mm normal ppc objective-c++ com.apple.compilers.gcc.3_3
/usr/bin/gcc-3.3 -x objective-c++ -arch ppc -pipe -Wno-trigraphs
-fasm-blocks -fpascal-strings -g -O0 -mtune=G4 -Wno-four-char-constants
-Wmost -Wno-four-char-constants -Wno-unknown-pragmas -O0
-framework OpenGL -lvtkRendering -lvtkGraphics -lvtkImaging
-lvtkFiltering -lvtkCommon -arch ppc
libvtkCommon.a(vtkMultiThreader.o) illegal reference to symbol:
_MPProcessors defined in indirectly referenced dynamic library
In XCode I have added the OpenGL framework and imported all of the VTK
Header files (961 in total, correct?). Any help that you can provide
would be immensely appreciated, and I will be sure to contribute my
lessons learned back to the community.
Rhazes Spell, Ph.D.
Post-Doctoral Research Associate
Center for Computational Science Engineering and Medicine
Visualization Technology Group
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 3508 bytes
Desc: not available
More information about the vtkusers