You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use Statismo in a project and was in the process of writing Conan recipes to build all the dependencies smoothly. I tried to make Statismo build with ITK 5.0rc01, which is the latest version available so far, but building fails with the following error (I just replaced the directory names for clarity):
Apparently using 0 to initialize a SmartPtr causes an ambiguous overload resolution issue. Now, I'm not really surprised because ITK 5 uses C++11 and the proper way would now be to use nullptr instead of 0. I don't know whether Statismo plans to move to C++11, but it might be required at some point to move to the latest ITK versions. I tried to use an older ITK version to solve the problem, but I would also have to downgrade VXL in the process...
The text was updated successfully, but these errors were encountered:
@Morwenn
Thanks for reporting this. Currently there is almost no activity in the Statismo development from the original authors, as none of us works in C++ projects at the moment. Consequently no effort has been done to make it compatible with newer ITK Versions.
There was, however, an attempt to bring statismo to c++11, which you can find in this PR #268
I believe this PR would solve many problems. The reason it is not merged yet is because it has not yet been thoroughly tested. Could you give it a try?
I tried to build the experimental C++11 branch of Statismo on top of ITK 5.0rc02 which was released a few days ago, and the problem described above still exists. Additionally some files were probably removed from ITK since including itkTransformToDisplacementFieldSource.h now fails.
I'm trying to use Statismo in a project and was in the process of writing Conan recipes to build all the dependencies smoothly. I tried to make Statismo build with ITK 5.0rc01, which is the latest version available so far, but building fails with the following error (I just replaced the directory names for clarity):
Apparently using
0
to initialize aSmartPtr
causes an ambiguous overload resolution issue. Now, I'm not really surprised because ITK 5 uses C++11 and the proper way would now be to usenullptr
instead of0
. I don't know whether Statismo plans to move to C++11, but it might be required at some point to move to the latest ITK versions. I tried to use an older ITK version to solve the problem, but I would also have to downgrade VXL in the process...The text was updated successfully, but these errors were encountered: