Comments (23)
I tried brew install cartr/qt4/qt
and updated log4cxx
, but the error
Failed to detect successful installation of [qt]
keep poping up. I there anything else I can do to install indigo on Mac Serria?
from ros-install-osx.
You could also set ROS_CONFIGURATION=ros_base
to avoid all the GUI/sim packages for now. That isn't a long-term solution, but may help with bootstrapping in the short term.
from ros-install-osx.
Works for me on high sierra.
from ros-install-osx.
See: https://github.com/Homebrew/homebrew-core/blob/master/Formula/qt.rb#L33-L36
Per REP-003, Kinetic's requirement is for QT5: http://www.ros.org/reps/rep-0003.html#kinetic-kame-may-2016-may-2021
So perhaps try installing desktop_full for Kinetic instead, and see if there's anything still pulling in qt
instead of qt5
? A rosdep override should take care of that if so. (see https://github.com/mikepurvis/ros-install-osx/blob/master/rosdeps.yaml)
from ros-install-osx.
This would involve changing
Line 25 in 77bf795
ROS_DISTRO=${ROS_DISTRO:-indigo}
to
ROS_DISTRO=${ROS_DISTRO:-kinetic}
right?
from ros-install-osx.
Just export ROS_DISTRO=kinetic
in your terminal prior to invoking the script.
from ros-install-osx.
Hmm... It seems that brew Qt is just broken right now on macOS: Homebrew/homebrew-core#5391
I already have Qt5.7 installed system-wide, is there a way to modify the script to use that Qt instead of installing its own? This is preferable on many fronts, since it's really best not to have ROS pull in a system-wide package which will compete with an already-installed version.
from ros-install-osx.
We'll follow whatever Homebrew does (which has conventionally been not to dupe system stuff, but that seems not to be the policy so much these days).
from ros-install-osx.
Thanks. So is this an intractable problem for installing on macOS, then?
- brewed Qt4 is intentionally removed on >=10.12
- brewed Qt5 is broken
- ROS can't be pointed at local installations of Qt
- ROS can't be installed without Qt
Is there an alternate route I'm missing here?
from ros-install-osx.
P.S. It looks like Indigo with Qt4 might be doable yet: https://github.com/Homebrew/homebrew-core/pull/5216/files#diff-659a13040ca5049988275ef8f03dd6e9L33
from ros-install-osx.
Okay, rosdep
successfully completed on Indigo with a combination of brew install cartr/qt4/qt
(from Homebrew/homebrew-core#5216 (comment)) and an update to log4cxx
(see Homebrew/homebrew-core#5599 (comment)).
catkin build --limit-status-rate 1
is running right now, I'll report back here once it's done.
Update
Can't argue with success:
[build] Summary: All 194 packages succeeded!
[build] Ignored: 31 packages were skipped or are blacklisted.
[build] Warnings: 193 packages succeeded with warnings.
[build] Abandoned: None.
[build] Failed: None.
from ros-install-osx.
@mikepurvis, I've successfully resolved this problem. I don't know if you want to close this now, or leave it open until all the upstream fixes take hold. It might also make sense to check for macOS Sierra and call brew install cartr/qt4/qt
before doing rosdep
so that it grabs the right one.
from ros-install-osx.
Let's hold it open until things are fixed by default. I'd be delighted for a PR that does what you describe.
from ros-install-osx.
brewed Qt4 is intentionally removed on >=10.12
To clarify on this: Qt is unsupported on 10.12 by the creators of Qt, not just Homebrew. If they continued to support it on 10.12 we'd do so too. It will likely never have another bugfix or security release and there's known security vulnerabilities in Qt 4's WebKit.
from ros-install-osx.
@MikeMcQuaid Makes sense. As above, ROS Kinetic is supposed to depend on QT 5.3, so it's probably just a matter of working with @dirk-thomas, @wjwwood, and the other OSRF staff who maintain core ROS packagesto understand where the breakages are and correct them.
from ros-install-osx.
@mikepurvis Sure, but my concern with rerunning this script is that it might break things. ROS on macOS works for me, but only kinda-just. I've had to make subtle adjustments in certain things, and am currently playing around the Apple system python
, because according to online sources the brew'ed python has at the past been at the root of several problems which I am currently having.
However, here's what I imagine the patch would look like. I think it would land somewhere around
Line 97 in 77bf795
# Check for macOS Sierra
if [[ `sw_vers -productVersion` == *"10.12"* ]]
then
echo "Qt4 is no longer officially supported by brew. Installing an unofficial workaround, which disables Qt's Phonon. "
echo "See https://github.com/Homebrew/homebrew-core/pull/5216#issuecomment-251478385 for more information."
brew install cartr/qt4/qt
fi
from ros-install-osx.
Has anyone managed to get ROS working on OSX?
from ros-install-osx.
I have parts of it working, but it's always a brittle installation. There are things which work, but the end result was that I had to abandon ROS on macOS because it was still a little early. Keeping fingers crossed that future versions will have even wider cross-platform support.
from ros-install-osx.
There was a period where the Yosemite/Indigo installation worked pretty well. That's still what I'm using locally on my Mac.
Given that Homebrew has now abandoned QT4, I think the only reasonable path forward here is to dump Indigo, and focus on providing a QT5/Gazebo7/Kinetic solution.
I just haven't had any time to commit to it.
from ros-install-osx.
El Capitan has worked okay too... I'm waiting on this to update my mac, haha.
from ros-install-osx.
Sierra still doesn't have Qt supported yet. Don't want to try the work around yet, looking forward for the Kinetic for MacOS updates.
from ros-install-osx.
Kinetic/Lunar can now be built at least on El Cap. Please open new tickets for remaining issues connected specifically to Sierra+.
from ros-install-osx.
Yay I can update my OS version! Has the updated script version worked for anyone else?
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.