摘要: Assuming you were able to compile the SDK and the linphone XCode project, here is what you need to do:Include G729_preference in the Audio.plist file. You can either type all the info yourself or simply copy the G722 line and simply replace 722 with 729. Make sure you set Default Value to YESIn Proj 阅读全文
posted @ 2013-09-24 15:33 老羊头 阅读(1231) 评论(0) 推荐(0)
摘要: 之前正常运行的hudson iOS编译服务器slave节点,忽然出现编译失败。发现原因有2个:第一个原因是编译机上用来签名的用户帐号过期,第二个原因是操作系统和xCode升级造成的。对于第一个,重新为xcode生成有效的用户profile和签名,然后更新到hudson的编辑脚本中即可;对于第二个,一般xcode升级后,并不会自动升级配套的命令行工具。所以,命令行编译时,会抛出异常。处理的方法:安装新的Command Line Tools。Xcode --> Preferences --> Downloads --> Components --> Command Line 阅读全文
posted @ 2013-08-21 17:14 老羊头 阅读(2188) 评论(0) 推荐(0)
摘要: 这个异常一般是由于JNI的链接器不能正常识别C++的函数名造成的。处理的方法是用exern "C" {},来包裹需要export的C++的native方法。如果native的方法比较多,可以在头文件中定义宏:#ifdef __cplusplusextern "C" {#endifJNIEXPORT jint JNICALL Java_com_sample_native_method1 (JNIEnv *, jobject, jobject);JNIEXPORT jint JNICALL Java_com_sample_native_method2 (JN 阅读全文
posted @ 2013-08-21 00:23 老羊头 阅读(9853) 评论(1) 推荐(1)
摘要: 使用apt-get install ruby,安装的默认版本为1.8.7。想要使用更高版本,只能采用手工升级的方式。方式1 使用RVM(推荐方式)1 安装RVMhttp://rvm.io/rvm/install。注意,不要使用Ubuntu自带的rvm-ruby。如果已经使用apt-get install rvm-ruby安装过,先删除:sudo apt-get --purge remove ruby-rvmsudo rm -rf /usr/share/ruby-rvm /etc/rvmrc /etc/profile.d/rvm.sh检查删除的结果env | grep rvm如果有输出内容的话, 阅读全文
posted @ 2013-08-18 22:06 老羊头 阅读(2571) 评论(0) 推荐(0)
摘要: 服务器的环境:Ubuntu 11.10 64位Redmine 1.4.5.stable.10943git version 1.7.5.4 + gitolite前言由于redmine的版本比较低,所以新版本的配置方法有可能有差异。redmine和git的安装过程略过。由于redmine中GIT插件自身对文件读写权限的限制,所以一般有2种处理方式:1)修改已经存在的GIT版本的文件读写权限:改为redmine运行用户可以访问;2)将GIT版本库以redmine运行用户的身份,创建在redmine安装目录中。这2种方式,对于git+gitolite已经在运行的环境,都不适合。所以,我们解决的思路是: 阅读全文
posted @ 2013-08-18 17:26 老羊头 阅读(2936) 评论(0) 推荐(0)