
疑难杂症
卷中卷
这个作者很懒,什么都没留下…
展开
-
win10/11安装子系统 ubuntu18.04 wsl 及其 gcc/g++ 安装
win10/11安装子系统 ubuntu18.04 wsl 及其 gcc/g++ 安装原创 2022-01-19 10:05:57 · 2317 阅读 · 0 评论 -
win10/11 子linux系统ubuntu18.04 exec format error 问题解决
原生Linux 文件头 支持原创 2022-01-19 12:01:58 · 2689 阅读 · 0 评论 -
gcc 源码编译安装
ubuntu 18 增加 GCC 新版本, gcc 源码编译安装 .总的来说只需三步,不需要自己去下载 GMP MPFR MPC 之类的包1,源码下载,解压 https://mirrors.tuna.tsinghua.edu.cn/gnu//gcc/2, cd gcc-11.2.03,./contrib/download_prerequisites (下载对应依赖包)4,sudo ./configure --prefix=/home/gcc11/ --enable-checking=rele原创 2022-01-11 10:37:15 · 3958 阅读 · 1 评论 -
python pytorch 程序运行正常产生结果, 但最后 输出 多了 段错误 Segmentation fault, 用 gdb 调试.
gdb 调试 python pytorch 段错误 Segmentation fault原创 2021-12-15 15:54:36 · 524 阅读 · 0 评论 -
opencv4.5.3 源码编译 opencv_sfm 错误解决
opencv4.5.3 源码编译 opencv_sfm 错误解决make时出现的错误:Consolidate compiler generated dependencies of target opencv_sfmmake[2]: *** No rule to make target ‘/usr/lib/x86_64-linux-gnu/libspqr.so’, needed by ‘lib/libopencv_sfm.so.4.5.3’. Stop.CMakeFiles/Makefile2:1原创 2021-12-06 18:49:57 · 2027 阅读 · 0 评论 -
ubuntu 18 OpenCV 4.5.3 cuda 源码编译
目录├── opencv453│ ├── build│ ├── build.sh│ ├── opencv-4.5.3│ └── opencv_contrib-4.5.3编译命令创建 build.sh 文件pwdcmake -D CMAKE_BUILD_TYPE=RELEASE \ -D CMAKE_INSTALL_PREFIX=/home/opencv453 \ -D OPENCV_EXTRA_MODULES_PATH=/home/opencv453/op原创 2021-12-06 18:26:10 · 2640 阅读 · 0 评论 -
ubuntu本机 使用 sshfs 临时挂载 远程服务器 硬盘 与 卸载
1. 先安装 sshfssudo apt install sshfs2. 挂载更改文件/etc/fuse.conf,将#user_allow_other 的#删除, 主要避免挂载后文件权限问题sshfs -o allow_other username@IP:/home/远程目录 ./本机挂载点目录3. 卸载umount ./本机挂载点目录...原创 2021-11-09 10:01:19 · 1309 阅读 · 0 评论 -
安装pycuda及问题解决
1, 安装 pycudaa, pip3 install pycuda==版本b, 根据这个 链接 https://www.lfd.uci.edu/~gohlke/pythonlibs/#pycuda,主要根据你的python 版本确定,没有对应好pycuda 和 python, 会出现各种问题.2, 安装 pycuda 常见出现问题a, …, which is required to install pyproject.toml-based projectsb, 找不到 cuda.hc, 本原创 2021-10-26 10:44:29 · 19063 阅读 · 12 评论