junhyeokahn / PnC

Planning and Control Algorithms for Robotics
MIT License
56 stars 12 forks source link

complie issue with Eigen version #3

Closed Jaemin87 closed 3 years ago

Jaemin87 commented 3 years ago

In the master branch, "util.cpp" utilizes "Eigen::CompleteOrthogonalDecomposition" This expression of the class is valid only in Eigen 3.3.X ( I tried to complie this code in Eigen 3.2.X and Eigen 3.4.X. But I can see compile errors related to this construction.) please inform that users using Ubuntu 16.04 need to specify the Eigen version. Because "sudo apt-get install libeigen3-dev" provides Eigen 3.2.X in Ubuntu 16.04.

junhyeokahn commented 3 years ago

I just checked Eigen 3.2.X does not have Eigen::CompleteOrthogonalDecomposition but the Eigen 3.3.X and 3.4.X do have.

I have added the minimum Eigen version in the top-level CMakeLists.txt to enforce using the right version.

Thanks!