[ITK Community] [Insight-users] issues with inverting deformation fields
Matt McCormick
matt.mccormick at kitware.com
Wed Dec 4 20:40:37 EST 2013
Hi Tim,
The attached files build for me, after changing the CMakeLists.txt
target_link_libraries line to use ${ITK_LIBRARIES}.
The InverseDisplacementFieldImageFilter .cxx, .h, and .hxx files
should come from the version of ITK that you are trying to build
against.
Hope this helps,
Matt
On Wed, Dec 4, 2013 at 1:39 PM, Tim Bhatnagar <tim.bhatnagar at gmail.com> wrote:
> Hello all,
>
> Sorry to make a repeat request for this issue.. I have made a project file
> for Visual C++ Express 2010 using the attached cmakelists and
> InvertingDefFields.cxx files, which are linked to the ITK libraries.
>
> The cxx file (and its corresponding hxx file) was downloaded from the github
> recently, but I am not able to build my solution without getting the
> following error:
>
> InvertingDefFields.cxx
> 2>c:\itkrap\insighttoolkit-4.2.0\modules\filtering\displacementfield\include\itkInverseDisplacementFieldImageFilter.hxx(353):
> error C2143: syntax error : missing ';' before
> 'itk::InverseDisplacementFieldImageFilter<TInputImage,TOutputImage>::GetMTime'
> 2>c:\itkrap\insighttoolkit-4.2.0\modules\filtering\displacementfield\include\itkInverseDisplacementFieldImageFilter.hxx(353):
> error C4430: missing type specifier - int assumed. Note: C++ does not
> support default-int
>
>
> I am, by no means, an apt c++ programmer, and I have tried everything I can
> to address this error, but to no avail. Is there anything that anyone can
> suggest? I'll try anything.. this is most likely the last applictiton I need
> before my dissertation can be written up (hopefully!), and this problem has
> been dragging on for a while.
>
> I've attached the related files - any help is much, much appreciated. OR, if
> you have access to a different set of files to acquire an the inverse of a
> displacement field generated by Demon's Registration, I'd be happy to try
> that too!
>
> Thanks so much,
>
> --
> Tim Bhatnagar
> PhD Candidate
> Orthopaedic Injury Biomechanics Group
> Department of Mechanical Engineering
> University of British Columbia
>
> Rm 5000 - 818 West 10th Ave.
> Vancouver, BC
> Canada
> V5Z 1M9
>
> Ph: (604) 675-8845
> Fax: (604) 675-8820
> Web: oibg.mech.ubc.ca
>
> _____________________________________
> 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://www.itk.org/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://www.itk.org/mailman/listinfo/insight-users
More information about the Community
mailing list