-
Notifications
You must be signed in to change notification settings - Fork 114
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
macOS High Sierra installation #116
Comments
Hi @neuropacabra, |
Hi @grafoteka it is great to hear :-) i mean it. I read all over the place that everyone can run ROS under macOS High Sierra, but I have actually never seen anyone around me to successfully run it. One way (I am thinking about) is Docker. But even with Docker I had no luck. Unfortunately I have latest Macbook Pro 2017 which has basically no Linux support (no susspension, no audio, no inbuild peripherals etc.) |
This dockerfile will easily run the command line options but no GUI
|
I am using it natively on mac High Sierra with Rviz, Rqt, Moveit. It's possible but you will have to look around issues of each git repo. |
@horagong Can you please guide me a little? This is what I tried so far. It did not work for me at all.[ |
I would highly recommend installing Lunar, which works almost out-of-the-box. |
@berkaydeniz OK, finally I got into complitation :-) I stucked on |
@neuropacabra, unfortunately I don't have any advice on this matter because I didn't have such a problem. One grave advice I can give you is, in order for this to work with little to no problem, you kinda need to wipe out everything you installed before. Last time I used this script, I started with a fresh OS X installation. The correct version of boost should be installed by the script itself. The problem you are having is potentially due to a previous installation of the library messing things up but this is just speculation. |
@berkaydeniz Oh, I was thinking about this 👍 I will try in virtual and then I will write a report in case anyone would find it useful. Thanks a lot! |
I have just tried to install ros in Parallels Desktop with clean High Sierra install and it didn't work. Error still be rostime and it is the same error as I saw before. Sorry for my poor English. |
@IcyZKunGz I have same experience. I was able to cpmpile like 36 out of 250 packages. I always endup with Without |
@neuropacabra I ran into the same problem, I was able to compile it with boost 1.63. Ros-lunar does not seem to be compatible with boost 1.67
|
@NcJie I have try your tips, but I have the next error: Errors << rostime:make /Users/jorge/Downloads/ros-install-osx/lunar_desktop_full_ws/logs/rostime/build.make.000.log And I can only compile 33 packages. |
@NcJie I followed your advice and @grafoteka I used to have error like you. I recheck boost version and it stills 1.67. |
For the |
did anyone build ROS (kinetic or lunar) on Mac OS using anaconda's environment rather than 'brew' python? |
@NcJie I can go to boost 1.63. but trying to install boost-python 1.63 gives me errors that I cannot understand/fix:
it seems to try to install it for python3. but I want just python2. and i do not seem to have any way of telling it to ignore python3 |
re: above comment. I have given up on trying to use 'conda' env with python 2.7. reinstalled brew and now trying to make the |
There is a PR going-on: ros/roscpp_core#79. It might allow you to use only boost 1.67, I did not try. |
Can Homebrew let you install versions other than the current one? I thought you could pretty much just switch between linking the different versions you happened to already have present on your machine. In any case, my preference would be to see the issue with Boost 1.67 resolved. |
right, I think it is enough to just have boost 1.63. boost-python that I have is 1.67 and i can go past that boost compile error |
i can install older versions of boost and boost-python as suggested by @NcJie . but boost-python does not install. shows the error highlighed above |
I managed to install (semi-manually) boost-python/boost 1.64. now I get the following, which relates to Apple Clang, as it seems:
did anyone see/overcome this? |
this is this issue: ros-perception/image_common#78 |
fixed by using ' -DCMAKE_CXX_STANDARD=14 ' in catkin config |
|
fixed by installing brew formula from python@2 2.7.14_3 |
Do you have any error about |
actually yes, I see this :(
```
process[rosout-1]: started with pid [677]
libc++abi.dylib: terminating with uncaught exception of type std::length_error: vector
[rosout-1] process has died [pid 677, exit code -6, cmd /opt/ros/lunar/lib/rosout/rosout __name:=rosout __log:=/Users/alexeysimonov/.ros/log/3831b011-5447-11e8-9dcd-00909e9aa5f9/rosout-1.log].
log file: /Users/alexeysimonov/.ros/log/3831b011-5447-11e8-9dcd-00909e9aa5f9/rosout-1*.log
```
|
As an additional note, on |
@berkaydeniz Awesome, thank you for powering through with this! Please send a PR which makes the necessary modifications so that Melodic works. :) |
That would be awesome to have it work on mac!!
…_____________________________
Kind Regards,
Alexey Simonov
On 15 Jun 2018, at 20:02, Mike Purvis ***@***.***> wrote:
@berkaydeniz Awesome, thank you for powering through with this! Please send a PR which makes the necessary modifications so that Melodic works. :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Hey everyone, I'm trying to get Melodic to work on High Sierra and your notes have been incredibly helpful. What is the best way that you've all found to fix all the float vs uint32? Are you just manually editing the downloaded source files and then rerun the catkin build (without rerunning the ros-install-osx ./install script which rebuilds the workspace overwriting any changes I've made to the source files)? |
@cmaclell after the install reached the catkin build phase, after every error, I corrected the problems, and ran @mikepurvis I will properly create forks with fixes to be included in the modified install script, test it and create a PR as soon as I can. |
@berkaydeniz Thanks. Also, you mention adding Ah, nevermind, I found them in For the record, I was able to get everything working and am now up and running on MacOS High Sierra, thanks for all your breadcrumbs 👍 |
@berkaydeniz Hi. I would like to collaborate on getting melodic to work on high Sierra with you. Can you send me a message and lets divide up the workload and prepare a wiki/doc to get stuff moving? |
For the record:
fix the boost_python cmake problem with Boost 1.67 as suggested in #116 (comment). I did not find this thread before. |
@meyerj, I have pull requests with exact same fixes linked above under my June 15 comment. I will try to submit a PR within the next 48 hours. |
@meyerj after looking at your approach, it makes more sense to me, I will close my pull requests for those repositories and use yours. One question, though, why do you think your pull request for image_common fails the Travis CI check? |
I volunteer in any case of testing and especially writing documentation - finalize a sh script. |
pull request created: #126 |
hi! roscore can start ok. cannot start rviz. should it be available just by running rviz? PS |
hey, your existing homebrew explains why you needed to run several commands manually, it will manually make you upgrade packages you have. I would recommend purging homebrew and trying again. I think there are still two instances the script fails with homebrew telling you what to do. You simply run the given command and then run the install script again. One of these is that weird force linking of pyyaml and the other happens only when you start after purging homebrew. Especially once you reach catkin you shouldn't need to interfere. roscore, message interfaces, rviz, gazebo, rqt_plot, rqt_tree are all working for me. as long as you source your .bash_profile, just rviz should be enough. |
the pull request works for me! I had to purge Homebrew to make it happen. High Sierra 10.13.6
|
Hi all, Unfortunately, I have the error:
I have read this issue #1357 but my files are like that. Also, if I want to launch Gazebo, I have the next error:
Has anyone else had the same problem? Thank you, |
@grafoteka Hi! Awesome! Can you provide a way how did you installed? |
Hi @michtesar sure! I will try to explain you in the next lines. I have an MacBook Pro early 2011, with 16GB RAM and SSD, and a fresh installation of OSX High Sierra. I download this repo and start the installation with the script ./install. Here are the next errors that I had:
Solution: sudo xcodebuild -license accept
Solution: Log out and init session
Solution:
Solution:
Solution:
Solution:
Solution:
Solution:
Solution: Errors compiling ROS:Every time I had an error compiling because a package was not found, I start again compiling from that package. Like in the next example:
Solution:
Solution:
Once, you have compile the compile everything, if you have the error that:
After that, I was able to launch ros core and some packages, but with the problems that there were no connections to localhost. (I don't remember the correct error, but was similar) Also, installing boost 1.63 I think that is the fail by which Gazebo 8 can't be started. Hope this can help you. Then, you have to do a new catkin build. |
Hi all! I continue trying to install ROS in my mac. Now, I'm having the laser_assembler error. I have read the solution from @berkaydeniz, but I don't understand exactly where to modify unit32_t I change in line 138:
Can someone guide me with this error? Thank you, Jorge |
you can have a look at the change I was pointing at in the pull request:
https://github.com/berkaydeniz/ros-install-osx/blob/master/install
scroll down to line 170
…On Thu, Oct 18, 2018 at 8:54 PM Jorge De León Rivas < ***@***.***> wrote:
Hi all! I continue trying to install ROS in my mac.
Now, I'm having the *laser_assembler* error.
I have read the solution from @berkaydeniz
<https://github.com/berkaydeniz>, but I don't understand exactly where to
modify *unit32_t*
I change in line 138:
uint32_t result = RUN_ALL_TESTS();
But still having the same problem.
Can someone guide me with this error?
Thank you, Jorge
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#116 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGM-IYVIolXK25_fw5Bu3Id8tI7aTOf1ks5umSK3gaJpZM4SY_yZ>
.
--
*B. Deniz Ilhan*
Postdoctoral Fellow
Electrical & Systems Engineering
University of Pennsylvania
bdeniz@seas.upenn.edu
|
Thank you for your answer @berkaydeniz I found the difference in the line 120. I try removing only the ´f´and not the decimal part.
|
Hi again! Finally I could compile everything correctly. Now I'm trying to compile my workspace. But now I have question, maybe a stupid question. To install all the dependencies of the package, normally in ubuntu you installed through the binaries (sudo apt-get install ros-lunar-...) In OS X, the unique option is to add all the dependencies in the ws/src? Thank you! |
Similar to Ubuntu, it depends.
If the dependency can be installed through homebrew, in most cases, it will
seamlessly be loaded as a library for building your own packages. If you
have any packages that you need to build yourself, you have two options; if
catkin can handle them you can place them under the src folder. Otherwise,
you will need to maintain a folder (I usually place such packages under
<workspace>/external) where you manually build and link the package, and
potentially your ROS package will need to know the path to.
…On Thu, Oct 18, 2018 at 10:46 PM Jorge De León Rivas < ***@***.***> wrote:
Hi again! Finally I could compile everything correctly.
Now I'm trying to compile my workspace. But now I have question, maybe a
stupid question.
To install all the dependencies of the package, normally in ubuntu you
installed through the binaries (sudo apt-get install ros-lunar-...)
In OS X, the unique option is to add all the dependencies in the ws/src?
Thank you!
Jorge
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#116 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGM-IZq0xrb3FPy69zVsHIfUgvG9mMPgks5umT0DgaJpZM4SY_yZ>
.
--
*B. Deniz Ilhan*
Postdoctoral Fellow
Electrical & Systems Engineering
University of Pennsylvania
bdeniz@seas.upenn.edu
|
Hi @berkaydeniz.
Thank you again for your reply. For me this is very new, I'm not very
familiar to computer science.
Do you think I should open a new issue just to ask questions refer about
how to install the packages?
About your answer I have two questions.
1.- Is there any list where I can know which packages are available to
install via brew? Now, I'm trying to install moveit and my workspace is
becoming huge.
2.- About your tip to add the packages in <workspace>/external. Where can I
found some information to link those packages? I mean, normally the
packages try to find the packages at .../ros/distro/... should I put the
new route in the .bash_profile?
Thank you,
Jorge
El jue., 18 oct. 2018 a las 21:53, berkaydeniz (<notifications@github.com>)
escribió:
… Similar to Ubuntu, it depends.
If the dependency can be installed through homebrew, in most cases, it will
seamlessly be loaded as a library for building your own packages. If you
have any packages that you need to build yourself, you have two options; if
catkin can handle them you can place them under the src folder. Otherwise,
you will need to maintain a folder (I usually place such packages under
<workspace>/external) where you manually build and link the package, and
potentially your ROS package will need to know the path to.
On Thu, Oct 18, 2018 at 10:46 PM Jorge De León Rivas <
***@***.***> wrote:
> Hi again! Finally I could compile everything correctly.
>
> Now I'm trying to compile my workspace. But now I have question, maybe a
> stupid question.
>
> To install all the dependencies of the package, normally in ubuntu you
> installed through the binaries (sudo apt-get install ros-lunar-...)
>
> In OS X, the unique option is to add all the dependencies in the ws/src?
>
> Thank you!
> Jorge
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <
#116 (comment)
>,
> or mute the thread
> <
https://github.com/notifications/unsubscribe-auth/AGM-IZq0xrb3FPy69zVsHIfUgvG9mMPgks5umT0DgaJpZM4SY_yZ
>
> .
>
--
*B. Deniz Ilhan*
Postdoctoral Fellow
Electrical & Systems Engineering
University of Pennsylvania
***@***.***
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#116 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGyRVEMillBqrNYXaGaccO7o1xR2Xk1kks5umT7GgaJpZM4SY_yZ>
.
--
Un saludo,
Jorge De León Rivas
|
Fixed it. Need to explicitly specify C++11 standards in the respective CMakeLists.txt file.
|
Hi,
I have tried to install ROS Kinetic Kame with this tutorial about 6 months ago. Is there any progress?
After hours of building I haven't managed to install ROS at all. I was only able to run roscore but anything else (RViz, rqt etc.) didn't work. It would be very pleasant for me to run ROS natively, now I run it in VM and it is not very great solution.
My question is, is there any working tutorial to install it? And does it working?
Back in time when I was trying to install ROS build failed with matplotlib and Qt, but I had the right versions and proper paths in terminal.
Thank you,
Michael
The text was updated successfully, but these errors were encountered: