<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br class="webkit-block-placeholder"></div>Thanks for the extremely prompt response!<div><br></div><div><div><blockquote type="cite">I've _just_ put a new version, 1.3, online. You can be the 1st tester. :)<br><<a href="http://www.rogue-research.com/VTK/SimpleCocoaVTK.html">http://www.rogue-research.com/VTK/SimpleCocoaVTK.html</a>></blockquote><div><br class="webkit-block-placeholder"></div><div>From the instructions here, I switched to using the system zlib, which I wasn't doing before. That seemed to cut down the number of linker errors from ~ 40 to 12. </div><div><br></div><blockquote type="cite">It looks like VTK and SimpleCocoaVTK are not being built with the same<br>SDK and deployment target. Since you have:<br><br><blockquote type="cite">CMAKE_OSX_ARCHITECTURES:STRING=i386<br></blockquote><blockquote type="cite">CMAKE_OSX_SYSROOT:STRING=/Developer/SDKs/MacOSX10.4u.sdk<br></blockquote><br>Make sure that SimpleCocoaVTK is also using the same SDK and that<br>"deployment target" is set to 10.4.</blockquote><div><br class="webkit-block-placeholder"></div><div>I was building with the 10.4u SDK in both cases. :(</div></div><div><br class="webkit-block-placeholder"></div><div>So what this leaves me with is the following linker errors, which all look fairly similar:</div><div><br class="webkit-block-placeholder"></div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 32px; text-indent: -32px; font: normal normal normal 11px/normal Courier; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 32px; text-indent: -32px; font: normal normal normal 11px/normal Courier; "><i> "_strerror$UNIX2003", referenced from:</i></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 32px; text-indent: -32px; font: normal normal normal 11px/normal Courier; "><i> vtksys::SystemTools::GetLastSystemError() in libvtksys.a(SystemTools.o)</i></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 32px; text-indent: -32px; font: normal normal normal 11px/normal Courier; "><i> vtkErrorCode::GetStringFromErrorCode(unsigned long)in libvtkCommon.a(vtkErrorCode.o)</i></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 32px; text-indent: -32px; font: normal normal normal 11px/normal Courier; "><i> "_close$UNIX2003", referenced from:</i></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 32px; text-indent: -32px; font: normal normal normal 11px/normal Courier; "><i> __tiffCloseProc in libvtktiff.a(tif_unix.o)</i></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 32px; text-indent: -32px; font: normal normal normal 11px/normal Courier; "><i> "_strtod$UNIX2003", referenced from:</i></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 32px; text-indent: -32px; font: normal normal normal 11px/normal Courier; "><i> _vtk_png_handle_sCAL in libvtkpng.a(pngrutil.o)</i></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 32px; text-indent: -32px; font: normal normal normal 11px/normal Courier; "><i> _vtk_png_handle_sCAL in libvtkpng.a(pngrutil.o)</i></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 32px; text-indent: -32px; font: normal normal normal 11px/normal Courier; "><i> "_usleep$UNIX2003", referenced from:</i></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 32px; text-indent: -32px; font: normal normal normal 11px/normal Courier; "><i> vtksys::SystemTools::Delay(unsigned int)in libvtksys.a(SystemTools.o)</i></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 32px; text-indent: -32px; font: normal normal normal 11px/normal Courier; "><i> vtksys::SystemTools::Delay(unsigned int)in libvtksys.a(SystemTools.o)</i></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 32px; text-indent: -32px; font: normal normal normal 11px/normal Courier; "><i> "_mktime$UNIX2003", referenced from:</i></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 32px; text-indent: -32px; font: normal normal normal 11px/normal Courier; "><i> vtksys::SystemTools::ConvertDateMacroString(char const*, long*)in libvtksys.a(SystemTools.o)</i></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 32px; text-indent: -32px; font: normal normal normal 11px/normal Courier; "><i> vtksys::SystemTools::ConvertTimeStampMacroString(char const*, long*)in libvtksys.a(SystemTools.o)</i></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 32px; text-indent: -32px; font: normal normal normal 11px/normal Courier; "><i> "_open$UNIX2003", referenced from:</i></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 32px; text-indent: -32px; font: normal normal normal 11px/normal Courier; "><i> _vtk_TIFFOpen in libvtktiff.a(tif_unix.o)</i></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 32px; text-indent: -32px; font: normal normal normal 11px/normal Courier; "><i> "_write$UNIX2003", referenced from:</i></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 32px; text-indent: -32px; font: normal normal normal 11px/normal Courier; "><i> __tiffWriteProc in libvtktiff.a(tif_unix.o)</i></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 32px; text-indent: -32px; font: normal normal normal 11px/normal Courier; "><i> "_sleep$UNIX2003", referenced from:</i></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 32px; text-indent: -32px; font: normal normal normal 11px/normal Courier; "><i> vtksys::SystemTools::Delay(unsigned int)in libvtksys.a(SystemTools.o)</i></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 32px; text-indent: -32px; font: normal normal normal 11px/normal Courier; "><i> "_read$UNIX2003", referenced from:</i></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 32px; text-indent: -32px; font: normal normal normal 11px/normal Courier; "><i> __tiffReadProc in libvtktiff.a(tif_unix.o)</i></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 32px; text-indent: -32px; font: normal normal normal 11px/normal Courier; "><i> "_realpath$DARWIN_EXTSN", referenced from:</i></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 32px; text-indent: -32px; font: normal normal normal 11px/normal Courier; "><i> Realpath(char const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)in libvtksys.a(SystemTools.o)</i></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 32px; text-indent: -32px; font: normal normal normal 11px/normal Courier; "><i> "_clock$UNIX2003", referenced from:</i></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 32px; text-indent: -32px; font: normal normal normal 11px/normal Courier; "><i> vtkTimerLog::GetCPUTime() in libvtkCommon.a(vtkTimerLog.o)</i></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 32px; text-indent: -32px; font: normal normal normal 11px/normal Courier; "><i> "_chmod$UNIX2003", referenced from:</i></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 32px; text-indent: -32px; font: normal normal normal 11px/normal Courier; "><i> vtksys::SystemTools::SetPermissions(char const*, unsigned short)in libvtksys.a(SystemTools.o)</i></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 32px; text-indent: -32px; font: normal normal normal 11px/normal Courier; "><i>ld: symbol(s) not found</i></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 32px; text-indent: -32px; font: normal normal normal 11px/normal Courier; "><i>collect2: ld returned 1 exit status</i></div><div><i><br class="webkit-block-placeholder"></i></div><div><span class="Apple-style-span" style="font-family: Helvetica; font-size: 12px; "><div>Any ideas? The only other deviation from your instructions is that I'm not building universal binaries, just i386.</div><div><br class="webkit-block-placeholder"></div><div><br class="webkit-block-placeholder"></div><div><br></div><div>Dan.</div></span></div></div><div style="text-indent: -32px;"><font class="Apple-style-span" face="Courier" size="3"><span class="Apple-style-span" style="font-size: 11px;"><i><br class="webkit-block-placeholder"></i></span></font></div>
</div></div></body></html>