You can try setting the advanced CMake configuration variable "VTK_USE_SYSTEM_TIFF" to ON. That should avoid building the VTK version of the TIFF library altogether and let you use your system TIFF library.<div><br>
</div><div>I have not tried this myself, but that's how it should work in theory.</div><div><br></div><div>HTH,</div><div>David</div><div><br><br><div class="gmail_quote">On Thu, Oct 23, 2008 at 4:18 PM, Kleistereimer <span dir="ltr"><<a href="mailto:kleistereimer@gmx.de">kleistereimer@gmx.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">hi!<br>
<br>
thankyou for this fine library!<br>
<br>
i found a small bug in the tiff library function name mangling of vtk.<br>
<br>
<br>
vtk_tiff_mangle.h<br>
+ #define _TIFFBuiltinCODECS vtk__TIFFBuiltinCODECS<br>
<br>
<br>
if i build vtk as static library, and link my project with "vtktiff.lib"<br>
AND some other (original) tiff lib too, all SHOULD be fine because vtk<br>
mangles the names of the tiff library. But i get the following error:<br>
<br>
CORE_RL_tiff_.lib(tif_codec.obj) : error LNK2005: __TIFFBuiltinCODECS<br>
already in CORE_RL_tiff_.lib(tif_codec.obj) defined<br>
<br>
(CORE_RL_tiff_.lib is the tiff library from imagemagic)<br>
<br>
-> _TIFFBuiltinCODECS was forgotten in the vtk tiff mangling. see above<br>
patch.<br>
<br>
<br>
<br>
of course this links in 2 tiff librarys. this wastes space! it would be<br>
prefered to have NO mangling at all, this way one just could stop<br>
linking against "vtktiff.lib", (or the other tiff lib) and all would be<br>
fine. (symbols satisfied)<br>
disatvantage: maybe another version (untested with vtk) of the tiff<br>
library code might be linked in.<br>
<br>
regards,<br>
kl<br>
_______________________________________________<br>
This is the private VTK discussion list.<br>
Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br></div>