-
Notifications
You must be signed in to change notification settings - Fork 26
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 Mojave 10.14.6 Compilation #100
Comments
By quickly inspecting the ignition-gazebo homebrew formulas, it seems that they are compiled using the normal system compiler, so probably I would avoid setting manually gcc8 when compiling gym-ignition . |
@CarlottaSartore What is in Mojave the default compiler? The compilers tested by our CI infrastructure are the following:
Maybe as @traversaro wrote the default version of the compiler on your OSX distribution is already good enough. |
The default compiler is |
Cool, let us know if the examples work fine. With some work me maybe could even think to officially support osx. Though, before announcing it we should at least also 1) distribute a binary wheel for osx, and that might take some effort, and 2) have a osx maintainer (@CarlottaSartore 👀 ). |
Before deciding to distribute a binary wheel for macOS, I would first do to a due diligence on the public dependencies of ignition-gazebo, to see if they include boost or other problematic dependencies, as homebrew is unfortunately a rolling release system, so the ABI of the dependencies can change without any advice, breaking any binary that depends on such ABI. The ABI changes should not be a problem for ignition libraries as each major version is considered as a different homebrew package, but for transitive dependencies this could be a problem. See ros-infrastructure/bloom#254 (comment) for a related comment. |
@CarlottaSartore, out of curiosity, were you at least able to launch Ignition-Gazebo on the MacOs Mojave from command line? e.g:
According to this PR, the @diegoferigo @traversaro, does the |
Gym-Ignition executes simulations typically in headless mode. The framework, in line with the OpenAI Gym interface, provides an optional This issue describes the very first attempt on MacOs done by @CarlottaSartore, and up to today there are no further updates beyond what reported here. What's unfortunate is that we rely to the |
@diegoferigo thanks for the clarification. Hopefully, the coming release of Ignition-Gazebo (Citadel) in December, addresses the support for MacOS and Windows since it works great on Ubuntu 18. Thank you for contributing this great component and making this RL capability available to Ignition. |
A possible workaround (at least for Blueprint) is to use |
Just to put another option on the table, there's also |
@IeiuniumLux I would just try to ping in the upstream's issue. As a temporary workaround, as commented there, installing ruby from homebrew and changing the shebang should work. |
By the way, I actually meant to use |
I was referring to this comment. |
I am afraid that @diegoferigo did not actually tried the workaround mention in that comment, so probably it would make more sense to ask to @scpeters directly. |
[email protected] is a forked version with some extra friction parameters that we have been using and hosting on our homebrew tap. It is keg-only so as to not interfere with the official package, but you need to set some extra environment variables to use it: |
that looks like the following bug, and I just replied to your comment there |
@CarlottaSartore Steve's comment about dart 6.10 applies also to your setup. |
Thank you @scpeters for chiming in! Let's move the discussion about the command line to the upstream issue. |
I believe that macOS situation has improved after 1.5 y. Especially, after gazebosim/gz-sim#477, the |
Trying to compile gym-ignition on
macOS Mojave 10.14.6
Installed
gazebo-ignition
viahomebrew
by following https://ignitionrobotics.org/docs/latest/install.brew install ignition-blueprint
Needed to unlink sdformta6
brew unlink sdformat6
for using sdformat8
Installed
gcc-8
brew install gcc@8
and exported
Cloned the repository, inside the repository, configure and make
CMakeWarning
Compilation Error
By putting to false (not solving the problem since ignition-common3 is present in the system)
The compilation continued
By adding the include asked
I have cheked and
google::protobuf::MessageLite::ParseFromIstream
exists in the related header located in/usr/local/Cellar/protobuf/3.10.0/include/google/protobuf/message_lite.h
The text was updated successfully, but these errors were encountered: