Error: Calling needs :cxx11 is disabled! There is no replacement

Hi there! Before opening an issue I thought I’d post here.

I’m attempting to install the python bindings for the Point Cloud Library found here, otherwise known as pcl. To do this I need to install an older version of pcl than the most recent one available via Homebrew. To do this I followed this guide.

After switching to the correct branch and attempting to install I get the following error:

Error: Calling needs :cxx11 is disabled! There is no replacement.
Please report this to the homebrew/core tap:

Here are the commands I used to get Homebrew ready to install pcl version 1.8.1:

brew update
git -C "$(brew --repo homebrew/core)" fetch --unshallow
cd "$(brew --repo homebrew/core)"
git log Forumla/pcl.rb
git checkout -b pcl-1.8.1_6 baea3606fce5d96720f631f37d62662ea73d7798
brew unlink pcl
HOMEBREW_NO_AUTO_UPDATE=1 brew install pcl

any help greatly appreciated!!

Sorry we don’t support installing older versions of software homebrew ships. You’ll have to just make a copy of the formula and figure out how to point out to an older version.

sorry for the ignorance, but point out to an older version of what?

That was meant to say “how to point that to an older version”

ah ok, thx for the clarification

See also this StackOverflow for installing older versions from the git history, but mind the comments about potential breakages/incompatibility with the latest Homebrew and some workarounds.