2015-08-07 1 views
0

Salut, je suis en train d'installer ERO sur mon Mac en utilisant l'installation de homebrew.While je reçu ce message:eigen3 manquant Erreur lors de l'installation ERO

CMake Error at CMakeLists.txt:7 (find_package): 
By not providing "FindEigen3.cmake" in CMAKE_MODULE_PATH this project has 
asked CMake to find a package configuration file provided by "Eigen3", but 
CMake did not find one 
Could not find a package configuration file provided by "Eigen3" with any 
of the following names: 
Eigen3Config.cmake 
eigen3-config.cmake 
Add the installation prefix of "Eigen3" to CMAKE_PREFIX_PATH or set 
"Eigen3_DIR" to a directory containing one of the above files. If "Eigen3" 
provides a separate development package or SDK, be sure it has been 
installed. 
-- Configuring incomplete, errors occurred! 
See also "/Users/Jishnu/ros_catkin_ws/build_isolated/pcl_ros/CMakeFiles/CMakeOutput.log". 
<== Failed to process package 'pcl_ros': 
Command '['/Users/Jishnu/ros_catkin_ws/install_isolated/env.sh', ' cmake',  '/Users/Jishnu/ros_catkin_ws/src/perception_pcl/pcl_ros', '- DCATKIN_DEVEL_PREFIX=/Users/Jishnu/ros_catkin_ws/devel_isolated/pcl_ros', '-DCMAKE_INSTALL_PREFIX=/Users/Jishnu/ros_catkin_ws/install_isolated', '-DCMAKE_BUILD_TYPE=Release', '-G', 'Unix Makefiles']' returned non-zero exit status 1 

Je suis un débutant dans ERO, donc quelqu'un pourrait aider s'il vous plaît moi avec ça. J'ai vérifié si Eigen est installé, la version 3.2.4 est déjà installée

+0

double possible [Impossible de trouver une configuration de package fichier fourni par "Eigen3"] (http://stackoverflow.com/questions/31774034/could-not-find-a-package-configuration-file-provided-by-eigen3) – luator

Répondre

2

This a résolu le problème pour moi.

Il semble que cela a été résolu, mais je vais partager comment je suis arrivé ce travail: Ailleurs dans le ros construire l'espace de travail que je trouve une copie de FindEigen3.cmake:

ros_catkin_ws $ cp src /orocos_kinematics_dynamics/orocos_kdl/config/FindEigen3.cmake
src/perception_pcl/pcl_ros/cfg/Ensuite, je l'ai enlevé les éléments suivants de CMakeLists:

find_package (3 Eigen obligatoire) avec ces Remplacement lignes du orocos CMakeLists

find_package (3 Eigen calme) si (PAS Eigen_FOUND)
comprennent ($ {} PROJ_SOURCE_DIR /cfg/FindEigen3.cmake)
set (Eigen_INCLUDE_DIR $ {} EIGEN3_INCLUDE_DIR) endif() include_directories ($ {Eigen_INCLUDE_DIR}) Pour être parfaitement honnête, j'ai n'a pas changé config -> cfg quand j'ai fait ma construction, mais il semble avoir travaillé .