[Insight-users] trouble with ITK build...

Matt McCormick matt.mccormick at kitware.com
Wed Jun 13 16:00:28 EDT 2012


Hi Luke,

While in the build directory CMake uses RPATH (with full paths) to
help executables find the libraries.  So, if you want to change build
directories, you will need to rebuild.

Hope this helps,
Matt

On Wed, Jun 13, 2012 at 3:25 PM, Luke Hetrick <lhetrick at nnu.edu> wrote:
> I have tried to run many of the executable files that are generated in the
> bin directory of my InsightToolkit build and I keep getting the following
> error regardless of which executable I try. It reads:
>
> ./SurfaceExtraction: error while loading shared libraries:
> libitksys-4.1.so.1: cannot open shared object file of directory
>
> I built ITK with shared libraries set to "on" and have moved the ITK
> directory around some. Would either of those have caused the error? Or
> should I just try a rebuild?
>
> Luke H
>
>
>
> _____________________________________
> 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://www.kitware.com/products/protraining.php
>
> 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-users
>


More information about the Insight-users mailing list