1 | 编译环境 VS2019 QTSDK 5.14 |
1 | 编译环境 VS2019 QTSDK 5.14 |
1 | 1. Configure 可能报路径错误,手动修改生成的路径 |
1 | 1. Resharper菜单选项 --> Options --> Environment --> Keyboard & Menus --> Keyboard Shortcuts --> ReSharper 2.x |
1 | 1. 打开 |
1 | 提示 warning C4189: The file contains a character that cannot be represented in the current code page |
1 | 1. 手动删除Release目录下所有的.obj文件 |
1 | 1. \\.\pipe\com_1 |
1 | 1. Win10 x64 rubyinstaller-devkit-2.5.5-1-x64.exe DevKit-mingw64-64-4.7.2-20130224-1432-sfx.exe RubyMine-2019.2.exe |
1 | 1. 关闭UAC |
1.在/etc/bashrc添加 头文件,库文件搜索路径1
2
3
4
5
6
7
8
9export LD_LIBRARY_PATH
C_INCLUDE_PATH=/opt/libevent/libevent2.1.8/include:/MyLib
export C_INCLUDE_PATH
CPLUS_INCLUDE_PATH=$CPLUS_INCLUDE_PATH:/opt/libevent/libevent2.1.8/include:/MyLib
export CPLUS_INCLUDE_PATH
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/libevent/libevent2.1.8/lib:/MyLib
export LD_LIBRARY_PATH
LIBRARY_PATH=$LIBRARY_PATH:/opt/libevent/libevent2.1.8/lib:/MyLib
export LIBRARY_PATH
2.编译时添加命令 -levent,-levent表示要链接libevent静态函数