CMake Warning due to FindEigen3.cmake [closed]
Hi. Im new to ROS and Ubuntu so pardon me if i ask silly questions. I'm running on ROS Indigo and this is what i did:
Add pre-made packages (E.g.
cmake_modules
) from github using$ git clone git://github.com/ros/cmake_modules.git
Build the workspace using
$ catkin_make
(did
cd ~/catkin_ws/
before that)
The command ran ok at the beginning, until i get a series of similar CMake warnings:
CMake Warning at catkin_modules/cmake/Modules/FindEigen.cmake:62 (message):
The FindEigen.cmake Module in the cmake_modules package is deprecated.
Please use the FIndEigen3.cmake Module provided with Eigen. Change instances of find_package(Eigen) to find_package(Eigen3). Check the FindEigen3.cmake Module for the resulting Cmake variable names.
Followed by an error:
Invoking "make cmake_check_build_system" failed
My issue is i have no idea where to find that FindEigen3.cmake Module provided with Eigen
and upon checking my CMakeLists.txt
in the cmake_modules
folder i don't see any lines saying: find_package(Eigen)
or whatsoever.
Did some research over Google and ROS site and found nothing similar to my case.
Any help will be deeply appreciated. Thanks in advance!
Edit: this is what i get:
CMake Error at urg_node/CMakeLists.txt:44 (target_link_libraries):
Attempt to add link library "/opt/ros/indigo/lib/libtf.so" to target
"getID" which is not built in this directory.
CMake Error at urg_node/CMakeLists.txt:44 (target_link_libraries):
Attempt to add link library "/opt/ros/indigo/lib/libtf2_ros.so" to target
"getID" which is not built in this directory.
CMake Error at urg_node/CMakeLists.txt:44 (target_link_libraries):
Attempt to add link library "/opt/ros/indigo/lib/libactionlib.so" to target
"getID" which is not built in this directory.
CMake Error at urg_node/CMakeLists.txt:44 (target_link_libraries):
Attempt to add link library "/opt/ros/indigo/lib/libmessage_filters.so" to
target "getID" which is not built in this directory.
CMake Error at urg_node/CMakeLists.txt:44 (target_link_libraries):
Attempt to add link library "/opt/ros/indigo/lib/libtf2.so" to target
"getID" which is not built in this directory.
CMake Error at urg_node/CMakeLists.txt:44 (target_link_libraries):
Attempt to add link library "laser_proc_library" to target "getID" which is
not built in this directory.
CMake Error at urg_node/CMakeLists.txt:44 (target_link_libraries):
Attempt to add link library "laser_publisher" to target "getID" which is
not built in this directory.
CMake Error at urg_node/CMakeLists.txt:44 (target_link_libraries):
Attempt to add link library "laser_transport" to target "getID" which is
not built in this directory.
CMake Error at urg_node/CMakeLists.txt:44 (target_link_libraries):
Attempt to add link lI guess my command is this long and these are what i got:ibrary "laser_proc_ROS" to target "getID" which is not
built in this directory.
CMake Error at urg_node/CMakeLists.txt:44 (target_link_libraries):
Attempt to add link library "LaserProcNodelet" to target "getID" which is
not built in this directory.
CMake Error at urg_node/CMakeLists.txt:44 (target_link_libraries):
Attempt to add link library "/opt/ros/indigo/lib/libnodeletlib.so" to
target "getID" which is not built in this ...
Can you post the full output of your
catkin_make
command and your CMakeLists.txt ? Do you have anyCMake Error [...]
message beside theCMake Warning
you posted ? And what is your Ubuntu distribution (lsb_release -a
)?@SQ: can you please edit your question next time you have new information / updates (instead of posting an answer)? I've already merged your two posts, but please keep it in mind next time.
Roger that my bad :(