Problem: Error: 'ScalarBinaryOpTraits' is not a class template occurs during compilation
Reason: The Eigen version when installing and compiling Ceres is inconsistent with the Eigen version in the current system
Solution: Change the Ceres version to 1.14, after personal testing, 1.14 version is the most compatible. (My original is Ceres2.1.0)
error: ‘ScalarBinaryOpTraits’ is not a class template
Guess you like
Origin blog.csdn.net/justinyjf/article/details/131950687
Ranking