[ITK] [ITK-dev] cmake variable for itkvcl libraries when linking with ITK

Rashad M mohammedrashadkm at gmail.com
Wed Jan 7 12:40:17 EST 2015


On Wed, Jan 7, 2015 at 4:39 PM, Matt McCormick <matt.mccormick at kitware.com>
wrote:

> Hi Rashad,
>
> The itkvcl library is created [1] as part of the ITKVNL [2] module, so
> it wiill be listed in the ITKVNL_LIBRARIES CMake variable as described
> here [3].
>

Thanks Matt. So itkvcl should be changed to ITKVNL_LIBRARIES in cmake. I
think I got 'cannot find -litkvcl' only when linking with external vxl


> HTH,
> Matt
>
> [1]
> http://itk.org/gitweb?p=ITK.git;a=blob;f=Modules/ThirdParty/VNL/src/vxl/vcl/CMakeLists.txt;h=bfee21e9d32342f7c3b5bb720991978a58acbddc;hb=HEAD#l362
>
>
> [2]
> http://itk.org/gitweb?p=ITK.git;a=blob;f=Modules/ThirdParty/VNL/itk-module.cmake;h=353e0b168543723bf70d1aae57c4e98c65ed8e05;hb=HEAD#l5
>
>
> [3]
> http://itk.org/gitweb?p=ITK.git;a=blob;f=CMake/ITKModuleAPI.cmake;h=304d864e957a28bc28df1bb49f7d06ebbd641fdd;hb=HEAD#l41
>
> On Wed, Jan 7, 2015 at 8:08 AM, Rashad M <mohammedrashadkm at gmail.com>
> wrote:
> > Hello,
> >
> > When linking with itkvnl libraries from ITK there is a cmake variable
> that
> > hold the proper target (ITKVNL_LIBRARIES). This is the proper way to add
> ITK
> > vnl modules as dependency for external targets. All this are after
> including
> > UseITK.cmake
> >
> > But what about itk vcl libraries. Ofcourse I could use ITK_VNL_LIBRARIES
> as
> > target itkvcl is a dependency for itkvnl.Is there is something similar to
> > that of vnl like ITK_VCL_LIBRARIES ?
> >
> >
> > --
> > Regards,
> >    Rashad
> >
> > _______________________________________________
> > 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.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://public.kitware.com/mailman/listinfo/insight-developers
> >
>



-- 
Regards,
   Rashad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20150107/09e0a7d6/attachment.html>
-------------- next part --------------
_______________________________________________
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.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://public.kitware.com/mailman/listinfo/insight-developers


More information about the Community mailing list