[ITK-users] Problems with writing filter using Xcode

Vikash Gupta vikash.gupta at inria.fr
Thu Jul 2 16:03:38 EDT 2015


Yes I am using Cmake -GXcode to generate the projects... 
I tried using the example ImageFilter.cxx and that works fine. However, when I write my own SetInput function it gives that error. 

Vikash

----- Original Message -----
> From: "Matt McCormick" <matt.mccormick at kitware.com>
> To: "Vikash Gupta" <vikash.gupta at inria.fr>
> Cc: "insight-users at itk org" <insight-users at itk.org>
> Sent: Thursday, July 2, 2015 12:51:39 PM
> Subject: Re: [ITK-users] Problems with writing filter using Xcode
> 
> Hi Vikash,
> 
> Are you using CMake to generate the Xcode project files?  This is the
> recommended way, and it should link everything correctly.
> 
> HTH,
> Matt
> 
> On Thu, Jul 2, 2015 at 3:18 PM, Vikash Gupta <vikash.gupta at inria.fr> wrote:
> > Hey Everyone
> > I am using Mac OS X 10.10.3 and Xcode 5.1.1 . When I am writing a filter in
> > this environment. I get the following error
> >
> > Undefined symbols for architecture x86_64:
> >
> >   "itk::MapPointMatrixFilter<itk::Image<double, 3u>
> >>::MapPointMatrixFilter()", referenced from:
> >
> >       itk::MapPointMatrixFilter<itk::Image<double, 3u> >::New() in
> > mapsfilter.o
> >
> > ld: symbol(s) not found for architecture x86_64
> >
> > clang: error: linker command failed with exit code 1 (use -v to see
> > invocation)
> >
> >
> >
> > I do not understand why I should get this error. If anyone has any
> > insights,
> > it will be really useful.
> >
> >
> > Thanks
> >
> > Vikash
> >
> >
> > _____________________________________
> > 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://public.kitware.com/mailman/listinfo/insight-users
> >
> 


More information about the Insight-users mailing list