I am getting the following error messages when I compile demBones in VS2019:
Error: Dem::DemBones: use of class templates requires template argument list
Error C2352 'Dem::DemBones<_Scalar,_AniMeshScalar>::clear': illegal call of non-static member function cmt C:\Users\max\source\repos\cmt\src\DemBones\DemBonesExt.h 108
Hello,
I am getting the following error messages when I compile demBones in VS2019:
Error: Dem::DemBones: use of class templates requires template argument list
Error C2352 'Dem::DemBones<_Scalar,_AniMeshScalar>::clear': illegal call of non-static member function cmt C:\Users\max\source\repos\cmt\src\DemBones\DemBonesExt.h 108
The line error is in bold text.
DemBonesExt.h ... /* @brief Clear all data / void clear() { fTime.resize(0); boneName.resize(0); parent.resize(0); bind.resize(0, 0); preMulInv.resize(0, 0); rotOrder.resize(0, 0); DemBones::clear(); }
Any idea? Thx, Max