
ubuntu编译
g_grace1
不会低头的向日葵
展开
-
Ubuntu下压缩、解压文件夹命令
.gz解压1:gunzip FileName.gz解压2:gzip -d FileName.gz压缩:gzip FileName.tar.gz解压:tar zxvf FileName.tar.gz解压到指定目录(指定/source/linux-2.6.29): tar zxvf /source/kernel.tgz -C /source/linux-2.6.29压缩:tar zcvf FileName.tar.gz DirName.bz2解压1:bzip2 -d FileName.bz2转载 2021-12-03 15:11:16 · 2876 阅读 · 0 评论 -
opencv_contrib编译:fatal error: opencv2/xfeatures2d/cuda.hpp: No such file or directory
在Ubuntu上编译opencv源码时,遇到下面的错误/home/syl/software/opencv-3.4.2/modules/stitching/include/opencv2/stitching/detail/matchers.hpp:52:42: fatal error: opencv2/xfeatures2d/cuda.hpp: No such file or directory # include "opencv2/xfeatures2d/cuda.hpp"原创 2021-09-03 19:27:25 · 2323 阅读 · 0 评论 -
Ubuntu下查看usb摄像头不同压缩格式支持的分辨率
本文主要介绍了在Ubuntu 下查看usb摄像头参数的常见命令1、安装V4l2工具包sudo apt install v4l-utils2、通过v4l2查看摄像头设备sudo v4l2-ctl --list-devices3、查看当前摄像头支持的分辨率 sudo v4l2-ctl --list-framesizes=MJPG -d /dev/video104、查看当前摄像头支持的视频压缩格式、分辨率sudo v4l2-ctl -d /dev/video10 --list-formats原创 2021-07-06 19:45:49 · 3429 阅读 · 0 评论 -
missing: CURL_LIBRARY CURL_INCLUDE_DIR
在arm开发板上make编译报错如下:CMake Error at cmake/FindPackageHandleStandardArgs.cmake:138 (message): Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR)Call Stack (most recent call first): cmake/FindPackageHandleStandardArgs.cmake:374 (_FPHSA_FAILURE_转载 2021-04-22 11:46:43 · 1303 阅读 · 0 评论 -
rk3399pro-EVB安装RKNN-Toolkit1.6 Tensorflow2.0 Pytorch1.6
本文主要介绍在debian10系统的开发板上进行RKNN-Toolkit环境配置1、更改系统默认的python版本EVB版的debian10系统自带python2.7(默认),python3.7,通过以下命令将py37设置为默认版本:rm /usr/bin/pythonln -s /usr/bin/python3.7 /usr/bin/python可通过python -V查看是否设置成功。2、更新系统包,用于安装 Python 依赖包sudo apt-get updatesudo apt-原创 2021-02-23 14:54:38 · 1370 阅读 · 44 评论 -
源码编译出现undefined reference to `pthread_mutexattr_destroy错误
今天在rk3399pro开发板上编译rockchip的rga库,出现了如下错误:librga.so: undefined reference to pthread_mutexattr_destroy' librga.so: undefined reference topthread_mutexattr_setpshared’librga.so: undefined reference to `pthread_mutexattr_init’collect2: error: ld returned 1原创 2021-01-28 19:43:21 · 3697 阅读 · 5 评论 -
开发板编译报错Package requirements (pygobject-3.0 >= 3.8) were not met: No package ‘pygobject-3.0‘ found
今天在arm开发板源码编译gstreamer时出现错误:checking for PYGOBJECT… configure: error: Package requirements (pygobject-3.0 >= 3.8) were not met:No package ‘pygobject-3.0’ found最后根据https://stackoverflow.com/questions/12861914/no-package-pygobject-3-0-found在执行sudo apt原创 2021-01-28 16:07:50 · 1116 阅读 · 0 评论 -
linux-arm源码编译安装出错cannot find -lGL
在rk3399pro linux上编译安装gstreamer1.16.0时,报错如下:/usr/bin/ld: error: cannot find -lGL使用locate libGL.so 查找:/usr/lib/aarch64-linux-gnu/libGL.so.1/usr/lib/aarch64-linux-gnu/libGL.so.1.0.0发现并没有libGL.so通过查阅资料,可以通过执行sudo ln -sv /usr/lib/aarch64-linux-gnu/libGL.原创 2021-01-28 12:01:29 · 644 阅读 · 1 评论 -
ubuntu/gcc g++ 报错 ld terminated with signal 11 [Segmentation fault], core dumped
ubuntu编译过程中链接异(gcc g++ 无法编译)欢迎使用Markdown编辑器无论gcc还是g++都显示有以下段错误,无法成功链接collect2: fatal error: ld terminated with signal 11 [Segmentation fault], core dumpedcompilation terminated.在stackoverflow中找到一个Q&A解决。特此记录依次执行了以下命令后可以重新正常编译链接。sudo apt purge bin转载 2021-01-28 19:47:00 · 3278 阅读 · 0 评论