Skip to content
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

Compilation error on Mac #55

Open
arllllll10 opened this issue Sep 25, 2018 · 2 comments
Open

Compilation error on Mac #55

arllllll10 opened this issue Sep 25, 2018 · 2 comments

Comments

@arllllll10
Copy link

I try to run gear360pano.sh *.JPG
and ls -1 path/to/files/*.JPG | parallel --load 99% --noswap --memfree 500M --bar ./gear360pano.sh {} on mac, but it generates error due to gear360pano.sh is not command.

I skip these two lines and run ./gear360pano.sh dual.JPG, the error is:
readlink: illegal option -- f usage: readlink [-n] [file ...] usage: dirname path Hugin required but it is not installed. Aborting.

The dual.jpg is in the same folder as .sh file, and I installed Hugin already. How can I fix this?

@ultramango
Copy link
Owner

Hi!

Hm... if I remember correctly MacOS has old (read: missing various options) tools that gear360pano is using which causes problems.

I remember trying to fix it but I failed. I guess the way to go is to use brew to install more up-to-date things. https://apple.stackexchange.com/a/193413

L.

@kalw
Copy link

kalw commented Dec 19, 2019

brew install coreutils
sed -i .orig -e 's/readlink /greadlink /g' gear360pano.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants