[ITK-users] Problems with writing filter using Xcode

Vikash Gupta vikash.gupta at inria.fr
Fri Jul 3 03:51:16 EDT 2015


Hey guys, 
So, I moved to a different IDE (Eclipse). I am still getting similar error. 

Here is the error 

Undefined symbols for architecture x86_64:
  "itk::MapLR2HRFilter<itk::Image<float, 3u> >::SetTransform(itk::SmartPointer<itk::AffineTransform<double, 3u> >)", referenced from:
      _main in testMapping.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

After some googling i figured its a problem with OS X. I wonder if anyone knows how to fix it.


Thanks 
Vikash

----- Original Message -----
> From: "Vikash Gupta" <vikash.gupta at inria.fr>
> To: "Sean McBride" <sean at rogue-research.com>
> Cc: "insight-users at itk org" <insight-users at itk.org>
> Sent: Thursday, July 2, 2015 1:19:21 PM
> Subject: Re: [ITK-users] Problems with writing filter using Xcode
> 
> Ok I am updating it ...
> 
> ----- Original Message -----
> > From: "Vikash Gupta" <vikash.gupta at inria.fr>
> > To: "Sean McBride" <sean at rogue-research.com>
> > Cc: "insight-users at itk org" <insight-users at itk.org>
> > Sent: Thursday, July 2, 2015 1:16:44 PM
> > Subject: Re: [ITK-users] Problems with writing filter using Xcode
> > 
> > Or maybe I am doing something wrong.. Here is what I am doing step by step
> > 
> > 1. Build ITK as I would normally considering a UNIX machine
> > 2. Use a text editor to make the CMakeLists.txt and arrange my directories
> > 3. use ccmake -GXcode to generate my xcode project
> > 4. Open the Xcode project and write the filters I need.
> > 
> > 
> > Vikash
> > 
> > ----- Original Message -----
> > > From: "Vikash Gupta" <vikash.gupta at inria.fr>
> > > To: "Sean McBride" <sean at rogue-research.com>
> > > Cc: "insight-users at itk org" <insight-users at itk.org>
> > > Sent: Thursday, July 2, 2015 1:09:00 PM
> > > Subject: Re: [ITK-users] Problems with writing filter using Xcode
> > > 
> > > Hi Sean,
> > > Yes I was using Xcode 6.xx But then I read on stackexchange that there is
> > > some bug with the xcode 6.xx so rolled back to 5.xx . Also I was
> > > wondering
> > > if the .txx is a good extension for the counterpart to the .h file.
> > > 
> > > Vikash
> > > 
> > > ----- Original Message -----
> > > > From: "Sean McBride" <sean at rogue-research.com>
> > > > To: "Vikash Gupta" <vikash.gupta at inria.fr>, "insight-users at itk org"
> > > > <insight-users at itk.org>
> > > > Sent: Thursday, July 2, 2015 1:05:04 PM
> > > > Subject: Re: [ITK-users] Problems with writing filter using Xcode
> > > > 
> > > > On Thu, 2 Jul 2015 21:18:41 +0200, Vikash Gupta said:
> > > > 
> > > > >I am using Mac OS X 10.10.3 and Xcode 5.1.1
> > > > 
> > > > Maybe not the cause of your problem, but note that that's not a valid
> > > > combination.  OS X 10.10.x requires Xcode 6.x (I forget exactly which).
> > > > 
> > > > Cheers,
> > > > 
> > > > --
> > > > ____________________________________________________________
> > > > Sean McBride, B. Eng                 sean at rogue-research.com
> > > > Rogue Research                        www.rogue-research.com
> > > > Mac Software Developer              Montréal, Québec, Canada
> > > > 
> > > > 
> > > > 
> > > _____________________________________
> > > 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
> > > 
> > _____________________________________
> > 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
> > 
> _____________________________________
> 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