[Insight-developers] linking Error

thanga aarthy manoharan rthy4u at gmail.com
Mon Mar 21 10:41:15 EDT 2011


this is my CMakeLists for the program where i get the linking error

cmake_minimum_required(VERSION 2.8)
PROJECT(dwt  )
FIND_PACKAGE ( ITK )
IF(ITK_FOUND)
                INCLUDE( ${USE_ITK_FILE} )
                INCLUDE_DIRECTORIES( ${ITK_INCLUDE_DIR} )
                LINK_LIBRARIES(
                                ITKAlgorithms
                                ITKBasicFilters
                                ITKCommon
                                ITKIO
                                ITKStatistics
                                ITKNumerics
                )
ENDIF( ITK_FOUND )
ADD_EXECUTABLE(dwt MYNeighborhoodIterators1.cxx )
TARGET_LINK_LIBRARIES (dwt ITKCommon ITKIO)

On Mon, Mar 21, 2011 at 7:59 PM, Luis Ibanez <luis.ibanez at kitware.com>wrote:

> Hi Aarthy,
>
> Can you please post the CMakeLists.txt file of your project.
>
>   Luis
>
>
> ------------------
> On Mon, Mar 21, 2011 at 9:50 AM, thanga aarthy manoharan
> <rthy4u at gmail.com> wrote:
> > sir,
> >    I am performing a convolution operation sir, i had created two output
> > images so that when i apply convolution with the low pass filter and high
> > pass filter i get two different outputs. i dint get any error in my
> > programming but i am getting a linking error. i am using insight tool
> > kit3.20 and Cmake 2.8.2,  V C++ 2008 and Windows xp.
> >
> > LINK : fatal error LNK1104: cannot open file 'ITKVnl.lib'     .........
> this
> > is my error ..... can u please help me out sir..... 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/20110321/eff92841/attachment.htm>


More information about the Insight-developers mailing list