There are some API changes from VTK 5.2 to 5.4... Although there are not many, I would still say the current dylib compatibility settings are correct. The 5.4 dylibs cannot be loaded by a program built against 5.2 and work flawlessly.<br>
<br><div>Some VTK 5.4 API changes are explicitly listed here:</div><div><a href="http://www.vtk.org/Wiki/VTK_5.4_Release_Planning">http://www.vtk.org/Wiki/VTK_5.4_Release_Planning</a></div><div><br></div><div>And I would guess there are a handful of others that are simply not listed anywhere, but would take source code analysis to uncover...</div>
<div><br></div><div>The dylib properties are set by the code in VTK's CMakeLists.txt that looks like this:</div><div><div><br></div><div># Append the library version information to the library target</div><div># properties.  A parent project may set its own properties and/or may</div>
<div># block this.</div><div>IF(NOT VTK_NO_LIBRARY_VERSION)</div><div>  SET(VTK_LIBRARY_PROPERTIES ${VTK_LIBRARY_PROPERTIES}</div><div>    VERSION "${VTK_VERSION}"</div><div>    SOVERSION "${VTK_MAJOR_VERSION}.${VTK_MINOR_VERSION}"</div>
<div>    )</div><div>ENDIF(NOT VTK_NO_LIBRARY_VERSION)</div><div><br></div><div>The library VERSION property is the source of the dylib versions...</div></div><div><br></div><div><br></div><div>HTH,</div><div>David</div><div>
<br></div><div><br><div class="gmail_quote">On Mon, Apr 27, 2009 at 6:46 PM, Darren Weber <span dir="ltr"><<a href="mailto:darren.weber.lists@gmail.com">darren.weber.lists@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>When building dynamic libs for VTK-5-4-0 on OSX, the library compatibility options are set as:<br><br>-compatibility_version 5.4.0 -current_version 5.4.0<br><br>Is that right?  The current wiki page on API changes (<a href="http://www.vtk.org/Wiki/VTK_FAQ#Changes_to_the_VTK_API" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ#Changes_to_the_VTK_API</a>) indicates no changes from 5.2.x to 5.4.x - that may be true or we need an update to the wiki.  If it is true, can we set the dylib compatibility to something like:<br>

<br>-compatibility_version 5.2.1 -current_version 5.4.0<br>
<br>How are these compatibility settings specified on the CMAKE command line?  I don't see any way to do it there - is it only possible to set them in CMakeLists.txt files?  If the latter, where are they set in VTK?<br>

<br>Thanks, Darren<br><br>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
<br>
<br></blockquote></div><br></div>