Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSX Install Issue #255

Open
Tracked by #283
79rpm opened this issue Sep 8, 2021 · 1 comment
Open
Tracked by #283

OSX Install Issue #255

79rpm opened this issue Sep 8, 2021 · 1 comment

Comments

@79rpm
Copy link

79rpm commented Sep 8, 2021

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:

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.

What am I missing?

@sys-256
Copy link

sys-256 commented May 9, 2022

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!

image

@moriarty moriarty mentioned this issue Jun 7, 2023
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants