【发布时间】:2016-09-05 15:34:34
【问题描述】:
我正在尝试将 ARToolKit 实现到一个 Objective-c iOS 应用程序中。
我已经下载了ARToolKit SDK,我看到了以下内容。 ARToolKit5 目录适用于 Mac OSX,所以我关闭了这个目录。 ARToolKit5iOS 是我尝试导入 Xcode 项目的目录。
到目前为止我所尝试的...
在 share > 打包中,我运行了以下命令,这似乎运行正确,没有任何错误。
bash ARToolKit5iOS-bin.sh
然后我尝试将 lib 和包含目录导入到我的 Xcode 项目中。
问题
这是我项目的内容> ViewController.m
#import "ViewController.h"
#import <AR/ar.h>
@interface ViewController ()
@end
@implementation ViewController
- (void)viewDidLoad {
[super viewDidLoad];
// Do any additional setup after loading the view, typically from a nib.
}
- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
}
@end
如您在以下屏幕截图中所见,尝试导入 AR 工具包时发生错误。
我不是 Objective-c 开发人员,所以我在这里缺少什么?
【问题讨论】:
标签: ios objective-c artoolkit