[vtkusers] Cocoa VTK on Mac OS X 10.5
Dan Wilson
danjwilson at gmail.com
Wed Oct 31 18:30:27 EDT 2007
Hi,
I'm trying to build the SimpleCocoaVTK example project from http://www.vtk.org/Wiki/Cocoa_VTK
using Mac OS X 10.5 (Leopard), without success.
While the VTK build itself appears to work correctly, the Xcode build
of SimpleCocoaVTK fails during the linking stage with the errors below.
I'm using an Intel Mac, and up-to-date source from the VTK CVS server.
The relevant parts of CMakeCache.txt are:
CMAKE_OSX_ARCHITECTURES:STRING=i386
CMAKE_OSX_SYSROOT:STRING=/Developer/SDKs/MacOSX10.4u.sdk
VTK_USE_CARBON:BOOL=OFF
VTK_USE_COCOA:BOOL=ON
Has anyone else had any luck getting VTK to work on Leopard?
Thanks,
Dan Wilson.
"___cxa_guard_abort", referenced from:
vtkTimeStamp::Modified() in libvtkCommon.a(vtkTimeStamp.o)
"___stderrp", referenced from:
___stderrp$non_lazy_ptr in libvtksys.a(SystemTools.o)
___stderrp$non_lazy_ptr in libvtktiff.a(tif_unix.o)
___stderrp$non_lazy_ptr in libvtkjpeg.a(jerror.o)
___stderrp$non_lazy_ptr in libvtkpng.a(pngrutil.o)
___stderrp$non_lazy_ptr in libvtkpng.a(pngerror.o)
"_strerror$UNIX2003", referenced from:
vtksys::SystemTools::GetLastSystemError() in
libvtksys.a(SystemTools.o)
vtkErrorCode::GetStringFromErrorCode(unsigned long)in
libvtkCommon.a(vtkErrorCode.o)
"_sysconf", referenced from:
vtkMultiThreader::GetGlobalDefaultNumberOfThreads() in
libvtkCommon.a(vtkMultiThreader.o)
"std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*,
std::_Rb_tree_node_base&)", referenced from:
std::_Rb_tree<int, std::pair<int const, vtkTimerStruct>,
std::_Select1st<std::pair<int const, vtkTimerStruct> >,
std::less<int>, std::allocator<std::pair<int const, vtkTimerStruct> >
>::erase(std::_Rb_tree_iterator<std::pair<int const, vtkTimerStruct>
>)in libvtkRendering.a(vtkRenderWindowInteractor.o)
std::_Rb_tree<vtkStdString, std::pair<vtkStdString const,
vtkSmartPointer<vtkTexture> >, std::_Select1st<std::pair<vtkStdString
const, vtkSmartPointer<vtkTexture> > >, std::less<vtkStdString>,
std::allocator<std::pair<vtkStdString const,
vtkSmartPointer<vtkTexture> > >
>::erase(std::_Rb_tree_iterator<std::pair<vtkStdString const,
vtkSmartPointer<vtkTexture> > >)in libvtkRendering.a(vtkProperty.o)
std::_Rb_tree<vtkInteractorObserver*,
std::pair<vtkInteractorObserver* const, int>,
std::_Select1st<std::pair<vtkInteractorObserver* const, int> >,
vtkObserverCompare, std::allocator<std::pair<vtkInteractorObserver*
const, int> >
>::erase(std::_Rb_tree_iterator<std::pair<vtkInteractorObserver*
const, int> >)in libvtkRendering.a(vtkObserverMediator.o)
std::_Rb_tree<vtkGarbageCollectorImpl::ComponentType*,
vtkGarbageCollectorImpl::ComponentType*,
std::_Identity<vtkGarbageCollectorImpl::ComponentType*>,
std::less<vtkGarbageCollectorImpl::ComponentType*>,
std::allocator<vtkGarbageCollectorImpl::ComponentType*>
>
::erase
(std::_Rb_tree_iterator<vtkGarbageCollectorImpl::ComponentType*>)in
libvtkCommon.a(vtkGarbageCollector.o)
std::_Rb_tree<vtkObjectBase*, std::pair<vtkObjectBase* const,
int>, std::_Select1st<std::pair<vtkObjectBase* const, int> >,
std::less<vtkObjectBase*>, std::allocator<std::pair<vtkObjectBase*
const, int> > >::erase(std::_Rb_tree_iterator<std::pair<vtkObjectBase*
const, int> >)in libvtkCommon.a(vtkGarbageCollector.o)
"std::basic_stringstream<char, std::char_traits<char>,
std::allocator<char> >::str() const", referenced from:
void vtkXMLDataElementVectorAttributeSet<unsigned
long>(vtkXMLDataElement*, char const*, int, unsigned long const*)in
libvtkIO.a(vtkXMLDataElement.o)
void vtkXMLDataElementVectorAttributeSet<int>(vtkXMLDataElement*,
char const*, int, int const*)in libvtkIO.a(vtkXMLDataElement.o)
void
vtkXMLDataElementVectorAttributeSet<float>(vtkXMLDataElement*, char
const*, int, float const*)in libvtkIO.a(vtkXMLDataElement.o)
void
vtkXMLDataElementVectorAttributeSet<double>(vtkXMLDataElement*, char
const*, int, double const*)in libvtkIO.a(vtkXMLDataElement.o)
"std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::replace(unsigned long, unsigned long, char const*)", referenced
from:
vtksys::SystemTools::ConvertToUnixSlashes(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >&)in
libvtksys.a(SystemTools.o)
vtksys::SystemTools::ConvertToUnixSlashes(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >&)in
libvtksys.a(SystemTools.o)
... and so on.
More information about the vtkusers
mailing list