踩坑日记(2)

踩坑日记

glog 和 gflags

发现一个项目链接glog库后报错:

undefined reference to ‘gflags::FlagRegisterer::FlagRegisterer(char const, char const, char const, bool, bool*)’

考虑到gflags前后版本用的namespace 不一致,于是重新安装了一个版本的gflags并才重新编译了glog,确保GFLAGS_NAMESPACE正确

但错误没有消失,于是手动在CMakeLists.txt加入了gflags的库进行链接, 编译成功

neovim 和 terminator发生乱码

尝试设置terminator终端字体,但依旧乱码

google之, 中文的内容没有帮助,查了一下乱码一个单词(garbled),再次搜索在github issue找到了答案.

解决办法就是在init.vim加入:

set guicursor=

github issue

github FQ

原本打算通过proxychains来实现任意程序的FQ,但未知原因发现用proxychainsgit clone 报错:

fatal: unable to access '': Unable to receive initial SOCKS5 response.

目前还没解决这个问题,一个暂时行办法是给git配置了代理:

git config --global http.proxy socks5://127.0.0.1:1080
git config --global https.proxy socks5://127.0.0.1:1080
原文地址:https://www.cnblogs.com/fridayfang/p/14359125.html