Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Adam_H_3
Beginner
129 Views

private member error with Complex header

I'm trying to build ITK 4.13.0 with icpc 2018.1.163 and am seeing the following error:

In file included from /dev/shm/ITK/4.13.0/intel-2018a-Python-2.7.14/easybuild_obj/Wrapping/itkFixedArray.cxx:1:
In file included from /dev/shm/ITK/4.13.0/intel-2018a-Python-2.7.14/ITK-4.13.0/Modules/Core/Common/include/itkCommand.h:21:
In file included from /dev/shm/ITK/4.13.0/intel-2018a-Python-2.7.14/ITK-4.13.0/Modules/Core/Common/include/itkObject.h:31:
In file included from /dev/shm/ITK/4.13.0/intel-2018a-Python-2.7.14/ITK-4.13.0/Modules/Core/Common/include/itkLightObject.h:23:
In file included from /dev/shm/ITK/4.13.0/intel-2018a-Python-2.7.14/ITK-4.13.0/Modules/Core/Common/include/itkTimeStamp.h:33:
In file included from /dev/shm/ITK/4.13.0/intel-2018a-Python-2.7.14/ITK-4.13.0/Modules/Core/Common/include/itkAtomicInt.h:38:
In file included from /dev/shm/ITK/4.13.0/intel-2018a-Python-2.7.14/ITK-4.13.0/Modules/Core/Common/include/itkAtomicIntDetail.h:39:
In file included from /dev/shm/ITK/4.13.0/intel-2018a-Python-2.7.14/ITK-4.13.0/Modules/Core/Common/include/itkConceptChecking.h:32:
In file included from /dev/shm/ITK/4.13.0/intel-2018a-Python-2.7.14/ITK-4.13.0/Modules/Core/Common/include/itkNumericTraits.h:54:
/gpfs0/mgmt/modules/eb/software/icc/2018.1.163-GCC-6.4.0-2.28/compilers_and_libraries_2018.1.163/linux/compiler/include/complex:69:24: error: '_M_value' is a private member of 'std::complex<double>'
        _M_value = __z._M_value;
                       ^
/gpfs0/mgmt/modules/eb/software/GCCcore/6.4.0/bin/../include/c++/6.4.0/complex:1344:17: note: declared private here
      _ComplexT _M_value;
                ^

The following warnings are disabled during compilation:

-w2 -wd1268 -wd981 -wd383 -wd1418 -wd1419 -wd2259 -wd1572 -wd424 -wd308

 

 

0 Kudos
1 Reply
Viet_H_Intel
Moderator
129 Views

Has ITK4.13.0 successfully built with an older version of Intel compiler before? or this is a first time you used Intel compiler?

Can you create a preprocess file for us to investigate?

Thanks,

Viet

Reply