OpenGV is a collection of computer vision methods for solving geometric vision problems. It is hosted and maintained by the Mobile Perception Lab of ShanghaiTech.
When using multiple libraries using eigen, they all need to agree on the way we use memory alignment in eigen.
See https://eigen.tuxfamily.org/dox/group__TopicStlContainers.html
As we have moved to C++17, we need all libraries using eigen to be compatible with that.
The solution is simple: define a cmake cached variable, so it can be overriden.
This PR also add some missing includes, needed to build with g++ 10.
When using multiple libraries using eigen, they all need to agree on the way we use memory alignment in eigen. See https://eigen.tuxfamily.org/dox/group__TopicStlContainers.html As we have moved to C++17, we need all libraries using eigen to be compatible with that.
The solution is simple: define a cmake cached variable, so it can be overriden.
This PR also add some missing includes, needed to build with g++ 10.