izhengfan.github.io
                                
                                 izhengfan.github.io copied to clipboard
                                
                                    izhengfan.github.io copied to clipboard
                            
                            
                            
                        a question about SLAM Implementation: Bundle Adjustment with g2o
I compile the ba_demo on my laptop but it report an error as follows:

and cmake report it can find eigen3

Hello, the different versions of Eigen might sometimes confuse the find_package command of cmake. So I suggest you just put /usr/include/eigen3 in include_directories of your CMakeLists.txt