0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

xcode x opencv (ld: symbol(s) not found for architecture arm64) などが出た時の対処法

Posted at

概要

xcode 上でopencv を使ったとき、

ld: symbol(s) not found for architecture arm64

すなわちライブラリ見つけられない問題。
及び

expected identifier xcode opencv

opencvとxcodeのマクロ衝突問題に悩まされた。

解決法

ググったらたくさん出てくるが、
自分の場合は(結局)

一つ目の undefined symbol 問題に関しては、

brew reinstall opencv

が必要だった。。。

二つ目の マクロ衝突問題に関しては、

https://blog.csdn.net/fk1174/article/details/70118348
このポストに救われた。

NOをNO_EXPOSURE_COMPENSATOR = 0に変更
0
1
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
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?