Open kaygudo opened 8 years ago
Same error.
Make sure you source the ros environment as per the documentation:
source /opt/ros/indigo/setup.bash
That will make sure that the cmake modules installed in the /opt/ros/
root get onto cmake's lookup path. You could alternatively just update your CMAKE_MODULE_PATH
directly to find it at /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake
.
This issue helped me to solve a problem therefore I will add also my experience. It is not related to this specific project but, if you are using QTcreator (for example) to run your CMakeLists.txt I needed to open QT from terminal to make the .bashrc file to work otherwise (if I run qtCreator from the UBUNTU application window it did not work and I had the same problem described in this issue.
It is a bit late response but it may help others, I noticed that error occurs because of the permissions of build folder. When I changed it to 777 by "sudo chmod 777 build/" then run the cmake, it worked fine.
I followed the documentation, after git cloning and making the build folder, when i try to execute "cmake .." i get following error:
CMake Error at CMakeLists.txt:32 (find_package): By not providing "Findcatkin.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "catkin", but CMake did not find one.
Could not find a package configuration file provided by "catkin" with any of the following names:
Add the installation prefix of "catkin" to CMAKE_PREFIX_PATH or set "catkin_DIR" to a directory containing one of the above files. If "catkin" provides a separate development package or SDK, be sure it has been installed.
-- Configuring incomplete, errors occurred!
Any suggestions? Is ecto dependent on catkin and ros? can't we install it and run ecto without it?