Open 79rpm opened 3 years ago
I doubt if you're still working on this, but I had the same problem and fixed it this way:
Run sudo find / -type f | grep "catkinConfig.cmake"
(I use Linux, you'll probably have to modify this command), and once it's done run this: export CMAKE_PREFIX_PATH="$CMAKE_PREFIX_PATH:<the directory (/opt/ros/noetic/share/catkin/cmake in my case)>"
. I hope this helped!
Hello,
I am in the process of installing the serial library on x86 so I can do some emulation for an embedded project I have. I am having issues installing catkin properly, would you please let me know what to do?
I am running an older version of OSX 10.12.6. I have followed the description here: https://docs.ros.org/en/api/catkin/html/user_guide/installation.html#prerequisites
I issued the following command and my terminal:
$ pip install -U catkin_pkg Requirement already satisfied: catkin_pkg in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (0.4.23) Requirement already satisfied: pyparsing in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from catkin_pkg) (2.4.7) Requirement already satisfied: docutils in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from catkin_pkg) (0.17.1) Requirement already satisfied: python-dateutil in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from catkin_pkg) (2.8.2) Requirement already satisfied: six>=1.5 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from python-dateutil->catkin_pkg) (1.16.0)
If I call cmake from the serial directory I get the following:
$ cmake .. CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.
Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
-- The C compiler identification is AppleClang 9.0.0.9000039 -- The CXX compiler identification is AppleClang 9.0.0.9000039 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Error at CMakeLists.txt:5 (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.
What am I missing?