question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can Not install websocketpp by homebrew (MacOS)

See original GitHub issue

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!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5

github_iconTop GitHub Comments

17reactions
Kipsoracommented, May 28, 2018

This problem is caused by the outdated brew formula. You can fixed it either by manually installing websocketpp from source or modifying the formula file /usr/local/Homebrew/Library/Taps/david-icracked/homebrew-websocketpp/websocketpp.rb to the code below:

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 brew install --HEAD david-icracked/websocketpp/websocketpp command and you can successfully install websocketpp on your MAC.

0reactions
sven941112commented, Mar 31, 2021

I am running MAgent on my MacBook Pro m1, but some mistakes happened, which are listed as follows: “OSError: dlopen(/Users/pipi/miniforge3/envs/py38/lib/python3.8/site-packages/magent/libmagent.dylib, 10): no suitable image found. Did find: /Users/…/miniforge3/envs/py38/lib/python3.8/site-packages/magent/libmagent.dylib: mach-o, but wrong architecture /Users/…/miniforge3/envs/py38/lib/python3.8/site-packages/magent/libmagent.dylib: mach-o, but wrong architecture” I don’t know whether is my PC is based on ARM architecture. if yes, how can I solve it?

Read more comments on GitHub >

github_iconTop Results From Across the Web

websocketpp — Homebrew Formulae
websocketpp. Install command: brew install websocketpp. WebSocket++ is a cross platform header only C++ library. https://www.zaphoyd.com/websocketpp.
Read more >
Install websocketpp on macOS with MacPorts
Instructions · If not done already, install MacPorts. · To install websocketpp, run the following command in macOS terminal (Applications->Utilities->Terminal).
Read more >
Why are the packages that I've installed on Mac OS via ...
ModuleNotFoundError: No module named 'talib '. These packages have been installed using Homebrew for talib and pip install Websocket-client ...
Read more >
FAQ - WebSocket++
The WebSocket protocol does not define the meaning or interpretation of the ... on OS X you will need to install a modern...
Read more >
macOS Quick Start Guide | Alexa Voice Service
Warning: This documentation doesn't refer to the most recent version of the Alexa Smart ... Homebrew, or Xcode were not installed, download and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found