Tim, <div>Please do post the solution later.<div>I think other Osirix users/developers will benefit from it too. </div><div><br></div><div>Thank you very much!</div><div><br></div><div>-Xiaoxiao<br><br><div class="gmail_quote">
On Thu, Oct 25, 2012 at 11:51 AM, Tim Allman <span dir="ltr"><<a href="mailto:timothy@brasscats.ca" target="_blank">timothy@brasscats.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Well, a walk in the woods led to a bit more searching and I was able
to answer my own question. I hope no one wasted time on this. I'll
post the script when I clean it up and document it.<br>
<br>
Tim<div><div class="h5"><br>
<br>
<div>On 12-10-24 12:02 PM, Tim Allman wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">
ITK gurus,<br>
<br>
I am writing a plug-in for Osirix and need to create a version of
ITK in which the namespaces are changed. This is to avoid run time
conflicts with the ITK libraries that are linked into Osirix.<br>
<br>
In ITK there are two namespaces used, <i>itk</i> and <i>itksys</i>
in the default configuration. I have been able to modify an
existing script that modifies the source tree to do what I need
except for one thing.<br>
<br>
I can successfully change, for example, the itk namespace to XXX
and the itksys namespace to XXXsys by editing the source files and
several CMakeLists.txt files. The result is fine except that the
library file that was originally named libitksys-4.2.a becomes
libitkXXXsys-4.2.a rather than libXXXsys-4.2.a. This causes some
linking problems. <br>
<br>
After considerable searching I cannot find where or how the name
of this library file is generated. Can anyone give me some
direction on this?<br>
<br>
Thanks,<br>
Tim<br>
<br>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_____________________________________
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a>
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>
Kitware offers ITK Training Courses, for more information visit:
<a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a>
Please keep messages on-topic and check the ITK FAQ at:
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a>
Follow this link to subscribe/unsubscribe:
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a>
</pre>
</blockquote>
<br>
<br>
</div>
<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<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><br></div><div><br></div>---------------------------------------------<br><b>Xiaoxiao Liu</b>, Ph.D.<div><div><div><font face="arial, sans-serif"><span style="border-collapse:collapse">R & D Engineer</span></font></div>
<div><div><a href="http://www.kitware.com/" target="_blank">Kitware Inc</a>.</div></div><div><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px">Clifton Park, NY</span><div><div>Phone: (518) 881-4924 or <span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px">(518) 371-3971 x124</span></div>
<div><font face="Verdana, Arial, Helvetica, sans-serif"><span style="line-height:31px;font-size:x-small"><br></span></font></div></div></div></div></div><br>
</div></div>