Giter Site home page Giter Site logo

Comments (6)

fferri avatar fferri commented on June 4, 2024

update: it's still failing to build, also after the workaround

from ros-install-osx.

mikepurvis avatar mikepurvis commented on June 4, 2024

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.

fferri avatar fferri commented on June 4, 2024

$ 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.

fferri avatar fferri commented on June 4, 2024

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.

fferri avatar fferri commented on June 4, 2024

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.

mikepurvis avatar mikepurvis commented on June 4, 2024

Sweet, good to know.

from ros-install-osx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.