SimpleElastix icon indicating copy to clipboard operation
SimpleElastix copied to clipboard

SimpleElastix windows build error

Open tenres opened this issue 4 years ago • 3 comments

Hello,

Thank you for creating this library and making it available. I am looking to build SimpleElastix in windows using the instructions at https://simpleelastix.readthedocs.io/GettingStarted.html. The compilation results in 72 errors. Many of them throw an error message similar to the below:

itkImageToVectorContainerFilter.hxx(231): error C2664: 'void itk::MultiThreaderBase::SetSi ngleMethod(itk::ThreadFunctionType,void *)': cannot convert argument 1 from 'it k::ITK_THREAD_RETURN_TYPE (__cdecl *)(void *)' to 'itk::ThreadFunctionType' [xx\Elastix-build\Components\Transforms\Weighted CombinationTransform\WeightedCombinationTransformElastix.vcxproj] [xx\Elastix.vcxproj]

Have you seen this before? Any pointers would be helpful. Thank you.

OS: Windows 7 MSVS 2017

tenres avatar Nov 19 '20 20:11 tenres

Exactly same problem here. But Windows 10, MSVS2015.

DaniTeleco avatar Nov 30 '20 08:11 DaniTeleco

Hello, I have the exact same issue with Win10 and MSVS 2017. I also tried compiling with the VS interface, like in the 'Getting Started', but the file '_SimpleITK.pyd' does not exist anywhere.

Any ideas ?

WistanMarch avatar May 20 '21 14:05 WistanMarch

Did anyone solved this problem?I have the exact same issue with Win10 and VS 2017.

xiaojingyu19998 avatar Sep 08 '21 13:09 xiaojingyu19998