error: ‘ScalarBinaryOpTraits’ is not a class template

Problem: Error: 'ScalarBinaryOpTraits' is not a class template occurs during compilation
insert image description hereReason: 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)

Guess you like

Origin blog.csdn.net/justinyjf/article/details/131950687