<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi<br>I have managed to successfully compile and install VTK 5.10 on my Mac (Lion 10.7.4) according to the instructions at <a href="http://www.vtk.org/Wiki/Cocoa_VTK">http://www.vtk.org/Wiki/Cocoa_VTK</a> without any issues and I can successfully execute a random selection of the example applications. However, when I try to compile any application in XCode (4.3.3), I get a series of compile time errors. For example, if I try to compile the SimpleCocoaVTK example project from the git repository at <a href="http://vtk.org/">vtk.org</a> I get the following output at compile time (I've only included the first part of the output, as it is quite large):<div><div><br></div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; min-height: 13px; "><b></b>********* Start output ***********</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; "><b>Build target SimpleCocoaVTK</b></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; min-height: 13px; "><b></b><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; ">CompileC /Users/stubbler/Library/Developer/Xcode/DerivedData/SimpleCocoaVTK-gbtxjsaivazkvcfrgcddlupyumoy/Build/Intermediates/SimpleCocoaVTK.build/Debug/SimpleCocoaVTK.build/Objects-normal/i386/MyDocument.o MyDocument.mm normal i386 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; "> cd /Users/stubbler/develop/Graphics/VTK/VTK-f52fb8d</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; "> setenv LANG en_US.US-ASCII</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; "> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c++ -arch i386 -fmessage-length=0 -Wno-trigraphs -fpascal-strings -Os -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-implicit-atomic-properties -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wformat -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-sign-compare -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -Wno-arc-abi -Wc++11-extensions -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk -fasm-blocks -Wprotocol -Wdeprecated-declarations -Winvalid-offsetof -mmacosx-version-min=10.5 -g -fvisibility=hidden -fvisibility-inlines-hidden -Wno-conversion -Wno-sign-conversion "-DIBOutlet=__attribute__((iboutlet))" "-DIBOutletCollection(ClassName)=__attribute__((iboutletcollection(ClassName)))" "-DIBAction=void)__attribute__((ibaction)" -I/Users/stubbler/Library/Developer/Xcode/DerivedData/SimpleCocoaVTK-gbtxjsaivazkvcfrgcddlupyumoy/Build/Intermediates/SimpleCocoaVTK.build/Debug/SimpleCocoaVTK.build/SimpleCocoaVTK.hmap -I/Users/stubbler/Library/Developer/Xcode/DerivedData/SimpleCocoaVTK-gbtxjsaivazkvcfrgcddlupyumoy/Build/Products/Debug/include -I/Users/stubbler/develop/Graphics/VTK/VTKBuild/include/vtk-5.10 -I/Users/stubbler/develop/Graphics/VTK/VTKBuild/include/vtk-5.10/alglib -I/Users/stubbler/develop/Graphics/VTK/VTKBuild/include/vtk-5.10/internal -I/Users/stubbler/develop/Graphics/VTK/VTKBuild/include/vtk-5.10/LSDyna -I/Users/stubbler/develop/Graphics/VTK/VTKBuild/include/vtk-5.10/mrmpi -I/Users/stubbler/develop/Graphics/VTK/VTKBuild/include/vtk-5.10/vtkexpat -I/Users/stubbler/develop/Graphics/VTK/VTKBuild/include/vtk-5.10/vtkfreetype -I/Users/stubbler/develop/Graphics/VTK/VTKBuild/include/vtk-5.10/vtkhdf5 -I/Users/stubbler/develop/Graphics/VTK/VTKBuild/include/vtk-5.10/vtkjpeg -I/Users/stubbler/develop/Graphics/VTK/VTKBuild/include/vtk-5.10/vtklibproj4 -I/Users/stubbler/develop/Graphics/VTK/VTKBuild/include/vtk-5.10/vtklibxml2 -I/Users/stubbler/develop/Graphics/VTK/VTKBuild/include/vtk-5.10/vtkmetaio -I/Users/stubbler/develop/Graphics/VTK/VTKBuild/include/vtk-5.10/vtknetcdf -I/Users/stubbler/develop/Graphics/VTK/VTKBuild/include/vtk-5.10/vtkpng -I/Users/stubbler/develop/Graphics/VTK/VTKBuild/include/vtk-5.10/vtksqlite -I/Users/stubbler/develop/Graphics/VTK/VTKBuild/include/vtk-5.10/vtkstd -I/Users/stubbler/develop/Graphics/VTK/VTKBuild/include/vtk-5.10/vtksys -I/Users/stubbler/develop/Graphics/VTK/VTKBuild/include/vtk-5.10/vtktiff -I/Users/stubbler/develop/Graphics/VTK/VTKBuild/include/vtk-5.10/vtkzlib -I/Users/stubbler/develop/Graphics/VTK/VTKBuild/include/vtk-5.10/vtkfreetype/include -I/Users/stubbler/develop/Graphics/VTK/VTKBuild/include/vtk-5.10/vtklibxml2/libxml -I/Users/stubbler/develop/Graphics/VTK/VTKBuild/include/vtk-5.10/vtknetcdf/include -I/Users/stubbler/develop/Graphics/VTK/VTKBuild/include/vtk-5.10/vtksys/ios -I/Users/stubbler/develop/Graphics/VTK/VTKBuild/include/vtk-5.10/vtksys/stl -I/Users/stubbler/develop/Graphics/VTK/VTKBuild/include/vtk-5.10/vtkfreetype/include/freetype -I/Users/stubbler/develop/Graphics/VTK/VTKBuild/include/vtk-5.10/vtkfreetype/include/freetype/config -I/Users/stubbler/develop/Graphics/VTK/VTKBuild/include/vtk-5.10/vtkfreetype/include/freetype/internal -I/Users/stubbler/Library/Developer/Xcode/DerivedData/SimpleCocoaVTK-gbtxjsaivazkvcfrgcddlupyumoy/Build/Intermediates/SimpleCocoaVTK.build/Debug/SimpleCocoaVTK.build/DerivedSources/i386 -I/Users/stubbler/Library/Developer/Xcode/DerivedData/SimpleCocoaVTK-gbtxjsaivazkvcfrgcddlupyumoy/Build/Intermediates/SimpleCocoaVTK.build/Debug/SimpleCocoaVTK.build/DerivedSources -F/Users/stubbler/Library/Developer/Xcode/DerivedData/SimpleCocoaVTK-gbtxjsaivazkvcfrgcddlupyumoy/Build/Products/Debug -MMD -MT dependencies -MF /Users/stubbler/Library/Developer/Xcode/DerivedData/SimpleCocoaVTK-gbtxjsaivazkvcfrgcddlupyumoy/Build/Intermediates/SimpleCocoaVTK.build/Debug/SimpleCocoaVTK.build/Objects-normal/i386/MyDocument.d --serialize-diagnostics /Users/stubbler/Library/Developer/Xcode/DerivedData/SimpleCocoaVTK-gbtxjsaivazkvcfrgcddlupyumoy/Build/Intermediates/SimpleCocoaVTK.build/Debug/SimpleCocoaVTK.build/Objects-normal/i386/MyDocument.dia -c /Users/stubbler/develop/Graphics/VTK/VTK-f52fb8d/MyDocument.mm -o /Users/stubbler/Library/Developer/Xcode/DerivedData/SimpleCocoaVTK-gbtxjsaivazkvcfrgcddlupyumoy/Build/Intermediates/SimpleCocoaVTK.build/Debug/SimpleCocoaVTK.build/Objects-normal/i386/MyDocument.o</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; min-height: 13px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; ">In file included from /Users/stubbler/develop/Graphics/VTK/VTK-f52fb8d/MyDocument.mm:3:</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; ">In file included from /Users/stubbler/develop/Graphics/VTK/VTK-f52fb8d/BasicVTKView.h:5:</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; ">In file included from /Users/stubbler/develop/Graphics/VTK/VTKBuild/include/vtk-5.10/vtkRenderer.h:32:</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; ">In file included from /Users/stubbler/develop/Graphics/VTK/VTKBuild/include/vtk-5.10/vtkViewport.h:32:</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; ">In file included from /Users/stubbler/develop/Graphics/VTK/VTKBuild/include/vtk-5.10/vtkObject.h:41:</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; ">In file included from /Users/stubbler/develop/Graphics/VTK/VTKBuild/include/vtk-5.10/vtkObjectBase.h:43:</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; ">In file included from /Users/stubbler/develop/Graphics/VTK/VTKBuild/include/vtk-5.10/vtkIndent.h:24:</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; ">In file included from /Users/stubbler/develop/Graphics/VTK/VTKBuild/include/vtk-5.10/vtkSystemIncludes.h:40:</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; ">In file included from /Users/stubbler/develop/Graphics/VTK/VTKBuild/include/vtk-5.10/vtkIOStream.h:37:</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; ">In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/include/c++/4.2.1/iomanip:44:</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; ">In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/include/c++/4.2.1/istream:43:</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; ">In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/include/c++/4.2.1/ios:44:</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; ">In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/include/c++/4.2.1/bits/char_traits.h:45:</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; ">/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/include/c++/4.2.1/bits/stl_algobase.h:321:7: error: use of undeclared identifier 'ostreambuf_iterator'</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; "> ostreambuf_iterator<_CharT> >::__type</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; "> ^</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; ">/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/include/c++/4.2.1/bits/stl_algobase.h:321:27: error: '_CharT' does not refer to a value</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; "> ostreambuf_iterator<_CharT> >::__type</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; "> ^</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; ">/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/include/c++/4.2.1/bits/stl_algobase.h:319:21: note: declared here</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; "> template<typename _CharT></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; "> ^</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; ">/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/include/c++/4.2.1/bits/stl_algobase.h:321:35: error: expected unqualified-id</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; "> ostreambuf_iterator<_CharT> >::__type</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; "> ^</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; ">/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/include/c++/4.2.1/bits/stl_algobase.h:326:9: error: use of undeclared identifier 'ostreambuf_iterator'</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; "> ostreambuf_iterator<_CharT> >::__type</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; "> ^</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; ">/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/include/c++/4.2.1/bits/stl_algobase.h:326:29: error: '_CharT' does not refer to a value</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; "> ostreambuf_iterator<_CharT> >::__type</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; "> ^</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; ">/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/include/c++/4.2.1/bits/stl_algobase.h:324:21: note: declared here</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; "> template<typename _CharT></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; "> ^</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; ">/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/include/c++/4.2.1/bits/stl_algobase.h:326:37: error: expected unqualified-id</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; "> ostreambuf_iterator<_CharT> >::__type</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; "> ^</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; ">/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/include/c++/4.2.1/bits/stl_algobase.h:331:5: error: variable '__copy_aux' declared as a template</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; "> __copy_aux(istreambuf_iterator<_CharT>, istreambuf_iterator<_CharT>,</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; "> ^</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; ">/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/include/c++/4.2.1/bits/stl_algobase.h:331:16: error: use of undeclared identifier 'istreambuf_iterator'</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; "> __copy_aux(istreambuf_iterator<_CharT>, istreambuf_iterator<_CharT>,</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; "> ^</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; ">/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/include/c++/4.2.1/bits/stl_algobase.h:331:36: error: '_CharT' does not refer to a value</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; "> __copy_aux(istreambuf_iterator<_CharT>, istreambuf_iterator<_CharT>,</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; "> ^</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; ">/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/include/c++/4.2.1/bits/stl_algobase.h:329:21: note: declared here</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; "> template<typename _CharT></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; "> ^</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; ">/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/include/c++/4.2.1/bits/stl_algobase.h:331:43: error: expected expression</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; "> __copy_aux(istreambuf_iterator<_CharT>, istreambuf_iterator<_CharT>,</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; "> ^</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; ">/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/include/c++/4.2.1/bits/stl_algobase.h:407:18: error: use of undeclared identifier 'ostreambuf_iterator'</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; "> ostreambuf_iterator<_CharT> >::__type</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; "> ^</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; ">/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/include/c++/4.2.1/bits/stl_algobase.h:407:38: error: '_CharT' does not refer to a value</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; "> ostreambuf_iterator<_CharT> >::__type</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; "> ^</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; ">/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/include/c++/4.2.1/bits/stl_algobase.h:405:21: note: declared here</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; "> template<typename _CharT></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; "> ^</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; ">/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/include/c++/4.2.1/bits/stl_algobase.h:407:46: error: expected unqualified-id</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; "> ostreambuf_iterator<_CharT> >::__type</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; "> ^</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; ">********* End output ***********</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; "><font class="Apple-style-span" face="Helvetica" size="3">I updated the header and library search paths in the Xcode project settings to point at the files in my vtk build folder, and I'm building against the 10.7 SDK, although I get the same errors with the 10.6 SDK. Maybe the problem lies in the xcode setup but I'm not sure where to look. Any ideas?</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; "><font class="Apple-style-span" face="Helvetica" size="3"><br></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 12px; text-indent: -12px; font: normal normal normal 11px/normal Menlo; "><font class="Apple-style-span" face="Helvetica" size="3">Thanks in advance</font></div></div></div><div><br></div></body></html>