摘要: 1. 拷贝配置文件cp ~/.vim/bundle/YouCompleteMe/cpp/ycm/.ycm_extra_conf.py ~/.vim/.ycm_extra_conf.py2. 修改配置文件~/.vim/.ycm_extra_conf.pyrelative_to = DirectoryOfThisScript() 修改为:relative_to = '/usr/include'3. 修改~/.vimrclet g:ycm_global_ycm_extra_conf='~/.vim/.ycm_extra_conf.py'let g:ycm_seed_i 阅读全文
posted @ 2014-01-09 19:50 scue 阅读(2701) 评论(0) 推荐(0) 编辑
摘要: #1.下载并安装NDK(解压即可,目前最新版是r9c)http://developer.android.com/tools/sdk/ndk/index.html#2.安装NDK独立编译工具cd /path/to/NDK_DIRexport NDK=$(readlink -f .)export INSDIR=$(readlink -f ..)/android-ndk-standalone9$NDK/build/tools/make-standalone-toolchain.sh \ --platform=android-9 \ --install-dir=${INSDIR} \ --too... 阅读全文
posted @ 2014-01-09 14:40 scue 阅读(6388) 评论(0) 推荐(0) 编辑