[ITK] [ITK-users] 'GetCurrentStepLength' : is not a member of 'itk::RegularStepGradientDescentOptimizerv4<TInternalComputationValueType>'

Jon Haitz Legarreta jhlegarreta at vicomtech.org
Wed Feb 11 10:16:08 EST 2015


Hi Matías,
I don't think it's causing the issue.

You've at least one possibility: to check in your ITKConfig.cmake file
(built in your binary folder) which is the value of the ITK_VERSION_MAJOR,
ITK_VERSION_MINOR, and ITK_VERSION_PATCH variables (look for those strings).

JON HAITZ



On 11 February 2015 at 16:08, Matias Montroull <matimontg at gmail.com> wrote:

> Thanks for the answer Jon,
>
> I actually set the flag to ON to run some ITK Apps I downloaded but I can
> go back and set it to OFF if that's causing an issue.
>
> Is there an easy way to check which version of ITK I'm using?
>
> Thanks,
>
> Matias.
>
> On Wed, Feb 11, 2015 at 11:48 AM, Jon Haitz Legarreta <
> jhlegarreta at vicomtech.org> wrote:
>
>> Hi Matias,
>> are you sure this filter needs the VTK COMPATIBILITY flag to ON?
>>
>> On the other hand, according to the nightly doxygen (ITK 4.8.0), the
>> filter does have that member, so you may want to check the ITK version you
>> are actually using.
>>
>> HTH,
>> JON HAITZ
>>
>>
>> On 11 February 2015 at 15:28, Matias Montroull <matimontg at gmail.com>
>> wrote:
>>
>>> Hi,
>>>
>>> I'm trying to run this example:
>>>
>>> http://www.itk.org/Doxygen/html/Examples_2RegistrationITKv4_2MultiResImageRegistration1_8cxx-example.html
>>>
>>> and I get the following compilation error:
>>>
>>> 'GetCurrentStepLength' : is not a member of
>>> 'itk::RegularStepGradientDescentOptimizerv4<TInternalComputationValueType>'
>>>
>>> Any clues what I have missed? I compiled ITK with the V3 compatibility
>>> set to ON.
>>>
>>> Thank you,
>>>
>>> Matias.
>>>
>>> _____________________________________
>>> 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
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20150211/ca2251ff/attachment.html>
-------------- next part --------------
_____________________________________
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 Community mailing list