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 used external ITK, VTK & Eigen to build Statismo. Although I faced some problems while using external HDF5, I managed to build and run tests using ITK_HDF5 instead.
However, now I'm encountering an error while making a simple Statismo project using cmake. Could you please suggest a solution to resolve this issue?
LNK2019 error: unresolved external symbol "__declspec(dllimport) public: class H5::H5File & __cdecl H5::H5File.
Statismo is no longer actively maintained. I suspect that you will encounter all kinds of issues when trying to run it.
Have you checked out the forks (see also the README for a link to a more recent fork)?
@Andreas-Forster Are you aware of an actively maintained version of Statismo?
I am actually working with the fork from https://github.com/latimagine. However, I tried to follow the instructions as closely as possible, and the unit tests worked, but when I wanted to include it as a library, I kept having issues with HDF5.
I used external ITK, VTK & Eigen to build Statismo. Although I faced some problems while using external HDF5, I managed to build and run tests using ITK_HDF5 instead.
However, now I'm encountering an error while making a simple Statismo project using cmake. Could you please suggest a solution to resolve this issue?
LNK2019 error: unresolved external symbol "__declspec(dllimport) public: class H5::H5File & __cdecl H5::H5File.
buildshapemodel.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class H5::H5File & __cdecl H5::H5File::operator=(class H5::H5File const &)" (_imp??4H5File@H5@@QEAAAEAV01@AEBV01@@z) referenced in function "public: virtual void __cdecl statismo::DataManagerBase<class itk::Mesh<float,3,class itk::DefaultStaticMeshTraits<float,3,3,float,float,float> >,class statismo::BasicDataManager<class itk::Mesh<float,3,class itk::DefaultStaticMeshTraits<float,3,3,float,float,float> > > >::Save(class std::basic_string<char,struct std::char_traits,class std::allocator > const &)const " (?Save@?$DataManagerBase@V?$Mesh@M$02V?$DefaultStaticMeshTraits@M$02$02MMMhttps://github.com/itk@@@itk@@v?$BasicDataManager@V?$Mesh@M$02V?$DefaultStaticMeshTraits@M$02$02MMMhttps://github.com/itk@@@itk@@https://github.com/statismo@@https://github.com/statismo@@UEBAXAEBV?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@@z)
2>C:\Projects\NahomProjects\Repositories\statismo-build-examples\ITK\build\Release\statismo-app.exe : fatal error LNK1120: 1 unresolved externals
The text was updated successfully, but these errors were encountered: