Emgu CV をMacで使ってみる その2

前回から半年が経過し、そろそろ出来るかな!?
ということで、Emgu CVのインストールに再挑戦。

  • 前回はLeopardでは上手く行ったものの、64bit未対応の問題で、Snow Leopardではうまくいきませんでした。

Monoを最新(2.10.1)にして、trunkからEmguCVのソースを引っ張ってきて、いざCMake!

失敗、、、

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
TESSERACT_LIBRARY (ADVANCED)

なにかないのね、、、

ということで、足りないものをインストール(OCRのライブラリ?)

sudo port install tesseract

無事CMake完了。

make失敗

Building bin/Example.HelloWorld.monoexe
error CS0016: Could not write to file `Example.HelloWorld', cause: AMD64

うーん、dllのたぐいは全部出来るんだけど、monoexeのビルドでこけてるなぁ。
ちなみに他のもmonoexeも試してみたけどだめ、、、
原因不明。 cause: AMD64 って何だ? 64bit の問題?


gtk-sharpがいるらしい。(未確認情報)

sudo port install gtk-sharp

ここだけエラー。

--->  Computing dependencies for libgda--->  Dependencies to be installed: postgresql80
Error: Requested variants "" do not match original selection "+universal".
Please use the same variants again, perform 'port clean postgresql80' or specify the force option (-f).
Error: Failed to install postgresql80
Log for postgresql80 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_postgresql80/main.log
Error: The following dependencies were not installed: postgresql80
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

とりあえず、+universalをつけてインストール。

sudo port clean postgresql80
sudo port install postgresql80 +universal

これでいいのか??だめっぽい。


うーん、今回も撃沈。