DGtal-team / DGtal

Digital Geometry Tools and Algorithm Library
https://dgtal.org
GNU Lesser General Public License v3.0
370 stars 115 forks source link

Brew install command on macOS fails #1737

Open gaoalexander opened 3 months ago

gaoalexander commented 3 months ago

Hello,

I am trying to perform the brew install on macOS Sonoma, Homebrew 4.3.8, according to the documentation:

brew tap DGtal-team/DGtal
brew install dgtal

However, upon running the second command brew install dgtal, I am met with the following error:

Error: dgtal-team/dgtal/dgtal: wrong number of arguments (given 2, expected 0)

I'm not sure what the cause of this could be, since I am not inputting any extra arguments in the command. I have also already run a brew update. Has anyone else experienced this or have ideas on how to resolve this?

Thank you.

dcoeurjo commented 3 months ago

Hi @gaoalexander

Thanks for the bug report. The DGtal homebrew recipe seems to be a bit deprecated. I would need to doublecheck it.

In the meantime, the safer way to get the last version of the library is to build using the command line instructions (Makefile or Xcode on macOS) with cmake.

Let me keep this issue open in the meantime.

gaoalexander commented 3 months ago

Thanks, @dcoeurjo. Building with cmake is working for me. 👍

dcoeurjo commented 3 months ago

Great!

Related PR: #1738