required from here
/usr/local/include/eigen3/Eigen/src/Core/util/StaticAssert.h:32:40: error: static assertion failed: YOU_MIXED_DIFFERENT_NUMERIC_TYPES__YOU_NEED_TO_USE_THE_CAST_METHOD_OF_MATRIXBASE_TO_CAST_NUMERIC_TYPES_EXPLICITLY
#define EIGEN_STATIC_ASSERT(X,MSG) static_assert(X,#MSG);
我这边是因为eigen库的格式问题。Vector3f与Vector3d,Quaternionf与Quaternion,Matrix4f与Matrix4d
这种。如果你的并不是因为这个问题还请留言,我想收集一下。