[Insight-users] itk $ visual studio 8

Karthik Krishnan Karthik.Krishnan at kitware.com
Sat Oct 8 11:48:47 EDT 2005


On Fri, 2005-10-07 at 19:15 -0700, alireza akhundi asl wrote:
> hi
> I'm new in itk. i'm using vs 8 and trying to use windows form
> application. i used cmake 2.2 to build itk 2.2.0 (it is ok). i didnt
> find anyway to use cmake to construct projects for windows from
> applications that use itk, so i added paths and lib files needed. i
> dont have any problem with itk when using mfc or console app. (so as i
> concluded added paths and lib files are ok) but when i am trying to
> use windows form application many linker errors appear. such as 
> i just included itkPoint.h
> Error 1 error LNK2028: unresolved token (0A00001E) "public: virtual
> void __clrcall itk::Object::Modified(void)const
> " (?Modified at Object@itk@@$$FUBMXXZ) referenced in function
> "???__E??_7CreateObjectFunctionBase at itk@@6B@@@$$FYMXXZ@?A0x0c097a89@@
> $$FYMXXZ" (???__E??_7CreateObjectFunctionBase at itk@@6B@@@
> $$FYMXXZ@?A0x0c097a89@@$$FYMXXZ) yyy.obj 

Did you link to the ITKCommon library ?

>  
> could any one help me?
> alireza
> 
> 
> ______________________________________________________________________
> Yahoo! for Good
> Click here to donate to the Hurricane Katrina relief effort. 
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users



More information about the Insight-users mailing list