<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1226" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi all,</FONT></DIV>
<DIV><FONT face=Arial size=2>How do I build vtk dynamic shared libraries to a
relative path instead of an absolute path using cmake.</FONT></DIV>
<DIV><FONT face=Arial size=2>I tried changing the LIBRARY_OUTPUT_PATH
to "lib", but I got errors like:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Building shared library
ilb/libvtkpng.dylib...</FONT></DIV>
<DIV><FONT face=Arial size=2>/usr/bin/libtool: can't locate file for:
-lvtkzlib</FONT></DIV>
<DIV><FONT face=Arial size=2>/usr/bin/libtool:file -lvtkzlib is not an object
file(not alowed in a library)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Those errors are not seen when using an absolute
path.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Development envir: MacOSX, Darwin.</FONT></DIV>
<DIV><FONT face=Arial size=2>VTK version : Latest</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>Thank you.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Eleanor </FONT></DIV></FONT></DIV></BODY></HTML>