[Insight-users] Compile bug with latest cvs

Luis Ibanez luis.ibanez at kitware.com
Mon Apr 6 13:47:43 EDT 2009


Hi John,


       Thanks for reporting this problem.


Could you please be a bit more generous with your
description of the circumstances ?


A) Should we assume that you are doing this on Windows ?


B) and using the Visual Studio 8 compiler ?


C) Do you get this error when building ITK itself ?


D) or when building an external application ?


For the record, we build ITK with Visual Studio 8
Nightly (see redwall.kitware).


E) Your email subject says "latest cvs", but your
    directory name says "3.12".  Could you please
    confirm which version is it ?


    Thanks


       Luis


---------------------
John Drescher wrote:
> 2>Project not selected to build for this solution configuration
> 1>SystemInformation.cxx
> 1>..\..\..\..\..\CMakeBased\Libraries\InsightToolkit-3.12.0\Utilities\kwsys\SystemInformation.cxx(321)
> : error C2556: 'unsigned int
> itksys::SystemInformation::GetLogicalProcessorsPerPhysical(void)' :
> overloaded function differs only by return type from 'int
> itksys::SystemInformation::GetLogicalProcessorsPerPhysical(void)'
> 1>        E:\Programming\VC.80\Libraries\ITK-3.12\Utilities\itksys/SystemInformation.hxx(50)
> : see declaration of
> 'itksys::SystemInformation::GetLogicalProcessorsPerPhysical'
> 1>..\..\..\..\..\CMakeBased\Libraries\InsightToolkit-3.12.0\Utilities\kwsys\SystemInformation.cxx(321)
> : error C2371: 'itksys::SystemInformation::GetLogicalProcessorsPerPhysical'
> : redefinition; different basic types
> 1>        E:\Programming\VC.80\Libraries\ITK-3.12\Utilities\itksys/SystemInformation.hxx(50)
> : see declaration of
> 'itksys::SystemInformation::GetLogicalProcessorsPerPhysical'
> 1>Build log was saved at
> "file://e:\Programming\VC.80\Libraries\ITK-3.12\Utilities\kwsys\itksys.dir\RelWithDebInfo\BuildLog.htm"
> 1>itksys - 2 error(s), 0 warning(s)
> 


More information about the Insight-users mailing list