-
Notifications
You must be signed in to change notification settings - Fork 333
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
Can Not install websocketpp by homebrew (MacOS) #17
Comments
==> Installing websocketpp from david-icracked/websocketpp cmake . ["-DCMAKE_C_FLAGS_RELEASE=-DNDEBUG", "-DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG", "-DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/websocketpp/HEAD-378437a", "-DCMAKE_BUILD_TYPE=Release", "-DCMAKE_FIND_FRAMEWORK=LAST", "-DCMAKE_VERBOSE_MAKEFILE=ON", "-Wno-dev"] CMake Error: The source directory "/tmp/websocketpp-20180524-26535-1ap1r7z/[-DCMAKE_C_FLAGS_RELEASE=-DNDEBUG," does not exist. |
cc @Kipsora |
This problem is caused by the outdated brew formula. You can fixed it either by manually installing require 'formula'
class Websocketpp < Formula
head 'https://github.com/zaphoyd/websocketpp.git'
depends_on 'cmake' => :build
def install
system "cmake . #{std_cmake_args.join(" ")}"
system "make install"
end
end Then you re-run the |
@sven941112 Please create another issue so that the others can see your problem as well. |
I am running MAgent on my MacBook Pro m1, but some mistakes happened, which are listed as follows: |
briandeMacBook-Pro:MAgent brian$ brew install --HEAD david-icracked/websocketpp/websocketpp
==> Installing websocketpp from david-icracked/websocketpp
==> Cloning git://github.com/zaphoyd/websocketpp
Updating /Users/brian/Library/Caches/Homebrew/websocketpp--git
==> Checking out branch master
Error: Calling Formula#std_cmake_parameters is disabled!
Use Formula#std_cmake_args instead.
/usr/local/Homebrew/Library/Taps/david-icracked/homebrew-websocketpp/websocketpp.rb:9:in `install'
Please report this to the david-icracked/websocketpp tap!
Or, even better, submit a PR to fix it!
The text was updated successfully, but these errors were encountered: