dev env
hfyinsdu
烂笔头--好记性不如烂笔头
展开
-
undefined reference to `Json::Value::Value`/CMake find wrong gcc version
编译时报错现象:undefined reference to `Json::Value::Value根据这个链接的说法,you have jsoncpp compiled with a different C++ ABI than you link against. The easiest solution is to use exactly the same compiler-version to build both library and executable. jsoncpp使用了其他的c+原创 2020-08-14 10:15:30 · 1647 阅读 · 0 评论 -
Centos/redhat下GLIBCXX_3.4.20的问题
编译一些软件的时候会出现类似如下问题:rror: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found undefined reference to `std::__cxx11::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::_M_sync(char*, unsigned long, unsigned lo原创 2020-08-13 10:49:34 · 3823 阅读 · 1 评论 -
vscode tips
question:replace following line in left to its right part.[SYS_write] sys_write, -> [SYS_write] "write",solution:find regex: ](\s*)sys_(\w+),replace regex: ]$1"$2",use ...原创 2020-03-02 16:35:28 · 190 阅读 · 0 评论 -
ubuntu: How to Copy selection to clipboard automatically like putty?
ubuntu中设置鼠标选中即复制的功能。主要命令和设置:it's possible.sudo apt-get install parcellitethen in the settings check "use primary" and "synchronize clipboards". it works....转载 2020-04-20 20:17:22 · 235 阅读 · 0 评论 -
win10总是很快自动休眠的解决方案
https://www.zhihu.com/question/39263412原创 2020-04-15 16:01:49 · 408 阅读 · 0 评论