MacPortsがOpenCV 2.2に対応したので、2.1からバージョンアップしてみた。 #27605 (Version 2.2 of OpenCV released.) – MacPorts Changeset 74319 – MacPorts Macの環境は下記の通り。 MacOS X 10.6.5 (Snow Leopard) MacBook Air (1.86GHz/4GB/128GBSSD) MacPorts 1.9.2 インストールは、いつものようにコマンド一発だ。 $ sudo port upgrade opencv OpenCV 2.1の時とは異なり、インストールは問題なく終了した。今回のバージョンは(も)変更点が多く、ライブラリ構成などが大きく変わっている。 OpenCV2.1からOpenCV2.2の変更点(ChangeLog) | OpenCV.jp 【OpenCV2