morse-simulator / morse

The Modular OpenRobots Simulation Engine
http://morse-simulator.github.io/
Other
350 stars 155 forks source link

cannot install on OSX 10.13.11 #784

Closed langker closed 6 years ago

langker commented 6 years ago

When I installed on my MAC, the terminal showed below:

Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Cleaning up /Library/Caches/Homebrew...
==> Migrating /Library/Caches/Homebrew to /Users/langker/Library/Caches/Homebrew
==> Deleting /Library/Caches/Homebrew...
No changes to formulae.

==> Installing morse-simulator from morse-simulator/morse
==> Cloning https://github.com/morse-simulator/morse.git
Updating /Users/langker/Library/Caches/Homebrew/morse-simulator--git
==> Checking out tag 1.4
Error: Calling Formula#std_cmake_parameters is disabled!
Use Formula#std_cmake_args instead.
/usr/local/Homebrew/Library/Taps/morse-simulator/homebrew-morse/morse-simulator.rb:27:in `install'
Please report this to the morse-simulator/morse tap!
Or, even better, submit a PR to fix it!

I changed the code in morse-simulator.rb:27 from

cmake_args = std_cmake_parameters.split

to

cmake_args = std_cmake_args

And that installed successfully.

adegroote commented 6 years ago

Fixed in https://github.com/morse-simulator/homebrew-morse/commit/2a3e19d44d96b9b12d480dce1563b1b92a1f471a. Thanks for your report