[Insight-developers] Where is 'vnl_abs' declared?

Patrick Reynolds patrick.reynolds at kitware.com
Fri Sep 30 17:35:28 EDT 2011


Huai-Ping,

This is my fault. We're fixing it.

Thanks,
Patrick Reynolds
R & D Engineer
Kitware, Inc.
919 869 8848




On Fri, Sep 30, 2011 at 5:33 PM, Huai-Ping Lee <huaiping.lee at kitware.com> wrote:
> Hi,
>
> I keep getting the error message when building ITKv4 on a Linux machine:
> /home/huai-ping/git/ITK/Modules/Video/Core/include/itkRingBuffer.hxx:227:
> error: ‘vnl_abs’ was not declared in this scope
> And a grep in the ITK source tree couldn't find the definition of
> 'vnl_abs' (the line of code above is the only place where 'vnl_abs'
> appears). The weird thing is, on my other Linux machine, this error
> doesn't come up.
>
> I also saw a similar error on the Dashboard
> (http://www.cdash.org/CDash/viewBuildError.php?buildid=1580680):
> 192>d:\dshbrd\itk\modules\video\core\include\itkRingBuffer.hxx(227) :
> error C2668: 'std::abs' : ambiguous call to overloaded function
> It looks like in some version, the 'vnl_abs' is replaced with
> std::abs, but some compilers are still complaining about it.
>
> --
> Huai-Ping Lee
> Kitware, Inc.
> _______________________________________________
> 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://kitware.com/products/protraining.html
>
> 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-developers
>


More information about the Insight-developers mailing list