摘要:
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 阅读全文
摘要:
#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... 阅读全文