上一页 1 2 3 4 5 6 ··· 26 下一页
摘要: boost文件结构 编译后得到的文件分布一般是这种情况 # kun @ Mac in ~/libs/boost_1_79_0 [20:23:14] $ ll total 808 drwxr-xr-x@ 26 kun staff 832B 1 17 2023 . drwxr-xr-x 6 kun st 阅读全文
posted @ 2023-09-13 20:26 feipeng8848 阅读(8) 评论(0) 推荐(0) 编辑
摘要: //打开linux的core dumped ulimit -c unlimited //ubuntu需要手动设置下生成路径 sudo sysctl -w kernel.core_pattern=$PWD/core 执行一次可执行程序 ./a.out segmentation fault (core 阅读全文
posted @ 2023-09-12 09:47 feipeng8848 阅读(92) 评论(0) 推荐(0) 编辑
摘要: linux上用的find属于gnu find,如果是查找当前路径是可以省略`.`的,只需要`find -name "xxx"` 而mac上自带的find是bsd find,`.`不可以省略,否则会报错`/usr/bin/find: illegal option -- n` 可以手动安装 https: 阅读全文
posted @ 2023-09-06 21:13 feipeng8848 阅读(25) 评论(0) 推荐(0) 编辑
摘要: 官网可以下载源码 libxcb-1.15.tar xcb-util-cursor-0.1.4.tar xcb-util-image-0.4.1.tar xcb-util-renderutil-0.3.10.tar xcb-util-0.4.1.tar xcb-util-errors-1.0.1.ta 阅读全文
posted @ 2023-09-05 20:16 feipeng8848 阅读(252) 评论(0) 推荐(0) 编辑
摘要: 用的zsh,在`$HOME`下添加了`.profile`发现没有生效 新的思路如下: - 在`/etc/profile.d`下创建新文件`userProfile.sh` ```bash if [[ -e $HOME/.profile ]]; then source $HOME/.profile fi 阅读全文
posted @ 2023-09-03 13:02 feipeng8848 阅读(86) 评论(0) 推荐(0) 编辑
摘要: ``` cd dev-home wget https://mirrors.aliyun.com/gnu/gcc/gcc-13.2.0/gcc-13.2.0.tar.xz cd dev-home mkdir objdir cd objdir $HOME/dev-home/gcc/configure - 阅读全文
posted @ 2023-09-03 10:56 feipeng8848 阅读(305) 评论(0) 推荐(0) 编辑
摘要: 参考官方指导 https://devguide.python.org/getting-started/setup-building ```bash wget https://www.python.org/ftp/python/3.11.5/Python-3.11.5.tgz tar -zxvf Py 阅读全文
posted @ 2023-09-02 22:12 feipeng8848 阅读(112) 评论(0) 推荐(0) 编辑
摘要: 参考qt官方提供的依赖列表 https://doc.qt.io/qt-5.15/linux-requirements.html 对于Linux,首先要安装下面列表的包,官网给出了ubuntu的包名称,centos安装就比较麻烦 首先就是名称不一样,再就是centos的包管理器无法提供安装,只能编译源 阅读全文
posted @ 2023-09-02 21:48 feipeng8848 阅读(142) 评论(0) 推荐(0) 编辑
摘要: ```bash while [[ $# -gt 0 ]]; do case $1 in -h) printUsage; exit 1; ;; --help) printUsage; exit 1; ;; --qmake) qmake_tool="$2" //shift 2 表示跳过两个参数 shif 阅读全文
posted @ 2023-08-31 13:52 feipeng8848 阅读(18) 评论(0) 推荐(0) 编辑
摘要: 用法: ``` 用法:ld [选项] 文件1 文件2 ... ``` 最常用的两个选项 ``` -l 库名, --library 库名 搜索库“库名” -L 目录, --library-path 目录 将“目录”添加到库搜索路径中 ``` ## ld的搜索路径 ld默认是没有任何搜索路径的,ld解析 阅读全文
posted @ 2023-08-21 20:24 feipeng8848 阅读(16) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 26 下一页