[Insight-users] vnl_math namespace issue in building ITK 4 with vxl 1.17

Matt McCormick matt.mccormick at kitware.com
Thu Feb 21 13:04:10 EST 2013


Hi Dayu,

The farsight-mint build is using a system VXL.  You can take a look
there for the ITK configuration:

  http://open.cdash.org/viewNotes.php?buildid=2818602

It is also doing a VXL submissions:

  http://open.cdash.org/viewNotes.php?buildid=2821030

HTH,
Matt

On Thu, Feb 21, 2013 at 4:45 PM, Huang, Dayu (GE Global Research)
<huang at ge.com> wrote:
> I am trying to build ITK4 using an “outside”  vxl 1.17, i.e.,
> ITK_USE_SYSTEM_VXL is ON.
>
> I run into the problem that vxl 1.17 is using a namespace for vnl_math,
> while ITK4 still looks for vnl_math_abs, vnl_math_max, etc
>
>
>
> My question is, which option can I set in Cmake in order to build itk with
> an outside vxl 1.17?
>
>
>
> I set VNL_CONFIG_LEGACY_METHODS ON, but it does not seem to work. I found
> out that VNL_CONFIG_LEGACY_METHODS is used in vnl_math.h in my “outside” vxl
> source. However, is itk using that header file?
>
>
>
> Thanks a lot for your help.
>
>
>
> dayu
>
>
>
>
> _____________________________________
> 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 Insight-users mailing list