是否有用于ipad的全景库? [英] is there a panorama lib to use for ipad?
问题描述
最近我得到了一个需要显示球形全景视图的项目。通常在iphone上我已经使用了panoramaGL一段时间但是对于ipad,我再也没有运气了。
recently I've been given a project which need to display a spherical panorama view. Normally on iphone i've been using panoramaGL for some time but for ipad, i dont have any luck to use it any more.
我可以用一些小的编译lib警告。但是当我尝试将lib链接到我的真实项目时,它只是告诉我PLTexture不存在。它说
I can compile the lib with some minor warnings. but when i try to link the lib to my real project, it just keep telling me that PLTexture is not there. it says
未定义的符号:
_ OBJC_CLASS _ $ _ PLTexture,引用自:
objc-class-ref-to-PLTexture in panoTestViewController.o
ld:未找到符号
collect2:ld返回1退出状态
Undefined symbols: "_OBJC_CLASS_$_PLTexture", referenced from: objc-class-ref-to-PLTexture in panoTestViewController.o ld: symbol(s) not found collect2: ld returned 1 exit status
请有人帮我解决这个问题吗?
Please anybody can help me out of this?
推荐答案
我遇到了同样的问题,并注意到虽然我包含了PanoramaGL xcode项目,但其lib( libPanoramaGL.a )未选择使用目标构建(XCode右上角的小复选框)。
I had the same problem, and noticed that although I included PanoramaGL xcode project, its lib (libPanoramaGL.a) was not selected to build with the target (that little checkbox in the top right list of XCode).
选中复选框后,问题就消失了,但是与当前的麻烦制造者PLResources一样,该bulider陷入了类似的错误。但这可能只是我的问题,因为我去了PanoramaGL项目,并注意到项目中没有包含PLResources.c和.h。
Once I selected the checkbox, the problem went away, but the bulider was stuck on a similar error with PLResources as the current trouble maker. But this might be only my problem, cause I went to the PanoramaGL project, and noticed that PLResources.c and .h were not included in the project.
一旦我加入他们并重建了一切 - 构建成功。
Once I included them and rebuilt everything - the build succeeded.
希望这会有所帮助,
Oded。
Hope this helps,
Oded.
这篇关于是否有用于ipad的全景库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!