plasmodic / ecto

ecto is a dynamically configurable Directed Acyclic processing Graph (DAG) framework.
http://ecto.willowgarage.com/
BSD 3-Clause "New" or "Revised" License
97 stars 37 forks source link

installation cmake error #287

Open kaygudo opened 8 years ago

kaygudo commented 8 years ago

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:

catkinConfig.cmake
catkin-config.cmake

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?

cristianmenghi commented 7 years ago

Same error.

stonier commented 7 years ago

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.

fabrizioschiano commented 6 years ago

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.

h-arslan commented 2 years ago

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.