ultramango / gear360pano

Simple script to create equirectangular panorama by stitching images from Samsung Gear 360
MIT License
226 stars 55 forks source link

Compilation error on Mac #55

Open arllllll10 opened 6 years ago

arllllll10 commented 6 years ago

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 commented 5 years ago

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 commented 4 years ago

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