[Insight-developers] vnl_math::pi coming up undefined with vectoroptimization turned on?
kent williams
norman-k-williams at uiowa.edu
Thu Oct 22 16:19:45 EDT 2009
Check this out -- I'm not alone
http://www.cdash.org/CDash/iphone/buildsummary.php?buildid=362106#_projects
On 10/22/09 3:05 PM, "kent williams" <norman-k-williams at uiowa.edu> wrote:
> I'm trying to build ITK on OS X with the "-O3" flag. I've never had trouble
> with "-O2" but now I get an undefined external for vnl_math::pi.
>
> The main reason to go with "-O3" is to turn on vector SIMD optimizations --
> in one application we're trying to optimize, the biggest share of CPU is
> used in the ImageToImageMetric, and Shark is suggesting that the loops in
> the hot routines would benefit from vector optimizations.
>
> I don't know why or from whence the problem originates, but what it looks
> like is that the vnl_math:: constants don't get declared as variables if
> VCL_STATIC_CONST_INIT_FLOAT_NO_DEFN is defined.
>
> Now I'm no VXL library hacker,so I'm pretty much baffled by this thing.
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.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