CMake Error: CMAKE_MODULE_PATH does not contain Findcatkin.cmake
I'm trying to install rviz from source. It seems a lot of packages are missing from my installation of ROS from source. So, I worked my way through the github repository, cloned the corresponding folders, copied them into /opt/ros/..., and ran cmake to build the packages from source. This worked fine until the package "genpy" where cmake gives the following error:
CMake Error at CMakeLists.txt:4 (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.
Were you able to fix this problem? I get the same error with suitesparse.
I'm also having this issue, has anyone found a working solution? (nothing listed below works for me)
@M@t this is a very old solved question. It doesn't make sense to try to revive this. Please ask your question as a new question with full details on how to reproduce it. http://wiki.ros.org/Support
There seems to already be a few questions with this same issue that exist, such as this question, so I'm reluctant to open a duplicate question. Unfortunately, the answer given doesn't work for me.
I'll keep searching for an answer, and if I find one I'll reopen the question linked above and give a full answer. If not, I'll take your suggestion and open a fresh question.
The problem you're running into is very generic. The catkinConfig.cmake is not on your CMAKE_PREFIX_PATH. The question is why it's not on your path. The only way to know that is to have enough information to reproduce the problem you are having exactly, since it's likely a procedural error.
I see, I'll start collecting everything I need to make a proper question. Thanks for the help, I appreciate it.