-
Notifications
You must be signed in to change notification settings - Fork 773
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot build with GTSAM4.0.2 #620
Comments
You should use the Eigen version bundled in the project under |
@varunagrawal Thanks for your reply. If I use the |
Definitely try with the version provided by GTSAM. We test against that so it should work no problem. |
I tried to recompile the I think it is caused by the difference of eigen version used in |
That's exactly the issue. We do provide a cmake flag to use the system (e.g. ROS provided) eigen library so you may want to use that. |
@LiShuaixin please reopen this issue if you still have a problem. |
Description
Hi, I tried to compiled my own project using
GTSAM 4.0.2
, but failed. The program is compatible withGTSAM 4.0.0 alpha
which is also the version I've been used.It seems like the problem is caused by the difference of eigen version used in the project. Therefore, to ensure the consistency of version of
Eigen
, I installEigen 3.3.4
from the source, and recompile all libs (PCL 1.8
andGTSAM 4.0.2
) which are dependent on theEigen
. Below is the screenshot of cmake values when compiled my project andGTSAM 4.0.2
.The confused errors output:
/usr/local/include/eigen3/Eigen/src/plugins/CommonCwiseBinaryOps.h:50:1: error: no type named ‘type’ in ‘struct Eigen::internal::promote_scalar_arg<double, gtsam::SO<3>, false>’
XXXX.hpp:137:32: error: no match for ‘operator*’ (operand types are ‘const SO3 {aka const gtsam::SO<3>}’ and ‘const double’)
I also disabled the
march=native
and recompiled gtsam and my project followed by ##1, while the problem is not be solved yet.Could you please help me to figure out why this happend?
The text was updated successfully, but these errors were encountered: