SuperElastix / SimpleElastix

Multi-lingual medical image registration library
http://simpleelastix.github.io
Apache License 2.0
509 stars 149 forks source link

SimpleElastix windows build error #406

Open tenres opened 3 years ago

tenres commented 3 years ago

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

DaniTeleco commented 3 years ago

Exactly same problem here. But Windows 10, MSVS2015.

WistanMarch commented 3 years ago

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 ?

xiaojingyu19998 commented 2 years ago

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