[Insight-developers] ITK & WrapITK Install better, still not great.

Ashish Sharma ashishs99 at gmail.com
Thu May 5 14:09:57 EDT 2011


Hi Williams,

We are looking into this and we will get to you as soon as possible.

Ashish

On Wed, May 4, 2011 at 5:01 PM, Williams, Norman K <
norman-k-williams at uiowa.edu> wrote:

> So say you want to use ITK with Wrapping.  Wrapping demands shared
> libraries, which means you have to fool around with setting
> {DY}LD_LIBRARY_PATH. If you use TCL (as we do) TCLLIBPATH, or the
> equivalent environment variable for the wrapping language of your choice
> needs setting as well.
>
>
> So here's the situation right now:
>
> 1. ITK libraries go into ${CMAKE_INSTALL_PREFIX}/lib
> 2. ITK Config files (I.e. where you want to point ITK_DIR) go
>   into ${CMAKE_INSTALL_PREFIX}/lib/cmake/ITK-4.0
> 3. WrapITK libraries go into
> ${CMAKE_INSTALL_PREFIX}/lib/cmake/ITK-4.0/WrapITK/lib
> 4. WrapITK Tcl files goes into
> ${CMAKE_INSTALL_PREFIX}/lib/cmake/ITK-4.0/WrapITK/Tcl
> 5. Python stuff goes into
> ${CMAKE_INSTALL_PREFIX}/lib/cmake/ITK-4.0/WrapITK/lib &
>   ${CMAKE_INSTALL_PREFIX}/lib/cmake/ITK-4.0/WrapITK/Python
>
> Now I don't know what the right thing to do is, but it's a complete change
> from ITKV3.x
>
> Before all the libraries went to
> ${CMAKE_INSTALL_PREFIX}/lib/InsightToolkit, & Wrapping stuff went into
> .../InsightToolkit/WrapITK ...
>
> The ITK3 wasn't that bad, but the ITK4 way is squirrelly. Especially in
> these respects:
>
> 1. Putting the CMake stuff in .../lib/cmake/ITK-4.0 instead of in
> .../lib/InsightToolkit
> 2. Putting the libraries in .../lib instead of .../lib/InsightToolkit
> 3. ESPECIALLY WrapITK burying its libraries in .../lib/cmake/ITK-4.0
>
> So which of the things the current Install process does are by design, and
> which are done just by happenstance?
>
>
>
> ________________________________
> Notice: This UI Health Care e-mail (including attachments) is covered by
> the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is
> confidential and may be legally privileged.  If you are not the intended
> recipient, you are hereby notified that any retention, dissemination,
> distribution, or copying of this communication is strictly prohibited.
>  Please reply to the sender that you have received the message in error,
> then delete it.  Thank you.
> ________________________________
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-developers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20110505/97b69068/attachment.htm>


More information about the Insight-developers mailing list