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
If statismo is used with an external ITK, the order of the headers need to be such that itk's itk_hdf5.h is included
first. If not, duplicate imports and/or duplicate symbols during linking can occur.
The issue is related to the order the headers are included. One needs to make sure, that the header itk_hdf5.h is always included first. This can be achieved by including the file statismoITKConfig.h as a first header file.
I just pushed a commit 5357bda, which should solve that problem. Can you give it a try and let me know if it works for you?
In a final solution, we should have a compile time error if the include order is not correct. Unfortunately I currently don't know how to do this.
The problem is related to HDF5, which is included once from ITK and once from statismo.
The text was updated successfully, but these errors were encountered: