[Insight-users] problem with SHARED option and STATIC libraries
Bill Lorensen
bill.lorensen at gmail.com
Mon Jun 4 11:07:51 EDT 2012
Try installing cmake 2.8.8.
On Mon, Jun 4, 2012 at 9:41 AM, Augustin Cosse
<augustin.cosse at uclouvain.be> wrote:
> Hi there,
>
> I have just started to use ITK for medical image segmentation. However
> when I want to compile the Examples/DataRepresentation/Image examples, I
> get the following error from ccmake or cmake-gui :
>
> ADD_LIBRARY for library itksys is used with the SHARED option, but the
> target platform supports only STATIC libraries. Building it STATIC
> instead. This may lead to problems.
> ADD_LIBRARY for library itkvcl is used with the SHARED option, but the
> target platform supports only STATIC libraries. Building it STATIC
> instead. This may lead to problems.
> ADD_LIBRARY for library itkv3p_netlib is used with the SHARED option, but
> the target platform supports only STATIC libraries. Building it STATIC
> instead. This may lead to problems.
> ADD_LIBRARY for library itkv3p_lsqr is used with the SHARED option, but
> the target platform supports only STATIC libraries. Building it STATIC
> instead. This may lead to problems.
> ADD_LIBRARY for library itktestlib is used with the SHARED option, but the
> target platform supports only STATIC libraries. Building it STATIC
> instead. This may lead to problems.
> ADD_LIBRARY for library itkvnl is used with the SHARED option, but the
> target platform supports only STATIC libraries. Building it STATIC
> instead. This may lead to problems.
> ADD_LIBRARY for library itkvnl_algo is used with the SHARED option, but
> the target platform supports only STATIC libraries. Building it STATIC
> instead. This may lead to problems.
>
>
> And so on and so on for many libraries. I am using cmake 2.8.0. I
> downloaded the 4.1.0 version of ITK. I also have a previous ITK version on
> my computer but on this previous version, several libraries were missing
> so I had to download the more recent 4.1.0 version.
> However, I now have this problem which I didn't have with the previous ITK
> version. And I don't know how to fix it...
>
> Any ideas ?
>
> Thanks in advance,
>
> Augustin Cosse
>
>
>
> _____________________________________
> 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
--
Unpaid intern in BillsBasement at noware dot com
More information about the Insight-users
mailing list