Problems installing KDL (eigen2)
Submitted by focke_85 on Tue, 2011-07-12 13:59 |
Hi all
I'm trying to install the KDL using ccmake (as shown in the KDL-Installation-page), but I am getting the followng error:
Orocos KDL version (1.1.99) Build type set to 'Release' by user. CMake Error at config/FindEigen2.cmake:6 (MESSAGE): -- Looking for Eigen2 - not found Call Stack (most recent call first): CMakeLists.txt:47 (INCLUDE)I installed the eigen2 version 2.0.16 doing following this steps after extracting it:
cd home/user/OROCOS_KDL/eigen2/eigen-eigen-9ca09dbd70ce/ mkdir build_dir ; cd build_dir cmake /home/user/OROCOS_KDL/eigen2/eigen-eigen-9ca09dbd70ce sudo make install
I saw in other forum entries that some people had the same problem, and they solved it just inserting
export CMAKE_INCLUDE_PATH=/usr/local/include/eigen2
But it didn't work with me (I don't even have a folder /usr/local/include/eigen2). I guess I am doing something wrong in the eigen2 installation. I hope some of you can help me with this. If you can, I will appreciate if you use a bit detailed explanation, since I'm new with Linux and it's commands.
Thanks in advance,
Santiago
FW:Problems installing KDL (eigen2)
Hi... I managed to skip the error changing the first line of code of the file 'config/FindEigen2.cmake', adding some paths:
FIND_PATH(EIGEN2_INCLUDE_DIR Eigen/Core /usr/include /usr/include/eigen2 /usr/local/include /usr/local/include/eigen2)
I don't know if that a suitable solution. If not please inform me.
Regards,
Santiago
FW:Problems installing KDL (eigen2)
On Jul 12, 2011, at 10:01 AM, <focke [dot] 85 [..] ...> <focke [dot] 85 [..] ...> wrote:
> Hi... I managed to skip the error changing the first line of code of the file 'config/FindEigen2.cmake', adding some paths:
>
>
FIND_PATH(EIGEN2_INCLUDE_DIR Eigen/Core /usr/include /usr/include/eigen2 /usr/local/include /usr/local/include/eigen2)
>
> I don't know if that a suitable solution. If not please inform me.
>
> Regards,
>
> Santiago
FW:Problems installing KDL (eigen2)
Hi
Well I don't if it worked, because now I include in my project the KDL headers
and I get compiling errors regarding Eigen/Core:
/usr/local/include/kdl/jacobian.hpp:26:22: error: Eigen/Core: No such file or directory
I just added the includes in my header file. I don't know if its a installation problem, or that maybe I should do something in my project files (like for example the cmakelist) to use the KDL headers.
BR,
Santiago