[Insight-developers] Compilation problems with itkIntTypes.h

Tom Vercauteren tom.vercauteren at gmail.com
Thu Feb 11 14:16:23 EST 2010


Hi Luis,

Just a wild guess. This problem might be related to the use of "using
namespace" in InsightApplications code. There are quite a lot of these
in SNAP.

Hope this helps,
Tom

On Thu, Feb 11, 2010 at 20:07, Luis Ibanez <luis.ibanez at kitware.com> wrote:
> Hi Brad,
>
>
> The builds of InsightApplications are having problems
> with some types declared in itkIntTypes.h.
>
>
> In particular:
>
>
> http://www.cdash.org/CDash/viewBuildError.php?buildid=537491
>
> .../Insight/Code/Common/itkIntTypes.h:117: error:
> typedef intmax_t itk::intmax_t
>
> (this is a Linux 32bits machine).
>
>
> and
>
>
>
> http://www.cdash.org/CDash/viewBuildError.php?buildid=537473
>
> 86>C:\Program Files (x86)\Microsoft Visual Studio
> 8\VC\include\xlocnum(590) : error C2872: 'uintptr_t' : ambiguous
> symbol
>
> 86>        could be 'C:\Program Files (x86)\Microsoft Visual Studio
> 8\VC\include\vadefs.h(50) : unsigned __int64 uintptr_t'
> 86>        or 'd:\cygwin\home\ibanez\dashboards\src\insight\code\common\itkIntTypes.h(166)
> : itk::uintptr_t'
>
> (this is a Windows 64bits machine).
>
>
> Do you have any advice on how these
> compilation errors should be resolved ?
>
>
>
>    Thanks
>
>
>         Luis
> _______________________________________________
> 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