Skip to content
Snippets Groups Projects
Commit cea5a27d authored by Angel Santamaria-Navarro's avatar Angel Santamaria-Navarro
Browse files

Moved to Eigen3

parent cf889b7a
No related branches found
No related tags found
No related merge requests found
......@@ -20,18 +20,18 @@ set(Boost_USE_STATIC_RUNTIME OFF)
FIND_PACKAGE(Boost REQUIRED)
# Eigen #######
FIND_PACKAGE(Eigen REQUIRED)
FIND_PACKAGE(Eigen3 REQUIRED)
SET(CMAKE_BUILD_TYPE release)
# add the necessary include directories
INCLUDE_DIRECTORIES(. ${EIGEN_INCLUDE_DIR} ${Boost_INCLUDE_DIRS})
INCLUDE_DIRECTORIES(. ${EIGEN3_INCLUDE_DIR} ${Boost_INCLUDE_DIRS})
# create the shared library
ADD_LIBRARY(quadarm_task_priority_ctrl SHARED ${sources})
#TARGET_LINK_LIBRARIES(quadarm_task_priority_ctrl ${EIGEN_LIBRARY} ${Boost_LIBRARIES} orocos-kdl)
TARGET_LINK_LIBRARIES(quadarm_task_priority_ctrl ${EIGEN_LIBRARY} ${Boost_LIBRARIES})
TARGET_LINK_LIBRARIES(quadarm_task_priority_ctrl ${EIGEN3_LIBRARY} ${Boost_LIBRARIES})
# link necessary libraries
......
......@@ -9,9 +9,9 @@
#include <sstream>
#include <pwd.h>
#include <math.h>
#include <Eigen/Dense>
#include <Eigen/Eigenvalues>
#include <Eigen/SVD>
#include <eigen3/Eigen/Dense>
#include <eigen3/Eigen/Eigenvalues>
#include <eigen3/Eigen/SVD>
#include <sys/stat.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment