Difference between revisions of "KDL 1.0.2 Ubuntu Install"

From Asibot & HOAP3 & TEO Wiki
Jump to navigation Jump to search
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
  wget
+
<u>Note</u>: Depends on [[Eigen 2.0.12 Ubuntu Install|Eigen2]].
 +
 
 +
  wget http://people.mech.kuleuven.be/~rsmits/kdl/orocos-kdl-1.0.2-src.tar.gz
 +
tar -zxvf orocos-kdl-1.0.2-src.tar.gz
 +
In "kdl-1.0.2/config" you'll find a file called "FindEigen2.cmake". Edit its contents for it to point to the installed Eigen2 directory, normally from /usr/include /usr/include/eigen2 to /usr/local/include /usr/local/include/eigen2.
 +
For future use, copy it to the CMake Modules path (something like ''/usr/share/cmake-2.'''x'''/Modules''). This line would be something like (change the '''x''' to your cmake version):
 +
sudo cp FindEigen2.cmake /usr/share/cmake-2.'''x'''/Modules
 +
 
 +
cd kdl-1.0.2; mkdir build; cd build
 +
cmake ..
 +
make
 +
sudo make install
 +
cd ../..

Latest revision as of 15:53, 15 July 2010

Note: Depends on Eigen2.

wget http://people.mech.kuleuven.be/~rsmits/kdl/orocos-kdl-1.0.2-src.tar.gz
tar -zxvf orocos-kdl-1.0.2-src.tar.gz

In "kdl-1.0.2/config" you'll find a file called "FindEigen2.cmake". Edit its contents for it to point to the installed Eigen2 directory, normally from /usr/include /usr/include/eigen2 to /usr/local/include /usr/local/include/eigen2. For future use, copy it to the CMake Modules path (something like /usr/share/cmake-2.x/Modules). This line would be something like (change the x to your cmake version):

sudo cp FindEigen2.cmake /usr/share/cmake-2.x/Modules
cd kdl-1.0.2; mkdir build; cd build
cmake ..
make
sudo make install
cd ../..