![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux
electronic49
嵌入式,c语言,人工智能
展开
-
Makefile文件编写
Makefile文件编写 转这篇文章的起因: 当有多个包含文件时,按照ZLG开发教程上讲的简单的顺序就无法编译通过了,于是在网上搜到"阿波321"的"编写Makefile",于是,编译通过,由此想到makefile的编译顺序非常重要. 1.一个简单的makefile例子 假设一个程序有两个文件file1.c,file2.c,每个文件都包含head.h,生成fil转载 2017-04-09 19:13:37 · 363 阅读 · 0 评论 -
Linux下如何将命令行显示导出到txt文件
命令 >> 文件 or 命令 |cat >> 文件例如: ls >> a.out原创 2018-09-06 16:24:11 · 5817 阅读 · 0 评论 -
thinker board 系统安装环境配置
在入手think board前,用的是树莓派3B+tinker board国内用的比较少,所以资料也比较少,如果用的话最好用谷歌浏览器进行搜索资料系统安装步骤也同树莓派类同,请参考树莓派。接下来配置环境:OpenCV in python (Face Detection)#Install$ sudo apt-get update$ sudo apt-get upgrade...原创 2018-08-21 15:10:22 · 3326 阅读 · 0 评论 -
tinker board远程链接遇到的问题
在tinker board远程链接时利用树莓派方法:sudo apt-get install xrdpapt-get purge tightvnc xrdpapt-get install tightvncserver xrdp2安装完成后执行命令sudo /etc/init.d/xrdp restart 重启xrdp服务,输入命令netstat -tnl ,检查3350 338...原创 2018-08-27 15:49:32 · 1323 阅读 · 0 评论 -
安装opencv遇到的问题
Opencv Error: unspecified error (the function is not implemented, Rebuild the library with windows, GTK+ 2.x of carbon. if you are a ubuntu or debianm install libgtk2.0-dev and pkg-config, then re-run...原创 2018-08-23 10:05:52 · 395 阅读 · 0 评论 -
python pip
http://www.cnblogs.com/eeexu123/p/9290994.htmlpython的pip管理工具Python有两个著名的包管理工具easy_install.py和pip。在Python2.7的安装包中,easy_install.py是默认安装的,而pip需要我们手动安装。在此进行编译安装pip管理工具,下载地址:https://pypi.org/project/...转载 2018-08-17 11:09:14 · 797 阅读 · 0 评论 -
Error:unable to lock the administration directory(/var/lib/dpkg/), is another process using it?
解决方法:1.找出并杀死所有的apt和apt-get进程:ps -A|grep apt 找出所有的apt进程sudo kill -9 processNumber or sudo kill SIGKILL processNumberprocessNumber 为进程号,ID,2.删除锁定文件锁定的文件会阻止 Linux 系统中某些文件或者数据的访问,这个概念也存...原创 2018-08-22 17:14:52 · 319 阅读 · 0 评论 -
摄像头采集程序linux下
#include #include #include #include #include #include #include #include #include #include #include #include #include #include #define COLS 640#define ROWS 480int fd原创 2017-07-04 12:28:53 · 994 阅读 · 0 评论 -
Linux安装软件时,/etc/profile、/etc/bash.bahsrc、~/.profile、~/.bashrc的用途
感觉很有必要写博客或者笔记之类的,不为别的,学东西太杂了,学着忘着呀! 之前安装Linux的一些软件时,总要修改Linux的配置文件。当时也是一知半解。而且,网上有些安装教程,会说,修改配置文件后要重启Linux。但事实上是不需要重启的。 Linux安装时可能要修改的配置文件:/etc/profile、/etc/bashrc(ubuntu没有这个文件,对应转载 2017-04-14 16:33:07 · 438 阅读 · 0 评论 -
进程
进程:指可并发执行的程序在一个数据集合上的运行过程。特性:并发性,独立性,动态性。状态:执行态,就绪太,阻塞态。在Linux中所有程序都是以进程的形式执行的。Linux系统的进程只能有一个父进程,而一个父进程可以有多个子进程,所有的进程组成一颗书,系统进程init就是这颗树的树根。Linux中创建一个新进程的唯一方法是调用系统调用fork。虽然Linux系统提供原创 2017-04-10 08:45:36 · 381 阅读 · 0 评论 -
树莓派使用4g上网卡上网
树莓派镜像: 树莓派官网提供的系统购买4g上网卡:https://detail.tmall.com/item.htm?spm=a230r.1.14.22.18d833f6Cdrrad&id=45021101720&ns=1&abbucket=3我用的是电脑版 配置wvdial# 更新系统$ apt autoclean$ ap...原创 2019-02-19 10:06:18 · 15251 阅读 · 9 评论