stefanhaustein / TerminalImageViewer

Small C++ program to display images in a (modern) terminal using RGB ANSI codes and unicode block graphics characters
Other
1.56k stars 111 forks source link

Update terminalimageviewer.rb #104

Closed cxwx closed 3 years ago

cxwx commented 3 years ago

mac os x install errors

How can we test this? Step by step instructions please.

  1. install with brew install terminalimageviewer on mac os x
  2. tested on os x big sur

What happened before?

What should happen with this fix?

Anything else we should know about this patch?

cxwx commented 3 years ago

there is some error with old formula terminalimageviewer.rb so I fix it

aaronliu0130 commented 3 years ago
  1. tested on os x big sur

DON'T test it on big sur. terminalimageviewer.rb is for macs below catalina. On catalina+ use tiv.rb.

Option 1:

brew tap stefanhaustein/TerminalImageViewer https://github.com/stefanhaustein/TerminalImageViewer
brew install tiv

Option 2(deprecated, for macOS Mojave and below):


brew tap stefanhaustein/TerminalImageViewer https://github.com/stefanhaustein/TerminalImageViewer
brew install terminalimageviewer
aaronliu0130 commented 3 years ago

mac os x install errors

How can we test this? Step by step instructions please.

  1. install with brew install terminalimageviewer on mac os x
  2. tested on os x big sur

What happened before?

What should happen with this fix?

Anything else we should know about this patch?

Also, please fill all sections of the template.

cxwx commented 3 years ago

mac os x install errors

How can we test this? Step by step instructions please.

git clone https://github.com/cxwx/TerminalImageViewer
brew uninstall TerminalImageViewer # remove the version install by homebrew
brew install TerminalImageViewer/terminalimageviewer.rb
  1. install with brew install terminalimageviewer on mac os x
  2. tested on os x big sur

What happened before?

ld: library not found for -lstdc++fs bug

What should happen with this fix?

Anything else we should know about this patch?

I only test it on Big Sur, so I don't test on old version of Mac. I may made a mistake but the tiv.rb version also has the error ld: library not found for -lstdc++fs

Also, please fill all sections of the template.

aaronliu0130 commented 3 years ago

mac os x install errors

How can we test this? Step by step instructions please.

git clone https://github.com/cxwx/TerminalImageViewer
brew uninstall TerminalImageViewer # remove the version install by homebrew
brew install TerminalImageViewer/terminalimageviewer.rb
  1. install with brew install terminalimageviewer on mac os x
  2. tested on os x big sur

What happened before?

ld: library not found for -lstdc++fs bug

What should happen with this fix?

Anything else we should know about this patch?

I only test it on Big Sur, so I don't test on old version of Mac. I may made a mistake but the tiv.rb version also has the error ld: library not found for -lstdc++fs

Also, please fill all sections of the template.

Could you show the output of c++ -v?