[Insight-users] Installation problem

Matt McCormick matt.mccormick at kitware.com
Thu Jan 10 11:48:01 EST 2013


Hi Dahai Xue,

std::ptrdiff_t is a member of the cstddef header:

  http://www.cplusplus.com/reference/cstddef/ptrdiff_t/

ITK 4.3.1 is building fine on VS 2008:

  http://open.cdash.org/index.php?project=Insight

Are the errors you are seeing when building ITK or an application that uses ITK?

Thanks,
Matt


On Thu, Jan 10, 2013 at 9:08 AM, Xue, Dahai <dahai_xue at merck.com> wrote:
> Hi there,
>
> I am installing the newest ITK 4.3 to my workstation but keep failing. I
> wonder if anybody can tell me what is the problem.
>
> Machine: Dual Core AMD64 Operan (from HP, xw9400 workstation), 40GB RAM
> OS: Microsoft Window XP professional x64 Edition, Version 2003 Service Pack
> 2
> Compiler: Microsoft Visual Studio 2008 Professional, Version 9.0.x, MS .NET
> Framework Version 3.5 SP1
>
> CMake 2.8 (latest download)
> ITK 4.3.1 (latest zip download)
>
> I chose mostly the default options for CMake except selected Release Mode.
>
> During compilation, there are many many repeated error message reads like
> this:
> …. : error C2653: ‘std’ : is not a class or namespace name
> …. : error C2868: ‘size_t’ : illegal syntax for using-declaration; expected
> qualified name
>
> …. : error C2039: ‘ptrdiff_t’ : is not a member of ‘std’
> …. : error C2873: ‘ptrdiff_t’ : symbol cannot be used in a using-declaration
>
> The system compiles 64 bit applications fine, and it worked a few years ago
> for ITK 3.x. I searched for ptrdiff_t, and could not find it in my VS
> system. Is this a new function that is not available? Can we turn it off?
>
> Thank you very much.
> Dahai Xue
>
>
> Notice:  This e-mail message, together with any attachments, contains
> information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station,
> New Jersey, USA 08889), and/or its affiliates Direct contact information
> for affiliates is available at
> http://www.merck.com/contact/contacts.html) that may be confidential,
> proprietary copyrighted and/or legally privileged. It is intended solely
> for the use of the individual or entity named on this message. If you are
> not the intended recipient, and have received this message in error,
> please notify us immediately by reply e-mail and then delete it from
> your system.
>
>
> _____________________________________
> 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