2

My APP uses opencv framework and works without error. But after I add Facebook sdk, a compile problem occurs. In appname-Prefix.pch,

#ifdef __cplusplus
#import <opencv2/opencv.hpp>
#endif

Xcode marks the line #import <opencv2/opencv.hpp> and shows not found

How to solve this problem?

4

1 回答 1

1

早上浪费了3个小时后,我解决了它。请按照以下步骤操作:

1.删​​除opencv2.framework我项目中的引用。

2.添加facebookSDK.framework

3.添加opencv2.framework

然后错误消失。

于 2013-10-11T04:07:55.850 回答