-
Notifications
You must be signed in to change notification settings - Fork 28
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
error with cmake (using eigen from gtsam) #17
Comments
What stage of the installation process as described by the wiki page was this? Are you specifying omni mapper to build using the same 3rdparty/Eigen folder gtsam ships with? |
It was "Build OmniMapper Base", however same error also when compiling pcl. I did pcl with PPA though. |
I remember gtsam and package installed pcl having issues with each other, as gtsam ships with a patched version of Eigen that has not been ported upstream in Eigen (last I checked, but that was a year ago). Take a look at the last revision of the Dockerfiles (the I'm not sure if this still works, but I plan on revisiting the Dockerfiles in a week or so to update them to use the official ros images. Let me know how it goes. |
COPY HouseholderQR.h /usr/include/eigen3/Eigen/src/QR/HouseholderQR.h Did you mean these lines? Where do I get the packed headers from? 2016-04-29 13:11 GMT-04:00 Ruffin [email protected]:
|
Actually, I think the error might be these lines in FindEigen.cmake: if(EIGEN_INCLUDE_DIR) string(REGEX MATCH "define[ \t]+EIGEN_WORLD_VERSION[ \t]+([0-9]+)" If I simply comment these lines, cmake .. will work, however compile failed 2016-04-29 13:28 GMT-04:00 shi bai [email protected]:
|
The patched headers are in the same folder for the docker build context: If you use say cmake-qt-gui or cmake-gui to configure cmake, do you see the eigen path properly pointed to that of gtsam's in it 3rdparty folder? |
yes, I think I have the correct path for eigen, please find the details in In file included from /usr/include/pcl-1.7/pcl/common/common.h:41:0, Not sure whether it is something wrong with Eigen path. 2016-04-29 16:25 GMT-04:00 Ruffin [email protected]:
|
I think you're using email reply to this issue, although github issue threads do use attachment, perhaps use something like pastebin? I'll have to check if i can reproduce this with the current debian packages for trusty when I refactor the dockerfiles. |
Oops, sorry for missing the attachment, yes I did reply to email. Please find it here, I hope this time it will work. Sorry I am not familiar with pastebin, so I put it onto google drive. Thanks! |
Any workaround to this issue? I can't run any PCL code due to this error |
Hi, I run into error when doing cmake in pcl with eigen from gtsam(Ubuntu 14.04 & Indigo):
CMake Error at cmake/Modules/FindEigen.cmake:29 (file):
file Internal CMake error when trying to open file:
/home/bona/software/gtsam-3.1.0/gtsam/3rdparty/Eigen/Eigen/src/Core/util/Macros.h
and "cmake -DEIGEN_INCLUDE_DIR="~/software/gtsam-3.1.0/gtsam/3rdparty/Eigen" .." failed.
Any suggestion?
Thanks.
The text was updated successfully, but these errors were encountered: