ethz-asl / eigen_catkin Goto Github PK
View Code? Open in Web Editor NEWEigen convenience for catkin
License: Other
Eigen convenience for catkin
License: Other
Hello,
Your wiki on Eigen was very informative, but I have question you may be able to answer. It states that you must not link against libraries that were built using Eigen with different alignment optimization flags. For a system library how can you tell what flags were used? Also a lot of ROS package use Eigen do they all get build with the same alignment optimization flags on the ROS Build Farm?
In the CMakelists.txt file this download link is no longer available "http://bitbucket.org/eigen/eigen/get/3.3.4.tar.bz2"
I don't know if this is what causing my problem after running catkin_make.
[ 24%] Building CXX object minkindr/minkindr_python/CMakeFiles/minkindr_python.dir/src/export-rotation-quaternion.cc.o
In file included from /home/ubuntu/emvs_ws/src/numpy_eigen/include/numpy_eigen/NumpyEigenConverter.hpp:15:0,
from /home/ubuntu/emvs_ws/src/numpy_eigen/src/autogen_module/numpy_eigen_export_module.cpp:2:
/home/ubuntu/emvs_ws/src/numpy_eigen/include/numpy_eigen/boost_python_headers.hpp:23:22: fatal error: Eigen/Core: No such file or directory
compilation terminated.
In file included from /home/ubuntu/emvs_ws/src/numpy_eigen/include/numpy_eigen/NumpyEigenConverter.hpp:15:0,
from /home/ubuntu/emvs_ws/src/numpy_eigen/src/autogen_module/import_int.cpp:4:
/home/ubuntu/emvs_ws/src/numpy_eigen/include/numpy_eigen/boost_python_headers.hpp:23:22: fatal error: Eigen/Core: No such file or directory
compilation terminated.
In file included from /home/ubuntu/emvs_ws/src/minkindr/minkindr_python/src/module.cpp:1:0:
/home/ubuntu/emvs_ws/src/numpy_eigen/include/numpy_eigen/boost_python_headers.hpp:23:22: fatal error: Eigen/Core: No such file or directory
compilation terminated.
numpy_eigen/CMakeFiles/numpy_eigen.dir/build.make:75: recipe for target 'numpy_eigen/CMakeFiles/numpy_eigen.dir/src/autogen_module/import_int.cpp.o' failed
make[2]: *** [numpy_eigen/CMakeFiles/numpy_eigen.dir/src/autogen_module/import_int.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
numpy_eigen/CMakeFiles/numpy_eigen.dir/build.make:62: recipe for target 'numpy_eigen/CMakeFiles/numpy_eigen.dir/src/autogen_module/numpy_eigen_export_module.cpp.o' failed
make[2]: *** [numpy_eigen/CMakeFiles/numpy_eigen.dir/src/autogen_module/numpy_eigen_export_module.cpp.o] Error 1
minkindr/minkindr_python/CMakeFiles/minkindr_python.dir/build.make:62: recipe for target 'minkindr/minkindr_python/CMakeFiles/minkindr_python.dir/src/module.cpp.o' failed
make[2]: *** [minkindr/minkindr_python/CMakeFiles/minkindr_python.dir/src/module.cpp.o] Error 1
CMakeFiles/Makefile2:3146: recipe for target 'numpy_eigen/CMakeFiles/numpy_eigen.dir/all' failed
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [numpy_eigen/CMakeFiles/numpy_eigen.dir/all] Error 2
/home/ubuntu/emvs_ws/src/eigen_catkin_tools/eigen_catkin_info/src/eigen_catkin_info.cpp:2:22: fatal error: Eigen/Core: No such file or directory
compilation terminated.
eigen_catkin_tools/eigen_catkin_info/CMakeFiles/eigen_catkin_info.dir/build.make:62: recipe for target 'eigen_catkin_tools/eigen_catkin_info/CMakeFiles/eigen_catkin_info.dir/src/eigen_catkin_info.cpp.o' failed
make[2]: *** [eigen_catkin_tools/eigen_catkin_info/CMakeFiles/eigen_catkin_info.dir/src/eigen_catkin_info.cpp.o] Error 1
CMakeFiles/Makefile2:1502: recipe for target 'eigen_catkin_tools/eigen_catkin_info/CMakeFiles/eigen_catkin_info.dir/all' failed
make[1]: *** [eigen_catkin_tools/eigen_catkin_info/CMakeFiles/eigen_catkin_info.dir/all] Error 2
In file included from /home/ubuntu/emvs_ws/src/minkindr/minkindr_python/src/export-rotation-quaternion.cc:1:0:
/home/ubuntu/emvs_ws/src/minkindr/minkindr/include/kindr/minimal/rotation-quaternion.h:30:23: fatal error: Eigen/Dense: No such file or directory
compilation terminated.
minkindr/minkindr_python/CMakeFiles/minkindr_python.dir/build.make:75: recipe for target 'minkindr/minkindr_python/CMakeFiles/minkindr_python.dir/src/export-rotation-quaternion.cc.o' failed
make[2]: *** [minkindr/minkindr_python/CMakeFiles/minkindr_python.dir/src/export-rotation-quaternion.cc.o] Error 1
CMakeFiles/Makefile2:3228: recipe for target 'minkindr/minkindr_python/CMakeFiles/minkindr_python.dir/all' failed
make[1]: *** [minkindr/minkindr_python/CMakeFiles/minkindr_python.dir/all] Error 2
[ 24%] Built target _dvs_msgs_generate_messages_check_deps_EventArray
[ 24%] Built target _dvs_msgs_generate_messages_check_deps_Event
-- Retrying...
-- Using src='http://bitbucket.org/eigen/eigen/get/3.3.4.tar.bz2'
-- Retry after 5 seconds (attempt #2) ...
^CTraceback (most recent call last):
File "/opt/ros/kinetic/bin/catkin_make", line 298, in <module>
sys.exit(main())
File "/opt/ros/kinetic/bin/catkin_make", line 242, in main
run_command(cmd, make_path)
File "/opt/ros/kinetic/lib/python2.7/dist-packages/catkin/builder.py", line 240, in run_command
proc.wait()
File "/usr/lib/python2.7/subprocess.py", line 1392, in wait
pid, sts = _eintr_retry_call(os.waitpid, self.pid, 0)
File "/usr/lib/python2.7/subprocess.py", line 476, in _eintr_retry_call
return func(*args)
KeyboardInterrupt
eigen_catkin/CMakeFiles/eigen_src.dir/build.make:90: recipe for target 'eigen_catkin/eigen_src-prefix/src/eigen_src-stamp/eigen_src-download' failed
make[2]: *** [eigen_catkin/eigen_src-prefix/src/eigen_src-stamp/eigen_src-download] Interrupt
CMakeFiles/Makefile2:1448: recipe for target 'eigen_catkin/CMakeFiles/eigen_src.dir/all' failed
make[1]: *** [eigen_catkin/CMakeFiles/eigen_src.dir/all] Interrupt
Makefile:140: recipe for target 'all' failed
make: *** [all] Interrupt
I have a very strange problem when I compile eigen_catkin,the logs show Protocol "https" not supported or disabled in libcurl.But I type curl -V,the display https has been enabled
Thank you very much for this convenient catkin wrapper of the Eigen library - would it be possible to release it to the buildfarm for indigo and kinetic?
Thank you very much,
Wolfgang
I suggest maybe changing to a higher version, since there seems to be a bug with matrix multiplications with transposed matrices, where they don't work and just halt the program.
The easiest snippet to reproduce this bug would be:
Eigen::MatrixXd test_mat = Eigen::Matrix3d::Identity();
Eigen::MatrixXd halting = Eigen::Matrix3d::Identity() * test_mat.transpose(); // <-- halts the program execution here
This seems to happen when one or both of the multiplied matrices is an Eigen::MatrixXd
object and additionally .transpose()
is called on the right multiplied matrix for the multiplication.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.