一个开源库:720全景显示
2014-03-15 12:55
183 查看
google代码首页:
http://code.google.com/p/panoramagl/
库使用详细介绍:
http://www.codeproject.com/KB/iPhone/panoramagl.aspx
功能介绍:
1、支持720全景展示
2、支持重力加速度感应控制
遇到主要问题及解决方法:
1、No architectures to compile for (ARCHS=armv6 armv7, VALID_ARCHS=i386 ppc ppc64 ppc7400 ppc970 x86_64).
==>需要添加armv6和armv7,如下图:
[attachment=28204]
2、glu.h链接文件出错,需要include "glues.h"
#ifndef __glu_h__
#define __glu_h__
#include "glues.h"
#endif
3、Undefined symbols:
"_OBJC_CLASS_$_PLTexture", referenced from:
objc-class-ref-to-PLTexture in HelloPanoramaViewController.o
ld: symbol(s) not found
一般这个问题由于添加PanoramaGL.xcodeproj到HelloPanorama项目中时,忘了勾选库的右上角的圆框,如下图:
[attachment=28205]
也就是stackoverflow上这句话的意思,但是因为没图,其他人看了很不理解,包括我 :(
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).
其实这句话意思是:这个.a静态库没有被选中,导致不能被编译到目标程序中。
右键.a文件,get info -->Targets,多targets项目,可以指定一个静态库为那几个targets所有,同样的道理使用于程序源文件和资源文件,看了下面这幅图就更加理解了
[attachment=28207]
http://code.google.com/p/panoramagl/
库使用详细介绍:
http://www.codeproject.com/KB/iPhone/panoramagl.aspx
功能介绍:
1、支持720全景展示
2、支持重力加速度感应控制
遇到主要问题及解决方法:
1、No architectures to compile for (ARCHS=armv6 armv7, VALID_ARCHS=i386 ppc ppc64 ppc7400 ppc970 x86_64).
==>需要添加armv6和armv7,如下图:
[attachment=28204]
2、glu.h链接文件出错,需要include "glues.h"
#ifndef __glu_h__
#define __glu_h__
#include "glues.h"
#endif
3、Undefined symbols:
"_OBJC_CLASS_$_PLTexture", referenced from:
objc-class-ref-to-PLTexture in HelloPanoramaViewController.o
ld: symbol(s) not found
一般这个问题由于添加PanoramaGL.xcodeproj到HelloPanorama项目中时,忘了勾选库的右上角的圆框,如下图:
[attachment=28205]
也就是stackoverflow上这句话的意思,但是因为没图,其他人看了很不理解,包括我 :(
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).
其实这句话意思是:这个.a静态库没有被选中,导致不能被编译到目标程序中。
右键.a文件,get info -->Targets,多targets项目,可以指定一个静态库为那几个targets所有,同样的道理使用于程序源文件和资源文件,看了下面这幅图就更加理解了
[attachment=28207]
相关文章推荐
- 赞一个开源库:720全景显示
- 介绍一个开源的gifview——Android显示GIF动画
- 介绍一个Android开源项目:GifView——Android显示GIF动画
- java中显示列表有很多成型的组件,但我喜欢RICO一个开源的报表显示组件(javascript)的不分页显示
- Android UI开发第十九篇——介绍一个开源的gifview——Android显示GIF动画
- FlexPaper: 一个轻量级的在浏览器上显示各种文档的Flex开源组件
- FlexPaper是一个开源轻量级的在浏览器上显示各种文档的组件
- 介绍一个Android开源项目:GifView——Android显示GIF动画
- Android UI开发第十九篇——介绍一个开源的gifview——Android显示GIF动画
- Android UI开发第十九篇——介绍一个开源的gifview——Android显示GIF动画
- Android UI开发第十九篇——介绍一个开源的gifview——Android显示GIF动画
- [OpenGL]从零开始写一个Android平台下的全景视频播放器——1.3 用OpenGL ES 2.0显示一张图片(上)
- 上拉面板, 向上滑动的时候往上飞出一个显示面板的 Android 开源控件
- 介绍一个Android开源项目:GifView——Android显示GIF动画
- [OpenGL]从零开始写一个Android平台下的全景视频播放器——1.4 用OpenGL ES 2.0显示一张图片(下)
- Android UI开发第十九篇——介绍一个开源的gifview——Android显示GIF动画
- Thinksea HtmlRotator 是一个用于轮换显示HTML内容的控件。
- Rainlendar - 一个免费、开源的桌面日历
- 一个技术汪的开源梦 —— 公共组件缓存之分布式缓存 Redis 实现篇
- 《Advanced Bash-scripting Guide》学习(四):一个显示时间日期登录用户的脚本