LoginSignup
5
7

More than 5 years have passed since last update.

macにVisualSFMをインストールする

Last updated at Posted at 2016-03-11

VisualSFMは、structure from motion するフリーソフトです。
http://ccwu.me/vsfm/

macへのインストールはここに書いてあるリンクをたどって
http://ccwu.me/vsfm/install.html#mac
こちらのshスクリプトを利用します。
https://github.com/luckybulldozer/VisualSFM_OS_X_Installer

zipをダウンロードして、

$ sh vsfm_os_x_installer_mavericks.sh

これで進むがままで完了となるはずですが、エラーが出る場合は、
https://github.com/luckybulldozer/VisualSFM_OS_X_Installer/issues/23

ここにあるように

brew install --with-x11 --devel cairo

として、再度shコマンドを打ちます。

$ sh vsfm_os_x_installer_mavericks.sh

あと、cmakeがないというエラーも出る場合は以下コマンドを打ちます。

brew link cmake

コンパイル終了したら、.bash_profile にパスを追加してね!と出るので、追加後以下コマンドで変更を反映します。

source .bash_profile

vsfm/bin/VisualSFMをターミナルから起動すればできあがり!

なお、Finderから起動すると、ライブラリー関連にパスが通ってなくて途中でエラーになるので注意。

5
7
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
7