[Insight-users] itk 4.1 and .lib directories

barbababa tonimuusimaki at gmail.com
Sat Mar 17 21:22:02 EDT 2012


Hello all!

I finally managed to upgrade from 3.2 to 4.1 and i got a linking error that
ITKcommon.lib cannot be opened.
I realized that there was no libs in the build folder, i only found these
files:
itktestdriver.idb
itkTestDriver.exe 
....

After a while i realized that the libs were in a folder:
C:\Program Files\ITK\lib\InsightToolkit

Is this some new convention? i only changed useGPU ON and useReview ON and
buildallmodules ON in the cmake options...
I managed to fix this by just updating the libs folders in VS9 but i was
just wondering is this normal??? 
I am using win7 x64 VS 2008 release.

My project was working fine in 3.2 but here i got these errors:

itkWhiteTopHatByAreaImageFilter.h(34) : error C2065: 'ITK_TYPENAME' :
undeclared identifier

ObliqueSlice3Dto2DFilter.cpp(73) : error C2440: 'initializing' : cannot
convert from 'itk::SmartPointer<TObjectType>' to
'itk::SmartPointer<TObjectType>'

DemonsRegistration.cxx(24) : fatal error C1083: Cannot open include file:
'itkTransformToDeformationFieldSource.h': No such file or directory

1>c:\program
files\itk\include\insighttoolkit\numerics\statistics\itkImageToListAdaptor.h(63)
: error C2065: 'ITK_TYPENAME' : undeclared identifier
1>        C:\Program
Files\ITK\include\InsightToolkit\Numerics\Statistics\itkImageToHistogramGenerator.h(120)
: see reference to class template instantiation
'itk::Statistics::ImageToHistogramGenerator<TImageType>' being compiled


AmoebaOptimization.cpp(1162) : error C2248:
'itk::ImageRegistrationMethod<TFixedImage,TMovingImage>::StartRegistration'
: cannot access protected member declared in class
'itk::ImageRegistrationMethod<TFixedImage,TMovingImage>'


SymmetricForcesDemonsRegistrationFilter.cpp(411) : error C2039:
'SetDeformationField' : is not a member of
'itk::WarpImageFilter<TInputImage,TOutputImage,TDisplacementField>'



Any ideas?


thanks....

--
View this message in context: http://itk-insight-users.2283740.n2.nabble.com/itk-4-1-and-lib-directories-tp7382658p7382658.html
Sent from the ITK Insight Users mailing list archive at Nabble.com.


More information about the Insight-users mailing list