Comments (6)
update: it's still failing to build, also after the workaround
from ros-install-osx.
After putting in the workaround symlink, did you remove the build and devel folders for a fully clean build?
Looks like errno=22 is often tied to weird toolchain/environment configs. Can you confirm that you're using the command line tools and not XCode's GCC to compile? Please post the results of which gcc
and also env
.
from ros-install-osx.
$ ls -l $(which gcc)
-rwxr-xr-x 1 root wheel 18176 Jan 14 03:12 /usr/bin/gcc
$ env
TERM_PROGRAM=iTerm.app
SHELL=/bin/bash
TERM=xterm-256color
CLICOLOR=1
TMPDIR=/var/folders/hq/r_l8wk257_71w4rkrsj5b7d80000gn/T/
Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.n9CZMbzxl3/Render
USER=federico
RLWRAP_EDITOR=vi +%L
SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.qNPRSZNKnk/Listeners
__CF_USER_TEXT_ENCODING=0x1F5:0x0:0x0
PAGER=vimpager
PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/MacGPG2/bin:/Library/TeX/texbin
PWD=/Users/federico/indigo_desktop_full_ws
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home
EDITOR=vim
ITERM_PROFILE=Default
XPC_FLAGS=0x0
PS1=[\e[0;36m]\h:[\e[1m]\W [\e[0;36m]$[\e[0m]
HISTCONTROL=erasedups
XPC_SERVICE_NAME=0
RLWRAP_HOME=/Users/federico/.rlwrap/
SHLVL=1
HOME=/Users/federico
ECLIPSEDIR=/opt/eclipse-clp-6.1_201
LOGNAME=federico
LC_CTYPE=UTF-8
PROMPT_COMMAND=echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/~}\007"
DISPLAY=/private/tmp/com.apple.launchd.rot917xnYj/org.macosforge.xquartz:0
HISTFILE=/dev/null
_=/usr/bin/env
OLDPWD=/usr/local/Cellar/qt
from ros-install-osx.
Now I'm rebuilding, but I can already report it from the CMake output I see:
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
...
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
from ros-install-osx.
After removing build and devel, it built successfully, thanks @mikepurvis !
This was the content of /usr/local/Cellar/qt:
total 16
lrwxr-xr-x 1 federico admin 7 Mar 4 19:57 4.8.6 -> 4.8.7_2
lrwxr-xr-x 1 federico admin 7 Mar 4 17:39 4.8.7_1 -> 4.8.7_2
drwxr-xr-x 19 federico admin 646 Mar 4 17:33 4.8.7_2
from ros-install-osx.
Sweet, good to know.
from ros-install-osx.
Related Issues (20)
- Script reinstalls workspace HOT 2
- Catkin command not found HOT 4
- error: use of undeclared identifier 'logXXX' HOT 1
- Setting up Xcode for ROS
- Mojave Melodic Installation HOT 6
- Mojave install error on step: catkin config --install ...
- Build fails because of yaml-cpp versioning issue with image_common package HOT 1
- ROS installation on Mojave seems to be stuck at tapping from ros/deps, Invalid Formula.. HOT 3
- How could I remove all building files?
- ERROR: the following packages/stacks could not have their rosdep keys resolved to system dependencies: HOT 1
- rosinstall-generator requires rosdistro >=0.7.3 but has rosdistro 0.7.1
- PSA: Use Boost version between 1.61 and 1.68, ROS breaks when updating brew now HOT 1
- Questions
- PyQt5 creating problem with python2 HOT 3
- Issuing installing roslisp during OS X install
- Python@2 was deprecated in homebrew
- homebrew: command [brew install gazebo8] failed HOT 3
- Can't Get Past homebrew/cask for Install HOT 1
- Error: caskroom/cask was moved. Tap homebrew/cask-cask instead
- tap error!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ros-install-osx.