LoginSignup
0
0

More than 3 years have passed since last update.

SwiftからOpenCVを使う

Posted at

概要

基本的にこの記事を参考にしたら上手くできたが、1つ詰まるところがあったので、そこの解消法について記録しておきます。
<参考記事> iOS(swift)でOpenCVを使うシンプルなサンプル

『'opencv2/opencv.hpp' file not found』のエラー

参考記事の

OpenCVSample.mm
#import <opencv2/opencv.hpp>
#import <opencv2/highgui/ios.h>

この部分でfile not foundのエラーが発生した。

General > Build Settings > Framework Search Pathsにて、
$(PROJECT_DIR)をrecursiveで設定したら解消された。

0
0
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
0