在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:mikepurvis/ros-install-osx开源软件地址:https://github.com/mikepurvis/ros-install-osx开源编程语言:Shell 100.0%开源软件介绍:ros-install-osxThis repo aims to maintain a usable, scripted, up-to-date installation procedure for
ROS, currently Lunar. The intent is that the This is the successor to my popular gist on the same topic. Usagegit clone https://github.com/mikepurvis/ros-install-osx.git
cd ros-install-osx
./install Note that if you do not yet have XQuartz installed, you will be forced to log out and in after that installation, and re-run this script. You will be prompted for your sudo password at the following points in this process:
The installation can be done entirely without sudo if Homebrew and XQuartz are already
installed, rosdep is already installed and initialized, and you set the Step by StepThe If you have a build fail, for example with rviz, note that you can modify the
If you've resolved whatever issue stopped the build previously, this will pick up where it left off. TroubleshootingPython and pip packagesAlready-installed homebrew and pip packages are the most significant source of errors, especially pip packages linked against the system Python rather than Homebrew's Python, and Homebrew packages (like Ogre) where multiple versions end up installed, and things which depend on them end up linked to the different versions. If you have MacPorts or Fink installed, and Python from either of those is in your path, that will definitely be trouble. The script makes some attempt at detecting and warning about these situations, but some problems of this kind will only be visible as segfaults at runtime. Unfortunately, it's pretty destructive to do so, but the most reliable way to give yourself a clean start is removing the current homebrew installation, and all currently-installed pip packages. For pip: For homebrew, see the following: https://gist.github.com/mxcl/1173223 If you take these steps, obviously also remove your ROS workspace and start the install
process over from scratch as well. Finally, audit your which python # Should result in /usr/local/bin/python
ls -l $(which python) # Should show a symlink pointing to Homebrew's Cellar If you are getting permission errors when you El Capitan supportThe library not found for -ltbbSee Issue #4. You need to compile using Xcode's Command Line Tools: xcode-select --install # Install the Command Line Tools
sudo xcode-select -s /Library/Developer/CommandLineTools # Switch to using them
gcc --version # Verify that you are compiling using Command Line Tools The last command should output something that includes the following: Configured with: --prefix=/Library/Developer/CommandLineTools/usr You'll then have to rerun the entire rm -rf /opt/ros/indigo/* # More generally, /opt/ros/${ROS_DISTRO}/*
rm -rf build/ devel/ # Assuming your working dir is the catkin workspace
catkin build \
... # See actual script for the 4-line-long command dyld: Library not loadedIf you see this after installation, when trying to execute |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论